diff options
| author | Martin K. Petersen <[email protected]> | 2010-09-10 05:20:27 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2010-09-16 15:48:48 +0000 |
| commit | 16d3ea26f82271fef9b1c4523b5e1ea31fa39eec (patch) | |
| tree | eeb4e01e9d46adc8f83208d1162cc8f4ab327128 /lib/dynamic_debug.c | |
| parent | Merge ssh://master.kernel.org/home/hpa/tree/sec (diff) | |
| download | kernel-16d3ea26f82271fef9b1c4523b5e1ea31fa39eec.tar.gz kernel-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 <[email protected]>
Cc: Stable Tree <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
