projects/linux·commit 4645df10

[PATCH] aacraid: swapped kmalloc args.

4645df10 · Dave Jones <[email protected]> · 2005-07-12 13:58:08 -07:00

Signed-off-by: Dave Jones <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
4645df1035b34be2d431d6a10b08e1c06bcd3361
Parents
d53d9f16

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/scsi/aacraid/commctrl.cmodified+1−1View file

drivers/scsi/aacraid/commctrl.c

View file
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c
index 1fef92d..390cd67 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)
goto cleanup;
}
- user_srbcmd = kmalloc(GFP_KERNEL, fibsize);
+ user_srbcmd = kmalloc(fibsize, GFP_KERNEL);
if (!user_srbcmd) {
dprintk((KERN_DEBUG"aacraid: Could not make a copy of the srb\n"));
rcode = -ENOMEM;