]> git.baikalelectronics.ru Git - kernel.git/commit
hinic: reset irq affinity before freeing irq
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 27 Jun 2018 09:47:37 +0000 (17:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2018 04:34:57 +0000 (13:34 +0900)
commit93ad276a77980f8c39b0127c293919cfaeaa2f7d
tree4072ce13b236429e9e646c503bb710f9e252bd80
parent249dbacc67f9fdcac4a5b3a39c11680c53d13798
hinic: reset irq affinity before freeing irq

Following warning is seen when rmmod hinic. This is because affinity
value is not reset before calling free_irq(). This patch fixes it.

[   55.181232] WARNING: CPU: 38 PID: 19589 at kernel/irq/manage.c:1608
__free_irq+0x2aa/0x2c0

Fixes: 56e2b16c4c7f ("net-next/hinic: Set Rxq irq to specific cpu for NUMA")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_rx.c