aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2024-02-09 06:47:39 +0000
committerDavid S. Miller <[email protected]>2024-02-12 11:12:09 +0000
commit0972d1d979ccfd2b71ef36a5a2b1ad092be21bb9 (patch)
treef9d0165087cb069b946eeb6f33ad5ed14523ffa5 /drivers/net/ethernet/intel/ice/ice_main.c
parentMerge branch 'dsa-realtek-common' (diff)
downloadkernel-0972d1d979ccfd2b71ef36a5a2b1ad092be21bb9.tar.gz
kernel-0972d1d979ccfd2b71ef36a5a2b1ad092be21bb9.zip
tg3: fix bug caused by uninitialized variable
The reported bug is caused by using mii_eee_cap1_mod_linkmode_t() with an uninitialized bitmap. Fix this by zero-initializing the struct containing the bitmap. Fixes: 9bc791341bc9a5c22b ("tg3: convert EEE handling to use linkmode bitmaps") Reported-by: Srikanth Aithal <[email protected]> Tested-by: Srikanth Aithal <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Reviewed-by: Pavan Chebbi <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions