From: Huazhong Tan <tanhuazhong@huawei.com>
To: <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<salil.mehta@huawei.com>, <yisen.zhuang@huawei.com>,
<linuxarm@huawei.com>, <kuba@kernel.org>,
Huazhong Tan <tanhuazhong@huawei.com>
Subject: [PATCH net-next 1/6] net: hns3: fix a print format issue in hclge_mac_mdio_config()
Date: Sat, 30 May 2020 09:08:27 +0800 [thread overview]
Message-ID: <1590800912-52467-2-git-send-email-tanhuazhong@huawei.com> (raw)
In-Reply-To: <1590800912-52467-1-git-send-email-tanhuazhong@huawei.com>
Use %d to print int variable 'ret' in hclge_mac_mdio_config().
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
---
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c
index 696c5ae..e898207 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;
}
--
2.7.4
next prev parent reply other threads:[~2020-05-30 1:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-30 1:08 [PATCH net-next 0/6] net: hns3: adds some cleanups for -next Huazhong Tan
2020-05-30 1:08 ` Huazhong Tan [this message]
2020-05-30 1:08 ` [PATCH net-next 2/6] net: hns3: remove an unused macro hclge_is_csq Huazhong Tan
2020-05-30 1:08 ` [PATCH net-next 3/6] net: hns3: remove two unused macros in hclgevf_cmd.c Huazhong Tan
2020-05-30 1:08 ` [PATCH net-next 4/6] net: hns3: fix an incorrect comment for num_tqps in struct hclgevf_dev Huazhong Tan
2020-05-30 1:08 ` [PATCH net-next 5/6] net: hns3: fix two coding style issues in hclgevf_main.c Huazhong Tan
2020-05-30 1:08 ` [PATCH net-next 6/6] net: hns3: remove some unused codes in hns3_nic_set_features() Huazhong Tan
2020-05-31 0:41 ` [PATCH net-next 0/6] net: hns3: adds some cleanups for -next David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1590800912-52467-2-git-send-email-tanhuazhong@huawei.com \
--to=tanhuazhong@huawei.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=salil.mehta@huawei.com \
--cc=yisen.zhuang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).