From: Hannes Reinecke Date: Sat, 15 Mar 2014 08:51:48 +0000 (+0100) Subject: [SCSI] Return VPD page length in scsi_vpd_inquiry() X-Git-Tag: v3.15-rc1~136^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc8945df3c27e8edaa6a6de47cb20df7d12b80c8;p=pandora-kernel.git [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 Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley --- Reading git-diff-tree failed