net/hns3: fix mailbox message ID in log

The mailbox message id is uint8_t, but the unsupported mailbox message
id was logged by uint16.

Fixes: 463e748964 ("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>
This commit is contained in:
Chengwen Feng 2021-05-10 21:38:10 +08:00 committed by Ferruh Yigit
parent ffb62592f8
commit 34a9a44a32

View File

@ -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;
}