summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-03-15 09:51:48 +0100
committerJames Bottomley <JBottomley@Parallels.com>2014-03-27 08:23:12 -0700
commitbc8945df3c27e8edaa6a6de47cb20df7d12b80c8 (patch)
treedddd0617c03ee44eb98a8823d25820308e7aea5d /include/scsi
parent276b20d09be7a1c260f0a94880d33e0850efe200 (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')
0 files changed, 0 insertions, 0 deletions