Re: [PATCH v2] wifi: rtw89: Add missing check for alloc_workqueue
From: Kalle Valo
Date: Mon Jan 16 2023 - 08:36:41 EST
Jiasheng Jiang <jiasheng@xxxxxxxxxxx> wrote:
> Add check for the return value of alloc_workqueue since it may return
> NULL pointer.
> Moreover, add destroy_workqueue when rtw89_load_firmware fails.
>
> Fixes: e3ec7017f6a2 ("rtw89: add Realtek 802.11ax driver")
> Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>
> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
> Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>
Patch applied to wireless-next.git, thanks.
ed9e6166eb09 wifi: rtw89: Add missing check for alloc_workqueue
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230104142901.1611-1-jiasheng@xxxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches