Message ID | 20221121094138.21028-1-yuehaibing@huawei.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1481366wrr; Mon, 21 Nov 2022 01:46:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf7k4zDLstQDW4m0Q2Xmxppx42d7ZO5TxXKofjvUIjcbTddKRj/X8BY2McBqV07Ob4SmV3Gj X-Received: by 2002:a17:90a:7003:b0:212:f169:140e with SMTP id f3-20020a17090a700300b00212f169140emr19099690pjk.215.1669023961138; Mon, 21 Nov 2022 01:46:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669023961; cv=none; d=google.com; s=arc-20160816; b=fBJfWM2+fF8itRHcxEq2GlRwoh6/rxqF4kBL1qkrENHUAMUjMxzP3+DkmChyu9MrvY OZzTx3B+FQJMxJEHSuELErr2tn7N9RcpBBdUjBtiTk5MB2WZWRoEHCoZw9xuFmtA89AU r8bXMkAK0gkC4t3DKvjW+MMhGDb1is++ddYxWA31Yv+fknW6MC0C0vo7fXD3GmhB+why /RRZHToZ1boWO5YwLw89HgDx84a8/9EoIgb2TBm+K0g+Yd3kV6Mz4kbj5rZKTKZ1o0Sg uDkmqCVP3F7XVxrtFZYu5o/pbVVINW3qRQAZOtw8SZ6YzkoZvMWOZOuzlncWWsoN040d zXfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=edcAc1RWJ3An07RWRWvg8GTYjw19zW4KU7PeU0uShwQ=; b=r5EV9JnPR05xVTxAnDl2G+j7jSk2JOS/4SbfV9XtsMhj7CcqQNWO+7XgCrTqIYbcKq 8z8C6K+sK6GbjiqjAVKIpLXOCl3rpnTswCk++wvZp+vJw+nyTUSrRw38HrlQk/dpVc4p DnNZyPdUhReImBKqu3Z6s/WXYMP+xZeAsLa4hcFv0I7/xUoyct39+MT5wPwocCng46Ob BEJ6rYP8FrO8Qf3mi6ZIBkZAOQUKyDrKtlByJP7bygP9g/Pp7tJlSA+3esBK0vfvTykD /pylwnk5D1A2IA7EB1FdsDl6D6BaK6l1jaFU1ZVruIW5L2z1fgqTOetwSV2ml+6NkV3r RxhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f11-20020a17090274cb00b00186a7d84c25si10230594plt.348.2022.11.21.01.45.46; Mon, 21 Nov 2022 01:46:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230288AbiKUJlr (ORCPT <rfc822;peter110.wang@gmail.com> + 99 others); Mon, 21 Nov 2022 04:41:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230289AbiKUJlo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 21 Nov 2022 04:41:44 -0500 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA454920B2; Mon, 21 Nov 2022 01:41:43 -0800 (PST) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4NG2T53wvgz15Mmv; Mon, 21 Nov 2022 17:41:13 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 21 Nov 2022 17:41:41 +0800 From: YueHaibing <yuehaibing@huawei.com> To: <s.shtylyov@omp.ru>, <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <yoshihiro.shimoda.uh@renesas.com> CC: <netdev@vger.kernel.org>, <linux-renesas-soc@vger.kernel.org>, <linux-kernel@vger.kernel.org>, YueHaibing <yuehaibing@huawei.com> Subject: [PATCH net-next] net: ethernet: renesas: Add missing slash in rswitch_init Date: Mon, 21 Nov 2022 17:41:38 +0800 Message-ID: <20221121094138.21028-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750098469357918531?= X-GMAIL-MSGID: =?utf-8?q?1750098469357918531?= |
Series |
[net-next] net: ethernet: renesas: Add missing slash in rswitch_init
|
|
Commit Message
Yue Haibing
Nov. 21, 2022, 9:41 a.m. UTC
Fix smatch warning:
drivers/net/ethernet/renesas/rswitch.c:1717
rswitch_init() warn: '%pM' cannot be followed by 'n'
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/net/ethernet/renesas/rswitch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi, > From: YueHaibing, Sent: Monday, November 21, 2022 6:42 PM > > Fix smatch warning: > > drivers/net/ethernet/renesas/rswitch.c:1717 > rswitch_init() warn: '%pM' cannot be followed by 'n' Thank you for the patch! However, I have submitted such a patch as following: https://lore.kernel.org/all/20221118002724.996108-1-yoshihiro.shimoda.uh@renesas.com/ Best regards, Yoshihiro Shimoda
Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>: On Mon, 21 Nov 2022 17:41:38 +0800 you wrote: > Fix smatch warning: > > drivers/net/ethernet/renesas/rswitch.c:1717 > rswitch_init() warn: '%pM' cannot be followed by 'n' > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > > [...] Here is the summary with links: - [net-next] net: ethernet: renesas: Add missing slash in rswitch_init https://git.kernel.org/netdev/net-next/c/1cb507263290 You are awesome, thank you!
diff --git a/drivers/net/ethernet/renesas/rswitch.c b/drivers/net/ethernet/renesas/rswitch.c index c098b27093ea..e42ceaa0099f 100644 --- a/drivers/net/ethernet/renesas/rswitch.c +++ b/drivers/net/ethernet/renesas/rswitch.c @@ -1714,7 +1714,7 @@ static int rswitch_init(struct rswitch_private *priv) } for (i = 0; i < RSWITCH_NUM_PORTS; i++) - netdev_info(priv->rdev[i]->ndev, "MAC address %pMn", + netdev_info(priv->rdev[i]->ndev, "MAC address %pM\n", priv->rdev[i]->ndev->dev_addr); return 0;