diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-07 04:41:44 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-07 04:41:44 +0300 |
commit | f716d8303345698728d9f8ce76a82a795a5be275 (patch) | |
tree | 20004f3dc2f11b83b5debe3a784d3f105c6e4daa /COPYING | |
parent | 8ba7b0a14b2ec19583bedbcdbea7f1c5008fc922 (diff) | |
download | linux-f716d8303345698728d9f8ce76a82a795a5be275.tar.xz |
Allocate 96 bytes for SCSI sense data reply
The SCSI layer uses SCSI_SENSE_BUFFERSIZE (96) for the sense buffer
size, even though some other code uses "sizeof(struct request_sense)"
(which is 64 bytes). Allocate the buffer using the bigger of the two
for safety.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions