> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of > Dan Carpenter > Sent: Friday, January 7, 2022 1:32 PM > To: Brandeburg, Jesse <jesse.brandeburg@xxxxxxxxx> > Cc: Swanson, Evan <evan.swanson@xxxxxxxxx>; netdev@xxxxxxxxxxxxxxx; > kernel-janitors@xxxxxxxxxxxxxxx; intel-wired-lan@xxxxxxxxxxxxxxxx; Jakub > Kicinski <kuba@xxxxxxxxxx>; David S. Miller <davem@xxxxxxxxxxxxx> > Subject: [Intel-wired-lan] [PATCH net] 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: ea78ce4dab05 ("ice: add link lenient and default override support") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > From static analysis. Not tested! > > drivers/net/ethernet/intel/ice/ice_common.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Tested-by: Gurucharan G <gurucharanx.g@xxxxxxxxx> (A Contingent worker at Intel)