diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-12-18 19:37:53 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-18 12:01:01 -0800 |
commit | ae6017a71115ebc4e5c1a3f0f451319ab3f5c447 (patch) | |
tree | 0b14d0d455334da91706e9293d568b1ec30908de /drivers/net/ethernet/arc | |
parent | b51c366df70da0100193d13975980f1990a2d47b (diff) | |
download | linux-ae6017a71115ebc4e5c1a3f0f451319ab3f5c447.tar.gz |
net: hns3: fix incomplete uninitialization of IRQ in the hns3_nic_uninit_vector_data()
In the hns3_nic_uninit_vector_data(), the procedure of uninitializing
the tqp_vector's IRQ has not set affinity_notify to NULL and changes
its init flag. This patch fixes it. And for simplificaton, local
variable tqp_vector is used instead of priv->tqp_vector[i].
Fixes: 424eb834a9be ("net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/arc')
0 files changed, 0 insertions, 0 deletions