Re: [PATCH] SCSI, pmcraid: Fix kmalloc() argument order inpmcraid_chr_ioctl()
From: Dave Jones
Date: Mon Oct 24 2011 - 18:55:21 EST
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)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/