commit | bc8945df3c27e8edaa6a6de47cb20df7d12b80c8 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Sat Mar 15 09:51:48 2014 +0100 |
committer | James Bottomley <JBottomley@Parallels.com> | Thu Mar 27 08:23:12 2014 -0700 |
tree | dddd0617c03ee44eb98a8823d25820308e7aea5d | |
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>