]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: amd: mvme147: Fix probe banner message
authorDaniel Palmer <daniel@0x0f.com>
Mon, 7 Oct 2024 10:43:17 +0000 (19:43 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2024 15:25:53 +0000 (16:25 +0100)
commitcb1711e65bff0ff31be410d1258fa54253074065
treebee716b50f88a5d6396d64c86afd3805cb9c4500
parente1d57c29e4733dcc7d16284ac1b50a5a80aa7e4e
net: amd: mvme147: Fix probe banner message

[ Upstream commit 82c5b53140faf89c31ea2b3a0985a2f291694169 ]

Currently this driver prints this line with what looks like
a rogue format specifier when the device is probed:
[    2.840000] eth%d: MVME147 at 0xfffe1800, irq 12, Hardware Address xx:xx:xx:xx:xx:xx

Change the printk() for netdev_info() and move it after the
registration has completed so it prints out the name of the
interface properly.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/amd/mvme147.c