mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
igc: check return value of ret_val in igc_config_fc_after_link_up
[ Upstream commitb881145642] Check return value from ret_val to make error check actually work. Fixes:4eb8080143("igc: Add setup link functionality") Signed-off-by: Kevin Lo <kevlo@kevlo.org> Acked-by: Sasha Neftin <sasha.neftin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0cda160418
commit
1ac8bec220
@@ -638,7 +638,7 @@ s32 igc_config_fc_after_link_up(struct igc_hw *hw)
|
||||
}
|
||||
|
||||
out:
|
||||
return 0;
|
||||
return ret_val;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user