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-15 08:40:38 -08:00
2021-10-15 07:39:03 -07:00
2021-06-07 08:59:01 -07:00
2021-12-23 16:09:58 -08:00
2021-10-15 07:39:02 -07:00
2021-12-21 09:11:40 -08:00
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-06-11 07:38:00 -07:00
2021-12-14 10:19:13 -08:00
2021-10-20 15:57:54 -07:00
2021-12-07 13:21:01 -08:00
2021-06-07 08:59:01 -07:00
2021-12-14 10:19:13 -08:00
2021-12-14 10:19:13 -08:00
2021-10-22 11:41:16 +01:00
2021-12-31 14:35:40 +00:00
2021-11-30 08:02:12 -08:00
2022-02-18 13:22:06 -08:00
2022-01-06 10:15:09 -08:00
2021-12-30 13:16:07 +00:00
2021-12-15 08:48:26 -08:00
2021-12-14 10:19:13 -08:00
2021-12-30 13:16:07 +00:00
2022-01-06 10:15:25 -08:00
2021-12-14 10:19:13 -08:00
2021-12-14 08:06:47 -08:00
2021-12-30 13:16:07 +00:00
2021-12-30 13:16:07 +00:00
2022-01-06 10:15:09 -08:00
2022-01-06 10:15:09 -08:00
2021-12-15 08:40:38 -08:00
2021-12-15 08:40:38 -08:00
2021-12-21 09:11:40 -08:00
2021-05-28 20:11:13 -07:00
2021-11-22 08:41:56 -08:00
2022-02-10 08:47:26 -08:00
2021-02-08 16:27:01 -08:00
2022-02-10 08:47:21 -08:00
2022-02-14 11:22:35 +00:00
2021-12-14 10:19:13 -08:00
2022-02-18 13:28:38 -08:00
2022-01-04 12:34:19 +00:00
2021-12-15 08:40:38 -08:00
2022-02-18 13:22:06 -08:00
2021-12-21 09:11:40 -08:00
2021-12-21 09:11:40 -08:00
2021-12-21 09:11:40 -08:00
2022-02-18 13:28:39 -08:00
2021-12-21 09:11:40 -08:00
2022-01-06 10:15:09 -08:00
2022-01-06 10:15:09 -08:00
2021-06-11 07:38:00 -07: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-12-14 10:19:13 -08:00
2022-02-18 13:22:06 -08:00
2021-12-14 10:19:13 -08:00
2022-02-18 13:28:18 -08:00
2021-10-28 11:00:18 -07:00
2021-10-15 07:39:02 -07:00
2022-01-06 10:15:09 -08:00
2021-10-15 07:39:03 -07:00
2021-12-31 14:35:40 +00:00
2021-12-17 11:18:21 -08:00
2021-12-30 13:16:07 +00:00
2021-04-22 09:26:22 -07:00
2021-04-22 09:26:22 -07:00
2021-12-14 10:19:13 -08:00
2021-03-22 11:32:12 -07:00
2022-02-18 13:28:38 -08:00
2021-12-14 08:06:47 -08:00
2021-12-31 14:35:40 +00:00
2021-10-15 07:39:02 -07:00
2022-02-18 13:28:38 -08:00
2021-10-11 09:03:04 -07:00