linux/scripts/coccinelle/misc
Himangi Saraogi 5be1df668a Coccinelle: Script to replace if and BUG with BUG_ON
This script detects cases where BUG() follows an if condition on an
expression and replaces the if condition and BUG() with a BUG_ON having
the conditional expression of the if statement as argument.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2014-08-06 12:10:17 +02: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 Coccinelle: Script to replace if and BUG with BUG_ON 2014-08-06 12:10:17 +02: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: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
ifcol.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
irqf_oneshot.cocci scripts/coccinelle: Find threaded IRQs requests which are missing IRQF_ONESHOT 2012-07-13 15:57:31 +02: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 coccicheck: Add unneeded return variable test 2014-06-10 14:36:30 +02:00
semicolon.cocci scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test 2013-01-24 12:10:38 +01:00
warn.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00