diff options
author | Suresh Reddy <suresh.reddy@broadcom.com> | 2016-02-03 07:19:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-07 21:55:22 +0300 |
commit | a5a773a54e59538d03fd1a20facd7214c030b1d3 (patch) | |
tree | bafb62bacabfbe890134f70fe1dad14e097c2eff /drivers/net/ethernet/cadence | |
parent | 19f76f63507fa87f56eb3d864318c5c65268bb46 (diff) | |
download | linux-a5a773a54e59538d03fd1a20facd7214c030b1d3.tar.xz |
be2net: return error status from be_set_phys_id()
be_set_phys_id() returns 0 to ethtool when the command fails in the FW.
This patch fixes the set_phys_id() to return -EIO in case the FW cmd fails.
Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence')
0 files changed, 0 insertions, 0 deletions