diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2020-05-30 03:08:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-31 02:41:22 +0200 |
commit | 1f4982ef56f794101cae7ec0fa3b7605f78bd25f (patch) | |
tree | e844787df310be51cdad291dd2520f43deea611e /drivers/net/ethernet/hisilicon/hns3/hns3pf | |
parent | tcp: tcp_init_buffer_space can be static (diff) | |
download | linux-1f4982ef56f794101cae7ec0fa3b7605f78bd25f.tar.xz linux-1f4982ef56f794101cae7ec0fa3b7605f78bd25f.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c index 696c5ae922e3..e89820702540 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c @@ -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; } |