+16
−0
Loading
Our SCSI translation layer only fills 4 version descriptors meaning the last 30 bytes of the 96 byte standard inquiry data format are not used. Some compliance tests expect the full 96 bytes to be returned, even if they are unused. So zero the remaining bytes (up to 96) if those bytes were allocated. This fixes a regression introduced by recent commit d3b58c00. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Id61614b904b5dff39f034b7ba4da624be1b25bae