[PATCH 2/2] drivers:net: delete premature free_irq
David Miller
davem at davemloft.net
Wed Sep 4 13:18:37 EDT 2013
From: Julia Lawall <Julia.Lawall at lip6.fr>
Date: Mon, 2 Sep 2013 11:54:21 +0200
> From: Julia Lawall <Julia.Lawall at lip6.fr>
>
> Free_irq is not needed if there has been no request_irq. Free_irq is
> removed from both the probe and remove functions. The correct request_irq
> and free_irq are found in the open and close functions.
>
> A simplified version of the semantic match that finds this problem is as
> follows: (http://coccinelle.lip6.fr/)
...
> Signed-off-by: Julia Lawall <Julia.Lawall at lip6.fr>
Applied, thank you.
More information about the linux-arm-kernel
mailing list