Re: [PATCH V2] scripts/coccinelle/misc/memcpy-assign.cocci:Replace memcpy with struct assignment
From: Michal Marek
Date: Fri Feb 22 2013 - 05:25:15 EST
On Wed, Jan 23, 2013 at 08:06:30PM -0200, Peter Senna Tschudin wrote:
> There are error-prone memcpy() that can be replaced by struct
> assignment that are type-safe and much easier to read. This semantic
> patch looks for memcpy() that can be replaced by struct assignment.
>
> Inspired by patches sent by Ezequiel Garcia <elezegarcia@xxxxxxxxx>
>
> Signed-off-by: Peter Senna Tschudin <peter.senna@xxxxxxxxx>
> ---
> Changes from V1:
> Updated commit message
> Changed Confidence comment to High on the semantic patch
Applied to kbuild.git#misc, thanks.
Michal
--
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/