diff options
author | Hannes Reinecke <hare@suse.de> | 2014-03-15 09:51:48 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-27 08:23:12 -0700 |
commit | bc8945df3c27e8edaa6a6de47cb20df7d12b80c8 (patch) | |
tree | dddd0617c03ee44eb98a8823d25820308e7aea5d /include/scsi/scsi_device.h | |
parent | 276b20d09be7a1c260f0a94880d33e0850efe200 (diff) |
[SCSI] Return VPD page length in scsi_vpd_inquiry()
We should be returning the number of bytes of the
requested VPD page in scsi_vpd_inquiry.
This makes it easier for the caller to verify the
required space.
[jejb: fix up mm warning spotted by Sergey]
Tested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/scsi_device.h')
0 files changed, 0 insertions, 0 deletions