Spdk/lib/scsi
Jim Harris 07ec3d4789 scsi: don't zero entire vpd_ext_inquiry structure
This case was zeroing the entire structure - overwriting
the peripheral and page_code data already set.  Don't
bother zeroing the alloc_len either - we'll set that
later in this case statement.

Fixes issue #750.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I8b7c6f954b5e3c85ddfaf801d64dd4a501f50cd2

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450922
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-04-18 16:09:57 +00:00
..
dev.c scsi: Remove the prefix spdk_ from names of private functions 2019-04-01 00:52:56 +00:00
lun.c scsi: Remove the prefix spdk_ from names of private functions 2019-04-01 00:52:56 +00:00
Makefile scsi: remove lun_db 2018-01-09 13:56:00 -05:00
port.c scsi: add iSCSI initiator port TransportID 2018-12-05 16:04:06 +00:00
scsi_bdev.c scsi: don't zero entire vpd_ext_inquiry structure 2019-04-18 16:09:57 +00:00
scsi_internal.h scsi: Add an API to return DIF context of bdev and CDB 2019-03-08 01:21:26 +00:00
scsi_rpc.c scsi: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
scsi.c scsi: Add helper functions to convert LUN ID between structure and integer 2019-04-04 04:40:28 +00:00
task.c scsi: Remove the prefix spdk_ from names of private functions 2019-04-01 00:52:56 +00:00