Messages in this thread | | | Date | Mon, 24 Oct 2011 18:51:08 -0400 | From | Dave Jones <> | Subject | Re: Fix kmalloc argument order in um/vdso/vma.c |
| |
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@redhat.com> > > 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 *
Dave
| |