mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
net: hns3: fix a print format issue in hclge_mac_mdio_config()
Use %d to print int variable 'ret' in hclge_mac_mdio_config(). Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bc183dec08
commit
1f4982ef56
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ int hclge_mac_mdio_config(struct hclge_dev *hdev)
|
|||
ret = mdiobus_register(mdio_bus);
|
||||
if (ret) {
|
||||
dev_err(mdio_bus->parent,
|
||||
"Failed to register MDIO bus ret = %#x\n", ret);
|
||||
"failed to register MDIO bus, ret = %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue