Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Category: Linux
Aug 01 2015
PCI/MSI: pci-xgene-msi: 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: Duc Dang — drivers/pci/host/pci-xgene-msi.c | 14 ++++++——– 1 …
Aug 01 2015
unicore32/irq: Prepare puv3_gpio_handler for irq argument removal
Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Aug 01 2015
tile/pci_gx: Prepare trio_handle_level_irq for irq argument removal
Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Jul 31 2015
m68k/irq: Prepare irq handlers for irq argument removal
Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Jul 31 2015
C6X/megamode-pic: Prepare megamod_irq_cascade for irq argument removal
Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Jul 31 2015
blackfin: Prepare irq handlers for irq argument removal
Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Jul 31 2015
arc/irq: Prepare idu_cascade_isr for irq argument removal
Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Jul 31 2015
rtc: gemini: fix ptr_ret.cocci warnings
Author: kbuild test robot <fengguang.wu@intel.com> drivers/rtc/rtc-gemini.c:151:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(…)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: Fengguang Wu Signed-off-by: Viresh Kumar Signed-off-by: Alexandre Belloni — drivers/rtc/rtc-gemini.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-) diff –git a/drivers/rtc/rtc-gemini.c b/drivers/rtc/rtc-gemini.c index 2fed93e..e841846 100644 — a/drivers/rtc/rtc-gemini.c +++ b/drivers/rtc/rtc-gemini.c @@ …
Jul 29 2015
stmmac: fix ptr_ret.cocci warning
Author: Fengguang Wu <fengguang.wu@intel.com> drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:304:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(…)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: Fengguang Wu [je: rebase and insert newline before return] Signed-off-by: Joachim Eastwood Signed-off-by: David S. Miller — drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 4 +— 1 file changed, 1 insertion(+), 3 deletions(-) diff –git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index …