diff options
author | Steve French <sfrench@us.ibm.com> | 2006-03-07 21:47:30 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-03-07 21:47:30 +0000 |
commit | f6e77c94796edad172602234826a022d463d910e (patch) | |
tree | f5cb0848c9e848499b0f0676fafe7ff207538ae8 /drivers/scsi/sr_ioctl.c | |
parent | beb84dc8186662b17d5ea510fabb85cb7e266d33 (diff) | |
parent | d0b004840bd3b5ff2f2a0ad14fa0bd43349f5175 (diff) |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'drivers/scsi/sr_ioctl.c')
-rw-r--r-- | drivers/scsi/sr_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sr_ioctl.c b/drivers/scsi/sr_ioctl.c index 5d02ff4db6c..b65462f7648 100644 --- a/drivers/scsi/sr_ioctl.c +++ b/drivers/scsi/sr_ioctl.c @@ -192,7 +192,7 @@ int sr_do_ioctl(Scsi_CD *cd, struct packet_command *cgc) SDev = cd->device; if (!sense) { - sense = kmalloc(sizeof(*sense), GFP_KERNEL); + sense = kmalloc(SCSI_SENSE_BUFFERSIZE, GFP_KERNEL); if (!sense) { err = -ENOMEM; goto out; |