Tag: c70c036f04b7b74282477d6a51bbcc8bb8897e03

drivers/char/amiserial.c: add missing local_irq_restore

Author: Julia Lawall <julia@diku.dk> rs_init() is failing to restore interrupts on two error paths, and is incorrectly calling tty_unregister_driver() with local interrupts disabled. Fix these things by disabling interrupts later, after the reauest_irq() calls. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ expression E1; identifier …

Continue reading