mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
[PATCH] aacraid: swapped kmalloc args.
Signed-off-by: Dave Jones <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
committed by
Linus Torvalds
parent
d53d9f16ea
commit
4645df1035
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user