linux-hardened/scripts/coccinelle/misc
Johan Hovold 1a617a8475 coccinelle: misc: remove "complex return code" warnings
This effectively reverts 932058a5d5 ("coccinelle: misc: semantic patch
to delete overly complex return code processing").

There can be both symmetry and readability reasons for not wanting to do
the final function call as part of the return statement and to maintain
a clear separation of success and error paths.

Since this is in no way mandated by the coding standard, let's just
remove this semantic patch to avoid having "clean up" patches being
posted over and over in response to these Coccinelle warnings.

Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2015-10-26 22:10:01 +01:00
..
array_size.cocci Coccinelle: Script to use ARRAY_SIZE instead of division of two sizeofs 2014-08-06 12:10:17 +02:00
badty.cocci Coccinelle: Script to detect incorrect argument to sizeof 2014-08-06 12:10:17 +02:00
boolinit.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
boolreturn.cocci coccinelle: replace 0/1 with false/true in functions returning bool 2013-08-13 22:43:41 +02:00
bugon.cocci scripts/coccinelle/misc/bugon.cocci: update bug_on conversion warning 2015-04-15 14:21:31 +02:00
compare_const_fl.cocci coccinelle: misc: move constants to the right 2015-10-26 20:39:44 +01:00
cstptr.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
doubleinit.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
ifaddr.cocci coccinelle: ifaddr: Fix the sentence 2015-05-20 14:01:41 +08:00
ifcol.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
irqf_oneshot.cocci coccinelle: irqf_oneshot.cocci: Improve the generated commit log 2015-05-25 16:23:07 +08:00
noderef.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
of_table.cocci coccinelle: Check for missing NULL terminators in of_device_id tables 2014-06-09 23:39:16 +02:00
orplus.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
returnvar.cocci coccinelle: returnvar: Use imperative mood 2015-05-20 14:01:41 +08:00
semicolon.cocci scripts/coccinelle/misc/semicolon.cocci: Use imperative mood 2015-05-21 14:14:41 +08:00
warn.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00