Re: [PATCH v2] wifi: rtw89: Add missing check for alloc_workqueue

Kalle Valo
2023-01-16T13:36:41Z

Jiasheng Jiang <jiasheng@iscas.ac.cn> 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@iscas.ac.cn>
> Acked-by: Ping-Ke Shih <pkshih@realtek.com>
> Reviewed-by: Leon Romanovsky <leonro@nvidia.com>

Patch applied to wireless-next.git, thanks.

ed9e6166eb09 wifi: rtw89: Add missing check for alloc_workqueue

--