Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-gpio@vger.kernel.org — …
Category: Linux
Jun 21 2015
gpio/timberdale: Consolidate chained IRQ handler install/remove
Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-gpio@vger.kernel.org — …
Jun 21 2015
gpio/mvebu: Consolidate chained IRQ handler install/remove
Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-gpio@vger.kernel.org — …
Jun 21 2015
gpio/mpc8xxx: Consolidate chained IRQ handler install/remove
Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-gpio@vger.kernel.org — …
Jun 21 2015
MIPS/ralink: Fix race in installing chained IRQ handler
Author: Thomas Gleixner <tglx@linutronix.de> Fix a race where a pending interrupt could be received and the handler called before the handler’s data has been setup, by converting to irq_set_chained_handler_and_data(). Search and conversion was done with coccinelle: @@ expression E1, E2, E3; @@ ( -if (irq_set_chained_handler(E1, E3) != 0) – BUG(); | -irq_set_chained_handler(E1, E3); ) -irq_set_handler_data(E1, …
Jun 21 2015
MIPS/pci: Fix race in installing chained IRQ handler
Author: Thomas Gleixner <tglx@linutronix.de> Fix a race where a pending interrupt could be received and the handler called before the handler’s data has been setup, by converting to irq_set_chained_handler_and_data(). Search and conversion was done with coccinelle: @@ expression E1, E2, E3; @@ ( -if (irq_set_chained_handler(E1, E3) != 0) – BUG(); | -irq_set_chained_handler(E1, E3); ) -irq_set_handler_data(E1, …
Jun 21 2015
MIPS/ath25: Fix race in installing chained IRQ handler
Author: Thomas Gleixner <tglx@linutronix.de> Fix a race where a pending interrupt could be received and the handler called before the handler’s data has been setup, by converting to irq_set_chained_handler_and_data(). Search and conversion was done with coccinelle: @@ expression E1, E2, E3; @@ ( -if (irq_set_chained_handler(E1, E3) != 0) – BUG(); | -irq_set_chained_handler(E1, E3); ) -irq_set_handler_data(E1, …
Jun 21 2015
MIPS/ath25: Fix race in installing chained IRQ handler
Author: Thomas Gleixner <tglx@linutronix.de> Fix a race where a pending interrupt could be received and the handler called before the handler’s data has been setup, by converting to irq_set_chained_handler_and_data(). Search and conversion was done with coccinelle: @@ expression E1, E2, E3; @@ ( -if (irq_set_chained_handler(E1, E3) != 0) – BUG(); | -irq_set_chained_handler(E1, E3); ) -irq_set_handler_data(E1, …
Jun 21 2015
m68k/psc: Fix race in installing chained IRQ handler
Author: Thomas Gleixner <tglx@linutronix.de> Fix a race where a pending interrupt could be received and the handler called before the handler’s data has been setup, by converting to irq_set_chained_handler_and_data(). Search and conversion was done with coccinelle: @@ expression E1, E2, E3; @@ ( -if (irq_set_chained_handler(E1, E3) != 0) – BUG(); | -irq_set_chained_handler(E1, E3); ) -irq_set_handler_data(E1, …
Jun 21 2015
avr32/at32ap: Fix race in installing chained IRQ handler
Author: Thomas Gleixner <tglx@linutronix.de> Fix a race where a pending interrupt could be received and the handler called before the handler’s data has been setup, by converting to irq_set_chained_handler_and_data(). Search and conversion was done with coccinelle: @@ expression E1, E2, E3; @@ ( -if (irq_set_chained_handler(E1, E3) != 0) – BUG(); | -irq_set_chained_handler(E1, E3); ) -irq_set_handler_data(E1, …