]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] aacraid: swapped kmalloc args.
authorDave Jones <davej@redhat.com>
Tue, 12 Jul 2005 20:58:08 +0000 (13:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 12 Jul 2005 23:00:58 +0000 (16:00 -0700)
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/aacraid/commctrl.c

index 1fef92d55dee1097888c4b2b6f52eacc1611d210..390cd67c57c03fdbbc5bfe77177bbe6d85a8d1ff 100644 (file)
@@ -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;