lkml.org 
[lkml]   [2011]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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



\
 
 \ /
  Last update: 2011-10-25 00:53    [W:1.296 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site