From 5eac5f6d3706cc075c543007ad1e70150faac7ba Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sun, 11 Mar 2012 11:16:25 +0000 Subject: 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 --- drivers/atm/eni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/atm/eni.c') diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c index 956e9accb05..485a11a6de9 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; -- cgit v1.2.3-18-g5258