Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1001670ybm; Fri, 29 May 2020 18:12:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6+6HOJUo3odD+gSVnhx/IoWql83D0bM/a3wmSz+llH7SYBZmAWMz70feimehmzy7UCBVY X-Received: by 2002:a17:906:344e:: with SMTP id d14mr9896017ejb.53.1590801149011; Fri, 29 May 2020 18:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590801149; cv=none; d=google.com; s=arc-20160816; b=qZjAkI7h06d9idkgFDh3AVxK9yskmr/q3QggMoRZCKdM98Eo+XLUvFYg2b/8Y9lHCp PXQJu4ZlTqZ/ply9530O/qxtzDkDNNge3Pcout3T3W4N5sXQUZaflHCQ1uQoXFaEg4qZ ZCDc0oy53DLj/pgDLQVigR+qoTGv2i2rNDdwhjHqaisaeu+JuQnRP4vqsIYsJXEAnogb RyMIvRsvOLBpPKPo7sUvfNbNpECvWbkGsN9rubD5YzRDxQVJYiAqz39qU8buAadtMwb4 J66ssR1N+hI8p0ma8ASL5JjUqxTR+I3APRnOUJaPAcNSJM7dmplSh0MCotwlhvtXDQJx 1EgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=Ojs54Xn7rjffhBf/ekEmS69SWbwUJGUQTbKjhiblwMk=; b=XQxWfKfTqE/Opf0kC/lHqUroL9AyPyZpxu9+fyTPibSOcqGutZmr+FUuefJLhGmRkX lUS++A6YDEJl9eix/k1yBXIq1bsrqpqlf6ac2T5XNNmwbL4YbUfpmtR04HhARfOWNVwF Q1O04wl0bQ+5sadTyn0mQNVFYhXEle62l3Y3ZX5mxePqibyUopEHWsZ4ADW6GcmDx2fS u3Jt4PdBCpxInj/EzY65xSZc5XwTBGHhMs/7KZ5Cqzow4sxxD/wsM4lH9FU932Tk4QhS bCkuYUKDaQUdcJY/Jmhrys+R8rE7qJhAmD/zcTi3/FtUXa2p58IQHXRt3wC3CWJ9FOfv A7AA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z21si7267492edm.145.2020.05.29.18.12.06; Fri, 29 May 2020 18:12:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728724AbgE3BKQ (ORCPT + 99 others); Fri, 29 May 2020 21:10:16 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:50116 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728655AbgE3BKL (ORCPT ); Fri, 29 May 2020 21:10:11 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id C7793506A3909CB8178D; Sat, 30 May 2020 09:10:06 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Sat, 30 May 2020 09:09:57 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan 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 Message-ID: <1590800912-52467-2-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1590800912-52467-1-git-send-email-tanhuazhong@huawei.com> References: <1590800912-52467-1-git-send-email-tanhuazhong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use %d to print int variable 'ret' in hclge_mac_mdio_config(). Signed-off-by: Huazhong Tan --- 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