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

Markus Elfring Markus.Elfring at web.de
Sat Mar 22 04:44:51 PDT 2025


> 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



More information about the linux-arm-kernel mailing list