linux/scripts/coccinelle/misc
Denis Efremov aeb300c1db coccinelle: misc: minmax: suppress patch generation for err returns
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>
2021-05-01 21:27:10 +02:00
..
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 coccinelle: misc: add excluded_middle.cocci script 2020-09-21 19:45:46 +02:00
flexible_array.cocci coccinelle: misc: restrict patch mode in flexible_array.cocci 2021-05-01 21:23:56 +02:00
ifaddr.cocci
ifcol.cocci
irqf_oneshot.cocci coccinelle: irqf_oneshot: reduce the severity due to false positives 2021-05-01 21:23:57 +02:00
minmax.cocci coccinelle: misc: minmax: suppress patch generation for err returns 2021-05-01 21:27:10 +02:00
newline_in_nl_msg.cocci
noderef.cocci
of_table.cocci
orplus.cocci
returnvar.cocci
semicolon.cocci
swap.cocci coccinelle: misc: add swap script 2021-05-01 21:23:56 +02:00
uninitialized_var.cocci coccinelle: misc: update uninitialized_var.cocci documentation 2021-05-01 21:23:56 +02:00
warn.cocci