From mboxrd@z Thu Jan 1 00:00:00 1970 From: davem@davemloft.net (David Miller) Date: Wed, 04 Sep 2013 13:18:37 -0400 (EDT) Subject: [PATCH 2/2] drivers:net: delete premature free_irq In-Reply-To: <1378115661-5371-3-git-send-email-Julia.Lawall@lip6.fr> References: <1378115661-5371-1-git-send-email-Julia.Lawall@lip6.fr> <1378115661-5371-3-git-send-email-Julia.Lawall@lip6.fr> Message-ID: <20130904.131837.936191711263259013.davem@davemloft.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Julia Lawall Date: Mon, 2 Sep 2013 11:54:21 +0200 > From: Julia Lawall > > 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 Applied, thank you.