aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be_cmds.h
diff options
context:
space:
mode:
authorKalesh AP <kalesh.purayil@emulex.com>2014-07-17 16:20:24 +0530
committerDavid S. Miller <davem@davemloft.net>2014-07-17 16:38:14 -0700
commitabccf23e3eebcd5b7b0ad5d2ad6d1f6d81af6b47 (patch)
tree94bb5236532f8cdde8c19bf07db3e5a063decd4c /drivers/net/ethernet/emulex/benet/be_cmds.h
parentbe2net: fix return status of some ethtool methods (diff)
downloadlinux-dev-abccf23e3eebcd5b7b0ad5d2ad6d1f6d81af6b47.tar.xz
linux-dev-abccf23e3eebcd5b7b0ad5d2ad6d1f6d81af6b47.zip
be2net: fix return status of some ndo methods
The netlink layer expects a -ve status value to be returned when a driver ndo method encounters an error. The driver was directly passing the error status returned by FW (a positive value) to the stack. This patch fixes this by returning -EIO status when a FW-cmd reports 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 'drivers/net/ethernet/emulex/benet/be_cmds.h')
0 files changed, 0 insertions, 0 deletions