]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
igc: check return value of ret_val in igc_config_fc_after_link_up
authorKevin Lo <kevlo@kevlo.org>
Thu, 7 Jan 2021 06:10:38 +0000 (14:10 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 1 Feb 2021 18:04:43 +0000 (10:04 -0800)
commitb881145642ce0bbe2be521e0882e72a5cebe93b8
tree97404ece0fa2cf05ade4b637ad9ffe0d1c4d9f8a
parentebc8d125062e7dccb7922b2190b097c20d88ad96
igc: check return value of ret_val in igc_config_fc_after_link_up

Check return value from ret_val to make error check actually work.

Fixes: 4eb8080143a9 ("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>
drivers/net/ethernet/intel/igc/igc_mac.c