]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Marvell Sky2 Ethernet adapter: fix warning messages.
authorKrzysztof Halasa <khalasa@piap.pl>
Thu, 18 Feb 2021 12:34:42 +0000 (13:34 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 23 Feb 2021 20:17:21 +0000 (12:17 -0800)
commit18755e270666ce869289bceb734d25eae2be9da9
treedceba9ca604ce97510fcf435b8dd732fc1214a00
parent9bc1ef64aeb6f7dae17e98f912213266738ddcfe
Marvell Sky2 Ethernet adapter: fix warning messages.

sky2.c driver uses netdev_warn() before the net device is initialized.
Fix it by using dev_warn() instead.

Signed-off-by: Krzysztof Halasa <khalasa@piap.pl>
Link: https://lore.kernel.org/r/m3a6s1r1ul.fsf@t19.piap.pl
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/sky2.c