]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: Fix minor bug in ethtool stats reporting
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Mon, 7 Oct 2019 11:38:27 +0000 (14:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Oct 2019 14:08:09 +0000 (10:08 -0400)
commit33511b35e4c5b071bfb17330ead0474a0dc83f2a
tree1f069b1c399a070968c6b400d480231b1d1b02a9
parenta40b2461b02214a7868daec8c93824a2d6cff0ee
dpaa2-eth: Fix minor bug in ethtool stats reporting

Don't print error message for a successful return value.

Fixes: 8774736f0045 ("dpaa2-eth: Add new DPNI statistics counters")
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c