All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: richard -rw- weinberger <richard.weinberger@gmail.com>
Cc: Joe Perches <joe@perches.com>, Jesper Juhl <jj@chaosbits.net>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	"James E.J. Bottomley" <JBottomley@parallels.com>,
	Anil Ravindranath <anil_ravindranath@pmc-sierra.com>
Subject: Re: [PATCH] SCSI, pmcraid: Fix kmalloc() argument order in pmcraid_chr_ioctl()
Date: Mon, 24 Oct 2011 18:54:59 -0400	[thread overview]
Message-ID: <20111024225459.GB25654@redhat.com> (raw)
In-Reply-To: <CAFLxGvyh-u0Bg5_R4upMa=bM4H__i=dbvtLihFY+M+OEKdJL9w@mail.gmail.com>

On Tue, Oct 25, 2011 at 12:50:08AM +0200, richard -rw- weinberger wrote:
 
 > BTW: What about a checkpatch.pl rule to detect such a misuse of kmalloc()?
 > We could grep for "k[mzc]alloc(GFP_".

Make sure to ignore bio_kmalloc (which has reverse argument order to kmalloc, ugh)

	Dave

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

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24 22:38 [PATCH] SCSI, pmcraid: Fix kmalloc() argument order in pmcraid_chr_ioctl() Jesper Juhl
2011-10-24 22:42 ` Joe Perches
2011-10-24 22:50   ` richard -rw- weinberger
2011-10-24 22:54     ` Dave Jones [this message]
2011-10-24 23:03       ` richard -rw- weinberger
2011-10-24 23:03         ` richard -rw- weinberger
2011-10-24 23:13         ` Jesper Juhl
2011-10-24 23:06       ` Jesper Juhl
2011-10-24 22:57     ` Jesper Juhl
2011-10-24 23:07       ` Joe Perches
2011-10-24 22:51   ` Jesper Juhl
2011-10-24 23:17     ` Joe Perches
2011-10-24 23:18   ` Dave Jones
2011-10-24 23:24     ` richard -rw- weinberger
2011-10-24 23:24       ` richard -rw- weinberger
2011-10-25  1:10       ` Joe Perches

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=20111024225459.GB25654@redhat.com \
    --to=davej@redhat.com \
    --cc=JBottomley@parallels.com \
    --cc=anil_ravindranath@pmc-sierra.com \
    --cc=jj@chaosbits.net \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=richard.weinberger@gmail.com \
    /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.