All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Richard Weinberger <richard@nod.at>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Fix kmalloc argument order in um/vdso/vma.c
Date: Mon, 24 Oct 2011 18:51:08 -0400	[thread overview]
Message-ID: <20111024225108.GA25654@redhat.com> (raw)
In-Reply-To: <4EA5E573.3080006@nod.at>

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


      reply	other threads:[~2011-10-24 22:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24 22:15 Fix kmalloc argument order in um/vdso/vma.c Dave Jones
2011-10-24 22:23 ` Richard Weinberger
2011-10-24 22:51   ` Dave Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111024225108.GA25654@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard@nod.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.