summaryrefslogtreecommitdiff
path: root/block/bsg.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2010-09-10 09:20:27 +0400
committerJames Bottomley <James.Bottomley@suse.de>2010-09-16 19:48:48 +0400
commit16d3ea26f82271fef9b1c4523b5e1ea31fa39eec (patch)
treeeeb4e01e9d46adc8f83208d1162cc8f4ab327128 /block/bsg.c
parent9c03f1622af051004416dd3e24d8a0fa31e34178 (diff)
downloadlinux-16d3ea26f82271fef9b1c4523b5e1ea31fa39eec.tar.xz
[SCSI] Fix VPD inquiry page wrapper
Fix two bugs in the VPD page wrapper: - Don't return failure if the user asked for page 0 - The end of buffer check failed to account for the page header size and consequently didn't work Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Cc: Stable Tree <stable@kernel.org> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions