commit | 2336f19d789223b9f42f111aab8de6ad66d12c28 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Wed Aug 28 22:23:15 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 29 16:57:44 2019 -0700 |
tree | 45ea9966d56dc8b260b5483ca5b02eb10a3fba54 | |
parent | c9765a89d142f614b917ead75e23f1915f7e748d [diff] |
net: hns3: check reset interrupt status when reset fails Currently, the reset interrupt will be cleared firstly, so when reset fails, if interrupt status register has reset interrupt, it means there is a new coming reset. Fixes: 72e2fb07997c ("net: hns3: clear reset interrupt status in hclge_irq_handle()") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Reviewed-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>