Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4645df10 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds
Browse files

[PATCH] aacraid: swapped kmalloc args.



Signed-off-by: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d53d9f16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;