]> git.baikalelectronics.ru Git - kernel.git/commit
ice: fix an error code in ice_cfg_phy_fec()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 7 Jan 2022 08:02:06 +0000 (11:02 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 10 Feb 2022 15:42:33 +0000 (07:42 -0800)
commit9bbf08d13966a315a8914bed1265575e2580452d
tree6931d07aed48819e1c527b1c7f7eaa31697832d8
parent178b6e8da07eb0f32658dee463f615b787522328
ice: fix an error code in ice_cfg_phy_fec()

Propagate the error code from ice_get_link_default_override() instead
of returning success.

Fixes: 41d02deef93d ("ice: add link lenient and default override support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c