git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb6259
)
net/hns3: fix mailbox message ID in log
author
Chengwen Feng
<fengchengwen@huawei.com>
Mon, 10 May 2021 13:38:10 +0000
(21:38 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 11 May 2021 18:07:59 +0000
(20:07 +0200)
The mailbox message id is uint8_t, but the unsupported mailbox message
id was logged by uint16.
Fixes:
463e748964f5
("net/hns3: support mailbox")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_mbx.c
patch
|
blob
|
history
diff --git
a/drivers/net/hns3/hns3_mbx.c
b/drivers/net/hns3/hns3_mbx.c
index
31ab130
..
f36cb10
100644
(file)
--- a/
drivers/net/hns3/hns3_mbx.c
+++ b/
drivers/net/hns3/hns3_mbx.c
@@
-540,7
+540,7
@@
hns3_dev_handle_mbx_msg(struct hns3_hw *hw)
break;
default:
hns3_err(hw, "received unsupported(%u) mbx msg",
-
req->msg[0]
);
+
opcode
);
break;
}