diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2021-09-15 21:52:11 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-20 13:28:39 +0100 |
commit | 5126b9d3d4acdebc12b9d436282f88d8a1b5146c (patch) | |
tree | f507c8c0fd3f86e0187b07d1220f7ec2c10918d9 /lib/raid6/algos.c | |
parent | ef39d632608e66f428c1246836fd060cf4818d67 (diff) |
net: hns3: fix a return value error in hclge_get_reset_status()
hclge_get_reset_status() should return the tqp reset status.
However, if the CMDQ fails, the caller will take it as tqp reset
success status by mistake. Therefore, uses a parameters to get
the tqp reset status instead.
Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions