diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2010-09-10 01:20:27 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-09-16 11:48:48 -0400 |
commit | 16d3ea26f82271fef9b1c4523b5e1ea31fa39eec (patch) | |
tree | eeb4e01e9d46adc8f83208d1162cc8f4ab327128 /block/bsg.c | |
parent | 9c03f1622af051004416dd3e24d8a0fa31e34178 (diff) | |
download | lwn-16d3ea26f82271fef9b1c4523b5e1ea31fa39eec.tar.gz lwn-16d3ea26f82271fef9b1c4523b5e1ea31fa39eec.zip |
[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