1
0
Fork 0
alistair23-linux/scripts/coccinelle/misc
Valentin Rothberg 2c2b913d19 irqf_oneshot.cocci: add check of devm_request_threaded_irq()
Since commit 1c6c69525b ("genirq: Reject
bogus threaded irq requests") threaded IRQs without a primary handler
need to be requested with IRQF_ONESHOT, otherwise the request will fail.

Until now, this coccinelle script only checked request_threaded_irq().
However, the counterpart devm function (see kernel/irq/devres.c) is also
affected by the missing flag which can be detected with this patch.

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2015-03-25 11:58:10 +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 bugon.cocci: fix Options at the macro 2014-11-24 22:04:27 +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: 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 irqf_oneshot.cocci: add check of devm_request_threaded_irq() 2015-03-25 11:58:10 +01: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
simple_return.cocci coccinelle: misc: semantic patch to delete overly complex return code processing 2014-09-26 13:42:31 +02:00
warn.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00