Re: [PATCH] CDC NCM: Use kzalloc rather than kmalloc followed bymemset with 0

From: David Miller
Date: Tue Nov 22 2011 - 15:59:20 EST


From: Thomas Meyer <thomas@xxxxxxxx>
Date: Thu, 17 Nov 2011 23:43:40 +0100

> 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.
>
> Signed-off-by: Thomas Meyer <thomas@xxxxxxxx>

Applied.
--
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/