From: Julia Lawall Date: Sun, 11 Mar 2012 11:16:25 +0000 (+0000) Subject: drivers/atm/eni.c: ensure arguments to request_irq and free_irq are compatible X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5eac5f6d3706cc075c543007ad1e70150faac7ba;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drivers/atm/eni.c: ensure arguments to request_irq and free_irq are compatible Convert calls to free_irq so that the second argument is the same as the last argument of the corresponding call to request_irq. Without this property, free_irq does nothing. Signed-off-by: Julia Lawall Signed-off-by: David S. Miller --- diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c index 956e9accb051..485a11a6de96 100644 --- a/drivers/atm/eni.c +++ b/drivers/atm/eni.c @@ -1873,7 +1873,7 @@ free_list: kfree(eni_dev->free_list); free_irq: - free_irq(eni_dev->irq, eni_dev); + free_irq(eni_dev->irq, dev); out: return error;