[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111108193537.GB4682@mwanda>
Date: Tue, 8 Nov 2011 22:35:37 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Thomas Meyer <thomas@...3r.de>
Cc: Greg Kroah-Hartman <gregkh@...e.de>,
Larry Finger <Larry.Finger@...inger.net>,
wlanfae <wlanfae@...ltek.com>, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: rtl8192e: Use kzalloc rather than kmalloc
On Tue, Nov 08, 2011 at 08:05:53PM +0100, Thomas Meyer wrote:
> From: Thomas Meyer <thomas@...3r.de>
>
> Use kzalloc rather than kmalloc followed by memset with 0
>
> This considers some simple cases that are common and easy to validate
> Note in particular that there are no ...s in the rule, so all of the
> matched code has to be contiguous
>
> The semantic patch that makes this change is available
> in scripts/coccinelle/api/alloc/kzalloc-simple.cocci.
>
> More information about semantic patching is available at
> http://coccinelle.lip6.fr/
>
> Signed-off-by: Thomas Meyer <thomas@...3r.de>
All the patches with the subject "[PATCH] staging: rtl8192e: Use
kzalloc rather than kmalloc" should be combined into a single patch.
Don't do the funny thing where the changelog is indented one space.
regards,
dan carpenter
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists