diff options
author | 2020-07-09 10:34:16 +0300 | |
---|---|---|
committer | 2020-07-27 08:49:32 -0700 | |
commit | 360d749e0c8e689414d9a583102a59f795a6892d (patch) | |
tree | ffc160bbe052b11233997346a92c33c476cfecd6 /tools/perf/scripts/python | |
parent | igc: Clean up the hw_stats structure (diff) | |
download | linux-dev-360d749e0c8e689414d9a583102a59f795a6892d.tar.xz linux-dev-360d749e0c8e689414d9a583102a59f795a6892d.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions