net: ethernet: renesas: rswitch: Fix MAC address info
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 18 Nov 2022 00:27:24 +0000 (09:27 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2022 12:57:18 +0000 (12:57 +0000)
commit1cb50726329070a6e3235b6bac38dfb8d5fd18c2
treed89a7876ea41e16b4b9d03e9280972035f752309
parent4dca1319a796bc4c17e57a8727c1d95cecc892da
net: ethernet: renesas: rswitch: Fix MAC address info

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'.

Reported-by: Dan Carpenter <error27@gmail.com>
Suggested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Fixes: 3590918b5d07 ("net: ethernet: renesas: Add support for "Ethernet Switch"")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Saeed Mahameed <saeed@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/rswitch.c