[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>
Showing
Please register or sign in to comment