diff options
author | Luo bin <luobin9@huawei.com> | 2020-07-25 15:11:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-28 17:22:03 -0700 |
commit | 90f86b8a36c065286b743eed29661fc5cd00d342 (patch) | |
tree | bd31c8c31bcab46bf94529b0de0232f2d8af24db /drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h | |
parent | c15850c709eb5c7771785c9174e4908d1806a0f0 (diff) | |
download | linux-90f86b8a36c065286b743eed29661fc5cd00d342.tar.gz |
hinic: add log in exception handling processes
improve the error message when functions return failure and dump
relevant registers in some exception handling processes
Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h')
-rw-r--r-- | drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h b/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h index 3e4b0aef9fe6..f40c31e1879f 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h +++ b/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h @@ -130,6 +130,8 @@ struct hinic_cmdq_ctxt { }; struct hinic_cmdq { + struct hinic_hwdev *hwdev; + struct hinic_wq *wq; enum hinic_cmdq_type cmdq_type; |