diff options
-rw-r--r-- | drivers/scsi/aacraid/commctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c index 1fef92d55dee..390cd67c57c0 100644 --- a/drivers/scsi/aacraid/commctrl.c +++ b/drivers/scsi/aacraid/commctrl.c | |||
@@ -469,7 +469,7 @@ static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg) | |||
469 | goto cleanup; | 469 | goto cleanup; |
470 | } | 470 | } |
471 | 471 | ||
472 | user_srbcmd = kmalloc(GFP_KERNEL, fibsize); | 472 | user_srbcmd = kmalloc(fibsize, GFP_KERNEL); |
473 | if (!user_srbcmd) { | 473 | if (!user_srbcmd) { |
474 | dprintk((KERN_DEBUG"aacraid: Could not make a copy of the srb\n")); | 474 | dprintk((KERN_DEBUG"aacraid: Could not make a copy of the srb\n")); |
475 | rcode = -ENOMEM; | 475 | rcode = -ENOMEM; |