mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 13:30:55 +07:00
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>
This commit is contained in:
parent
e3abcc2a85
commit
5eac5f6d37
@ -1873,7 +1873,7 @@ static int __devinit eni_start(struct atm_dev *dev)
|
||||
kfree(eni_dev->free_list);
|
||||
|
||||
free_irq:
|
||||
free_irq(eni_dev->irq, eni_dev);
|
||||
free_irq(eni_dev->irq, dev);
|
||||
|
||||
out:
|
||||
return error;
|
||||
|
Loading…
Reference in New Issue
Block a user