]> git.openfabrics.org - ~emulex/infiniband.git/commit
be2net: fix error status for FW-download
authorKalesh AP <kalesh.purayil@emulex.com>
Thu, 17 Jul 2014 10:50:20 +0000 (16:20 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 23:38:14 +0000 (16:38 -0700)
commit56ace3a0d0209ea9f1806abb9c1046fdb89e0030
tree8d368e70377693bbd08ed57f2bc5ec7f794183bd
parent940a3fcddc76f82ac4e80dfa7bccb236e9bec0a1
be2net: fix error status for FW-download

For FW download ethtool cmd, if the user provides an FW-image incompatible
with the chip, return -EINVAL instead of -1.

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>
drivers/net/ethernet/emulex/benet/be_main.c