Re: [RFC v3] coccinelle: add style check for assignment in if

2015-08-22 Thread Julia Lawall
Acked-by: Julia Lawall However, I think it would be better to remove the "BAD" rulle at the end. julia On Thu, 20 Aug 2015, Kris Borer wrote: > Add a semantic patch for fixing some cases of checkpatch.pl error: > > ERROR: do not use assignment in if condition > > Signed-off-by: Kris Borer >

[RFC v3] coccinelle: add style check for assignment in if

2015-08-20 Thread Kris Borer
Add a semantic patch for fixing some cases of checkpatch.pl error: ERROR: do not use assignment in if condition Signed-off-by: Kris Borer --- Differences from Julia's version: - removed some disjuction variations that led to improper transformations - fixed header format - added and updated c