coccinelle: tests: improve odd_ptr_err.cocci
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 30 Aug 2015 20:18:14 +0000 (22:18 +0200)
committerMichal Marek <mmarek@suse.cz>
Mon, 26 Oct 2015 19:54:28 +0000 (20:54 +0100)
commit02da7b42777c159c6897e233e6c53d5581c07dab
tree98b1f5efbc65442f5c517cb022e5abd9f2478cdb
parent74a8478f9ea2b3e70640a64db8acd54d4225a2c4
coccinelle: tests: improve odd_ptr_err.cocci

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 <Julia.Lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccinelle/tests/odd_ptr_err.cocci
This page took 0.033506 seconds and 5 git commands to generate.