Re: [Cocci] [PATCH] coccinelle: tests: improve odd_ptr_err.cocci

2015-10-26 Thread Michal Marek
Dne 30.8.2015 v 22:18 Julia Lawall napsal(a): > The original version only considered the case where the then branch > contains only one call to PTR_ERR. Reimplement the whole thing to allow > multiple calls, with potentially different arguments. > > Signed-off-by: Julia Lawall Applied to kbuild

[Cocci] [PATCH] coccinelle: tests: improve odd_ptr_err.cocci

2015-08-30 Thread Julia Lawall
The original version only considered the case where the then branch contains only one call to PTR_ERR. Reimplement the whole thing to allow multiple calls, with potentially different arguments. Signed-off-by: Julia Lawall --- scripts/coccinelle/tests/odd_ptr_err.cocci | 120 ++