e4655196e2
Most of the people prefer: return ret < 0 ? ret: 0; than: return min(ret, 0); Let's tweak the cocci file to ignore those lines completely. Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> |
||
---|---|---|
.. | ||
add_namespace.cocci | ||
array_size_dup.cocci | ||
array_size.cocci | ||
badty.cocci | ||
boolconv.cocci | ||
cond_no_effect.cocci | ||
cstptr.cocci | ||
do_div.cocci | ||
doubleinit.cocci | ||
excluded_middle.cocci | ||
flexible_array.cocci | ||
ifcol.cocci | ||
irqf_oneshot.cocci | ||
minmax.cocci | ||
newline_in_nl_msg.cocci | ||
noderef.cocci | ||
of_table.cocci | ||
orplus.cocci | ||
returnvar.cocci | ||
semicolon.cocci | ||
struct_size.cocci | ||
swap.cocci | ||
test_addr.cocci | ||
uninitialized_var.cocci | ||
warn.cocci |