Files
linux/drivers/net/ethernet
Alexey Simakov 0c3f2e6281 tg3: prevent use of uninitialized remote_adv and local_adv variables
Some execution paths that jump to the fiber_setup_done label
could leave the remote_adv and local_adv variables uninitialized
and then use it.

Initialize this variables at the point of definition to avoid this.

Fixes: 85730a631f ("tg3: Add SGMII phy support for 5719/5718 serdes")
Co-developed-by: Alexandr Sapozhnikov <[email protected]>
Signed-off-by: Alexandr Sapozhnikov <[email protected]>
Signed-off-by: Alexey Simakov <[email protected]>
Reviewed-by: Pavan Chebbi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2025-10-15 17:16:49 -07:00
..
…
…
…
…
…
…
…
2025-08-04 17:17:31 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-16 12:43:49 +02:00
…
2025-09-16 12:43:49 +02:00