coccinelle: semantic patch to check for PTR_ERR after reassignment
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 2 Feb 2012 14:53:08 +0000 (15:53 +0100)
committerMichal Marek <mmarek@suse.cz>
Fri, 24 Feb 2012 23:07:11 +0000 (00:07 +0100)
commit4a05f067528610cfd41eb158225db697ae726d51
treef4b8f0a337853c03236dfa6136da29a9b663bc7f
parent47f67ea90259c440fb796883bcd5bdd7c1e6a3b7
coccinelle: semantic patch to check for PTR_ERR after reassignment

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccinelle/misc/cstptr.cocci [new file with mode: 0644]