]> git.baikalelectronics.ru Git - kernel.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)
commitf00cab118fd56f2fb3b97a2e1067215bfeb291c2
treedceba9ca604ce97510fcf435b8dd732fc1214a00
parent3ef5fac594a3393d617f01b34cc3f1184c13e071
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