mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
aeb300c1db
There is a standard idiom for "if 'ret' holds an error, return it": return ret < 0 ? ret : 0; Developers prefer to keep the things as they are because stylistic change to "return min(ret, 0);" breaks readability. Let's suppress automatic generation for this type of patches. Signed-off-by: Denis Efremov <efremov@linux.com> |
||
---|---|---|
.. | ||
add_namespace.cocci | ||
array_size.cocci | ||
array_size_dup.cocci | ||
badty.cocci | ||
boolconv.cocci | ||
boolreturn.cocci | ||
bugon.cocci | ||
cond_no_effect.cocci | ||
cstptr.cocci | ||
doubleinit.cocci | ||
excluded_middle.cocci | ||
flexible_array.cocci | ||
ifaddr.cocci | ||
ifcol.cocci | ||
irqf_oneshot.cocci | ||
minmax.cocci | ||
newline_in_nl_msg.cocci | ||
noderef.cocci | ||
of_table.cocci | ||
orplus.cocci | ||
returnvar.cocci | ||
semicolon.cocci | ||
swap.cocci | ||
uninitialized_var.cocci | ||
warn.cocci |