Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Julia Lawall and committed by
David S. Miller
5eac5f6d e3abcc2a

+1 -1
+1 -1
drivers/atm/eni.c
··· 1873 1873 kfree(eni_dev->free_list); 1874 1874 1875 1875 free_irq: 1876 - free_irq(eni_dev->irq, eni_dev); 1876 + free_irq(eni_dev->irq, dev); 1877 1877 1878 1878 out: 1879 1879 return error;