]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: return error status from be_set_phys_id()
authorSuresh Reddy <suresh.reddy@broadcom.com>
Wed, 3 Feb 2016 04:19:16 +0000 (09:49 +0530)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 15:15:17 +0000 (07:15 -0800)
commit62c2a6bc0f2552577da14c936b36cde7ede6783e
tree95d70454c82e8458f5202b94c24efcebee4a663c
parent09efa017fe350578d397228217ba7fc602702de0
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>
Orabug: 22725582
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/emulex/benet/be_ethtool.c