]> git.baikalelectronics.ru Git - kernel.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)
commitfee549fff0874d10752805a991933d2b8ec46241
tree97404ece0fa2cf05ade4b637ad9ffe0d1c4d9f8a
parentea0b3c9dfb598dfd1d0057d6abdad491a5d819ac
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: 3a56c17c0297 ("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