Re: [PATCH V2] scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment

2013-02-22 Thread Michal Marek
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

Re: [PATCH V2] scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment

2013-02-22 Thread Michal Marek
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

[PATCH V2] scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment

2013-01-23 Thread Peter Senna Tschudin
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 Signed-off-by: Peter Senna Tschudin --- Changes

[PATCH V2] scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment

2013-01-23 Thread Peter Senna Tschudin
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 elezegar...@gmail.com Signed-off-by: Peter Senna