drivers/atm/eni.c: ensure arguments to request_irq and free_irq are compatible
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 11 Mar 2012 11:16:25 +0000 (11:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Mar 2012 22:41:18 +0000 (15:41 -0700)
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 <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/eni.c

index 956e9accb051d027e63b554db6bae73c3e315abe..485a11a6de96e98be44c27594a1e3646f8f9f7f9 100644 (file)
@@ -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;
This page took 0.026561 seconds and 5 git commands to generate.