aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-03-11 07:16:25 -0400
committerDavid S. Miller <davem@davemloft.net>2012-03-11 18:41:18 -0400
commit5eac5f6d3706cc075c543007ad1e70150faac7ba (patch)
treecadc5b5b9b35bf4987553b2fd61b5922b10d7de1 /drivers/atm
parente3abcc2a8538f7d5f64dbf85404bdf8a1d1581b3 (diff)
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 <Julia.Lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/eni.c2
1 files changed, 1 insertions, 1 deletions
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:
1873 kfree(eni_dev->free_list); 1873 kfree(eni_dev->free_list);
1874 1874
1875free_irq: 1875free_irq:
1876 free_irq(eni_dev->irq, eni_dev); 1876 free_irq(eni_dev->irq, dev);
1877 1877
1878out: 1878out:
1879 return error; 1879 return error;