commit | bcf643c51434e1f7930e3b951a406eb63c4c71f6 | [log] [tgz] |
---|---|---|
author | Weihang Li <liweihang@hisilicon.com> | Thu Jun 20 16:52:45 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 26 11:59:02 2019 -0400 |
tree | 2996840949d8f43a62c76464c597f3c33ac78a92 | |
parent | 72fcd2bed719c6587dfea74e30bcdf6f9b64b18e [diff] |
net: hns3: add exception handling when enable NIC HW error interrupts If we failed to enable NIC HW error interrupts during client initialization in some cases, we should do exception handling to clear flags and free the resources. Fixes: 00ea6e5fda9d ("net: hns3: delay and separate enabling of NIC and ROCE HW errors") Signed-off-by: Weihang Li <liweihang@hisilicon.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>