]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-dpaa2/eth: Don't use netdev_err too early
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Wed, 11 Oct 2017 13:29:50 +0000 (08:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 14:45:19 +0000 (16:45 +0200)
commit7b3409bbacbea70617bfce3e40313af77d08d17f
treedb927324d007c106b57f8dd7ec06b8009759ff91
parent581f42ff429fe3ab7a8c5248f742d3ddfa7ae909
staging: fsl-dpaa2/eth: Don't use netdev_err too early

Early during probe the netdevice name is not initialized yet,
so use dev_err instead of netdev_err when printing error
messages.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c