diff options
author | Jiaran Zhang <zhangjiaran@huawei.com> | 2021-06-08 21:08:31 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-08 14:43:31 -0700 |
commit | 1c360a4a077fc0f74a350fe2ef267cbe8a9388e3 (patch) | |
tree | af31a42a080d824a392ecd57cb01e7dbd18b8abd /net/lapb/lapb_iface.c | |
parent | 8a95e360fd512f1cb55239645879b15d26bc7e21 (diff) | |
download | linux-1c360a4a077fc0f74a350fe2ef267cbe8a9388e3.tar.gz linux-1c360a4a077fc0f74a350fe2ef267cbe8a9388e3.tar.bz2 linux-1c360a4a077fc0f74a350fe2ef267cbe8a9388e3.zip |
net: hns3: add error handling compatibility during initialization
During initialization, the driver logs and clears the hw errors that
already occurred. For device supports imp-handle ras capability, it
needs handle different error status, otherwise it may cause wrong reset.
So fix it by adding a new processing branch.
Signed-off-by: Jiaran Zhang <zhangjiaran@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions