Message ID | 20221118002724.996108-1-yoshihiro.shimoda.uh@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 1cb50726329070a6e3235b6bac38dfb8d5fd18c2 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [v2,net-next] net: ethernet: renesas: rswitch: Fix MAC address info | expand |
Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>: On Fri, 18 Nov 2022 09:27:24 +0900 you wrote: > Smatch detected the following warning. > > drivers/net/ethernet/renesas/rswitch.c:1717 rswitch_init() warn: > '%pM' cannot be followed by 'n' > > The 'n' should be '\n'. > > [...] Here is the summary with links: - [v2,net-next] net: ethernet: renesas: rswitch: Fix MAC address info 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 f3d27aef1286..51ce5c26631b 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;