]> 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)
commit8c1495379ccaecef964385b4a64f890d6f81e50b
tree1f069b1c399a070968c6b400d480231b1d1b02a9
parentfe2b7ac7accb4908e66124cc75e26e423564fa97
dpaa2-eth: Fix minor bug in ethtool stats reporting

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

Fixes: 3e08e83cfb29 ("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