diff options
| author | Dan Carpenter <[email protected]> | 2024-08-15 14:29:27 +0300 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2024-08-22 11:41:37 +0300 |
| commit | c9f4c1ec69728310a31080c266b8529381c1a7fa (patch) | |
| tree | ee56e5d5071e2eae0fef30a1ddb21d148d3ecd83 /tools/perf/scripts/python | |
| parent | a7e8997ae18c42d30bc7181421b5715e319c0f71 (diff) | |
wifi: mwifiex: Fix uninitialized variable in mwifiex_cfg80211_authenticate()
Smatch complains that:
drivers/net/wireless/marvell/mwifiex/cfg80211.c:4408 mwifiex_cfg80211_authenticate()
error: uninitialized symbol 'varptr'.
It's a check for NULL, but "varptr" is either non-NULL or uninitialized.
Initialize it to NULL.
Fixes: 36995892c271 ("wifi: mwifiex: add host mlme for client mode")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Brian Norris <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions