Skip to content

Commit

Permalink
net/hns3: fix mailbox message ID in log
Browse files Browse the repository at this point in the history
[ upstream commit 34a9a44 ]

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

Fixes: 463e748 ("net/hns3: support mailbox")

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
  • Loading branch information
fengchengwen authored and steevenlee committed Jun 8, 2021
1 parent 5244852 commit a795428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/hns3/hns3_mbx.c
Expand Up @@ -551,7 +551,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;
}

Expand Down

0 comments on commit a795428

Please sign in to comment.