Re: Fix kmalloc argument order in um/vdso/vma.c

From: Dave Jones
Date: Mon Oct 24 2011 - 18:51:20 EST

On Tue, Oct 25, 2011 at 12:23:47AM +0200, Richard Weinberger wrote:
> Am 25.10.2011 00:15, schrieb Dave Jones:
> > kmalloc size is 1st arg, not second.
> >
> > Signed-off-by: Dave Jones <davej@xxxxxxxxxx>
> Applied, Thanks!
> I'm a bit shocked that this obviously wrong code builds and seems to work.

Both args are the same types, so gcc didn't know any better.

> How have you found this?

grep -r kmalloc\(GFP *


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at