Re: [PATCH] net: hisilicon: Fix "Trying to free already-free IRQ"

From: David Miller
Date: Tue Oct 29 2019 - 14:06:20 EST


From: Jiangfeng Xiao <xiaojiangfeng@xxxxxxxxxx>
Date: Fri, 25 Oct 2019 21:48:22 +0800

> When rmmod hip04_eth.ko, we can get the following warning:
...
> Currently "rmmod hip04_eth.ko" call free_irq more than once
> as devres_release_all and hip04_remove both call free_irq.
> This results in a 'Trying to free already-free IRQ' warning.
> To solve the problem free_irq has been moved out of hip04_remove.
>
> Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@xxxxxxxxxx>

Applied, thank you.