commit | 360d749e0c8e689414d9a583102a59f795a6892d | [log] [tgz] |
---|---|---|
author | Sasha Neftin <sasha.neftin@intel.com> | Thu Jul 09 10:34:16 2020 +0300 |
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | Mon Jul 27 08:49:32 2020 -0700 |
tree | ffc160bbe052b11233997346a92c33c476cfecd6 | |
parent | db02bee2ec1d74eb4b0ab48b3f995673d6faa3c6 [diff] |
igc: Fix static checker warning drivers/net/ethernet/intel/igc/igc_mac.c:424 igc_check_for_copper_link() error: uninitialized symbol 'link'. This patch come to fix this warning and initialize the 'link' symbol. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 707abf069548 ("igc: Add initial LTR support") Signed-off-by: Sasha Neftin <sasha.neftin@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>