diff options
author | Dave Jones <davej@redhat.com> | 2005-07-12 13:58:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 16:00:58 -0700 |
commit | 4645df1035b34be2d431d6a10b08e1c06bcd3361 (patch) | |
tree | 70a52d86fafadc2d0436e4a969a2b9ee997b874a /drivers/scsi/aacraid | |
parent | d53d9f16ea95a91ad4aa114809dcde486ca4000d (diff) | |
download | op-kernel-dev-4645df1035b34be2d431d6a10b08e1c06bcd3361.zip op-kernel-dev-4645df1035b34be2d431d6a10b08e1c06bcd3361.tar.gz |
[PATCH] aacraid: swapped kmalloc args.
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/aacraid')
-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 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; |