[lkml]   [2011]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] SCSI, pmcraid: Fix kmalloc() argument order in pmcraid_chr_ioctl()
On Tue, Oct 25, 2011 at 12:50:08AM +0200, richard -rw- weinberger wrote:

> BTW: What about a 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)


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