Re: [PATCH] wifi: mt76: mt7996: prevent uninit return in mt7996_mac_sta_add_links

From: Markus Elfring
Date: Sat Mar 22 2025 - 07:45:19 EST


> If link_conf_dereference_protected() or mt7996_vif_link()
> or link_sta_dereference_protected() fail the code jumps to

call failed?


> the error_unlink label and returns ret which is uninitialised.

a value from a local variable
which was not initialised properly?


Can the summary phrase be improved also another bit?

Regards,
Markus