OSDN Git Service

dpaa_eth: remove netdev_err() for user errors
authorMadalin Bucur <madalin.bucur@nxp.com>
Thu, 31 Oct 2019 14:37:56 +0000 (16:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 19:13:34 +0000 (12:13 -0700)
commit1f722e19a2648c4310d6f3443558549edaca4081
treebd894000461dc4cb58f0990324c1a6d6774c98bb
parent46e93e5443a7adb66d7503f3e32a0cc3bf5b4d3e
dpaa_eth: remove netdev_err() for user errors

User reports that an application making an (incorrect) call to
restart AN on a fixed link DPAA interface triggers an error in
the kernel log while the returned EINVAL should be enough.

Reported-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c