Re: [PATCH] staging: rtl8192e: Use kzalloc rather than kmalloc

From: Dan Carpenter
Date: Tue Nov 08 2011 - 14:35:18 EST


On Tue, Nov 08, 2011 at 08:05:53PM +0100, Thomas Meyer wrote:
> From: Thomas Meyer <thomas@xxxxxxxx>
>
> 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@xxxxxxxx>

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

Attachment: signature.asc
Description: Digital signature