[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172431610439.2217900.17742585529305793068.kvalo@kernel.org>
Date: Thu, 22 Aug 2024 08:41:46 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: David Lin <yu-hao.lin@....com>, Brian Norris <briannorris@...omium.org>,
Francesco Dolcini <francesco@...cini.it>,
Johannes Berg <johannes.berg@...el.com>,
Aloka Dixit <quic_alokad@...cinc.com>, Sascha Hauer <s.hauer@...gutronix.de>,
Rafael Beims <rafael.beims@...adex.com>, Ruan Jinjie <ruanjinjie@...wei.com>,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] wifi: mwifiex: Fix uninitialized variable in
mwifiex_cfg80211_authenticate()
Dan Carpenter <dan.carpenter@...aro.org> wrote:
> 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 <dan.carpenter@...aro.org>
> Acked-by: Brian Norris <briannorris@...omium.org>
Patch applied to wireless-next.git, thanks.
c9f4c1ec6972 wifi: mwifiex: Fix uninitialized variable in mwifiex_cfg80211_authenticate()
--
https://patchwork.kernel.org/project/linux-wireless/patch/d7d043b2-95d5-4e1d-b340-5d7330053ac6@stanley.mountain/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists