Feature #3368
open
073: Function free_irq should be called only once
Added by Evgeny Novikov about 12 years ago.
Updated over 11 years ago.
Description
(copied almost as is from kernel-rules/rules/DRVRULES_en.trl)
Description¶
The kernel provides a function `void free_irq(unsigned int irq, void *dev_id)` with parameters:
- irq: Interrupt line to free
- dev_id: Device identity to free
The function `free_irq` should be called only once for each interrupt line and device identity.
Links¶
Bugfix example
Commit d7e01fd of the master branch has excluded driver kbdrivers--0073a-2.6.31.6--test-0073a-2.6.31.6-verdict-unsafe-drivers--uwb--whc-rc.c.tar.bz2 from the general (and thus medium) regression test set. This was done since it had led to unknown (time limit) instead of unsafe after recent changes:
-driver=kbdrivers--0073a-2.6.31.6--test-0073a-2.6.31.6-verdict-unsafe-drivers--uwb--whc-rc.c.tar.bz2;origin=external;kernel=linux-2.6.31.6;model=73_1a;module=drivers/kbdrivers/0073a-2.6.31.6/test-0073a-2.6.31.6-verdict-unsafe-drivers--uwb--whc-rc.c/whc-rc.ko;main=ldv_main0_sequence_infinite_withcheck_stateful;verdict=unsafe
+driver=kbdrivers--0073a-2.6.31.6--test-0073a-2.6.31.6-verdict-unsafe-drivers--uwb--whc-rc.c.tar.bz2;origin=external;kernel=linux-2.6.31.6;model=73_1a;module=drivers/kbdrivers/0073a-2.6.31.6/test-0073a-2.6.31.6-verdict-unsafe-drivers--uwb--whc-rc.c/whc-rc.ko;main=ldv_main0_sequence_infinite_withcheck_stateful;verdict=unknown;RCV_status=fail;problems=Time_limit
Someone who will deal with the given model should investigate the problem.
- Subject changed from 73: Function free_irq should be called only once to 073: Function free_irq should be called only once
Also available in: Atom
PDF