Files
linux/drivers/net/ethernet/intel/ice
Tom Rix 5950bdc88d ice: initialize local variable 'tlv'
Clang static analysis reports this issues
ice_common.c:5008:21: warning: The left expression of the compound
  assignment is an uninitialized value. The computed value will
  also be garbage
  ldo->phy_type_low |= ((u64)buf << (i * 16));
  ~~~~~~~~~~~~~~~~~ ^

When called from ice_cfg_phy_fec() ldo is the uninitialized local
variable tlv.  So initialize.

Fixes: ea78ce4dab ("ice: add link lenient and default override support")
Signed-off-by: Tom Rix <trix@redhat.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-02-18 13:28:39 -08:00
..
2021-12-14 10:19:13 -08:00
2021-12-14 10:19:13 -08:00
2021-11-30 08:02:12 -08:00
2021-12-14 08:06:47 -08:00
2022-01-06 10:15:09 -08:00
2022-01-06 10:15:09 -08:00
2021-05-28 20:11:13 -07:00
2022-01-06 10:15:09 -08:00
2022-01-06 10:15:09 -08:00
2021-12-14 10:19:14 -08:00
2021-12-14 10:19:13 -08:00
2021-12-14 10:19:13 -08:00
2021-10-28 11:00:18 -07:00
2021-12-17 11:18:21 -08:00