Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-29 Thread Michal Marek
Dne 19.3.2014 17:48, Greg Kroah-Hartman napsal(a): On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: > The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look > for opportunities to replace a call to memcpy by a struct assignment. > This patch removes

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-29 Thread Michal Marek
Dne 19.3.2014 17:48, Greg Kroah-Hartman napsal(a): On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look for opportunities to replace a call to memcpy by a struct assignment. This patch removes memcpy-assign.cocci

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-19 Thread Greg Kroah-Hartman
On Wed, Mar 19, 2014 at 03:05:27PM +0100, Bernd Petrovitsch wrote: > Hi! > > On Mit, 2014-03-19 at 14:39 +0100, Peter Senna Tschudin wrote: > > On Wed, Mar 19, 2014 at 1:02 PM, Bernd Petrovitsch > > wrote: > > > On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: > > >> The Coccinelle

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-19 Thread Bernd Petrovitsch
Hi! On Mit, 2014-03-19 at 14:39 +0100, Peter Senna Tschudin wrote: > On Wed, Mar 19, 2014 at 1:02 PM, Bernd Petrovitsch > wrote: > > On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: > >> The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look > >> for opportunities

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-19 Thread Peter Senna Tschudin
On Wed, Mar 19, 2014 at 1:02 PM, Bernd Petrovitsch wrote: > On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: >> The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look >> for opportunities to replace a call to memcpy by a struct assignment. >> This patch removes

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-19 Thread Bernd Petrovitsch
On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: > The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look > for opportunities to replace a call to memcpy by a struct assignment. > This patch removes memcpy-assign.cocci as it is not clear that this > convention has an

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-19 Thread Bernd Petrovitsch
On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look for opportunities to replace a call to memcpy by a struct assignment. This patch removes memcpy-assign.cocci as it is not clear that this convention has an

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-19 Thread Peter Senna Tschudin
On Wed, Mar 19, 2014 at 1:02 PM, Bernd Petrovitsch be...@petrovitsch.priv.at wrote: On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look for opportunities to replace a call to memcpy by a struct assignment. This

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-19 Thread Bernd Petrovitsch
Hi! On Mit, 2014-03-19 at 14:39 +0100, Peter Senna Tschudin wrote: On Wed, Mar 19, 2014 at 1:02 PM, Bernd Petrovitsch be...@petrovitsch.priv.at wrote: On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look for

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-19 Thread Greg Kroah-Hartman
On Wed, Mar 19, 2014 at 03:05:27PM +0100, Bernd Petrovitsch wrote: Hi! On Mit, 2014-03-19 at 14:39 +0100, Peter Senna Tschudin wrote: On Wed, Mar 19, 2014 at 1:02 PM, Bernd Petrovitsch be...@petrovitsch.priv.at wrote: On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: The

[PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-18 Thread Peter Senna Tschudin
The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look for opportunities to replace a call to memcpy by a struct assignment. This patch removes memcpy-assign.cocci as it is not clear that this convention has an impact on the generated code. Signed-off-by: Peter Senna Tschudin ---

[PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-18 Thread Peter Senna Tschudin
The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look for opportunities to replace a call to memcpy by a struct assignment. This patch removes memcpy-assign.cocci as it is not clear that this convention has an impact on the generated code. Signed-off-by: Peter Senna Tschudin