[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173454471281.1383964.2745543132291876467.kvalo@kernel.org>
Date: Wed, 18 Dec 2024 17:58:34 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel test robot <lkp@...el.com>, Dan Carpenter <dan.carpenter@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>
Subject: Re: wifi: cw1200: Fix potential NULL dereference
Linus Walleij <linus.walleij@...aro.org> wrote:
> A recent refactoring was identified by smatch to cause another potential NULL
> dereference:
>
> drivers/net/wireless/st/cw1200/cw1200_spi.c:440 cw1200_spi_disconnect() error: we previously assumed 'self' could be null (see line 433)
>
> Reported-by: kernel test robot <lkp@...el.com>
> Reported-by: Dan Carpenter <dan.carpenter@...aro.org>
> Closes: https://lore.kernel.org/r/202411271742.Xa7CNVh1-lkp@intel.com/
> Fixes: 2719a9e7156c ("wifi: cw1200: Convert to GPIO descriptors")
> Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
Patch applied to wireless.git, thanks.
146b6057e1fd wifi: cw1200: Fix potential NULL dereference
--
https://patchwork.kernel.org/project/linux-wireless/patch/20241217-cw1200-fix-v1-1-911e6b5823ec@linaro.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists