[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <165484674004.24214.13068275820248967076.kvalo@kernel.org>
Date: Fri, 10 Jun 2022 07:39:18 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: cgel.zte@...il.com
Cc: jerome.pouiller@...abs.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Minghao Chi <chi.minghao@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: wifi: wfx: Remove redundant NULL check before release_firmware()
call
cgel.zte@...il.com wrote:
> From: Minghao Chi <chi.minghao@....com.cn>
>
> release_firmware() checks for NULL pointers internally so checking
> before calling it is redundant.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Minghao Chi <chi.minghao@....com.cn>
> Acked-by: Jérôme Pouiller <jerome.pouiller@...abs.com>
Patch applied to wireless-next.git, thanks.
05a2eebfa650 wifi: wfx: Remove redundant NULL check before release_firmware() call
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220606014237.290466-1-chi.minghao@zte.com.cn/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists