diff options
author | Kalesh AP <kalesh.purayil@emulex.com> | 2014-07-17 16:20:23 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-17 16:38:14 -0700 |
commit | 0532d4e36678d626b41528c00fefe3d6e04130b3 (patch) | |
tree | a534555f9528798342a7889883d64b625eb35149 /COPYING | |
parent | 6b5686891c9858aea914c1d1c965d6bbc8a0521d (diff) | |
download | talos-obmc-linux-0532d4e36678d626b41528c00fefe3d6e04130b3.tar.gz talos-obmc-linux-0532d4e36678d626b41528c00fefe3d6e04130b3.zip |
be2net: fix return status of some ethtool methods
ethtool expects a -ve status value to be returned when a driver method
encounters an error. The driver was directly passing the
error status returned by FW (a positive value) to ethtool.
This patch fixes this by returning -EIO status in cases where FW returns
an error.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions