Messages in this thread | | | Subject | Re: [PATCH v2] wifi: rtw89: Add missing check for alloc_workqueue | From | Kalle Valo <> | Date | Mon, 16 Jan 2023 13:36:25 +0000 (UTC) |
| |
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
-- https://patchwork.kernel.org/project/linux-wireless/patch/20230104142901.1611-1-jiasheng@iscas.ac.cn/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |