scripts/coccinelle: ptr_ret: Add ternary operator version
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 21 Aug 2012 08:49:58 +0000 (10:49 +0200)
committerMichal Marek <mmarek@suse.cz>
Fri, 31 Aug 2012 14:55:15 +0000 (16:55 +0200)
commit3085897359d80e73da2b4ea32ade7a9095594422
treec4341eae2f9af55c41e31a0debd22f7cbe5c8ef9
parent8700d3cd7b92267ebc00b011433389489243fde0
scripts/coccinelle: ptr_ret: Add ternary operator version

Add a ternary operator version of the open-coded PTR_RET().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccinelle/api/ptr_ret.cocci