Re: [1/2,v2] wifi: iwl4965: Add missing check for create_singlethread_workqueue()

From: Kalle Valo
Date: Mon Feb 13 2023 - 10:18:28 EST


Jiasheng Jiang <jiasheng@xxxxxxxxxxx> wrote:

> Add the check for the return value of the create_singlethread_workqueue()
> in order to avoid NULL pointer dereference.
>
> Fixes: b481de9ca074 ("[IWLWIFI]: add iwlwifi wireless drivers")
> Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>
> Acked-by: Stanislaw Gruszka <stf_xl@xxxxx>

Patch applied to wireless-next.git, thanks.

26e6775f7551 wifi: iwl4965: Add missing check for create_singlethread_workqueue()

--
https://patchwork.kernel.org/project/linux-wireless/patch/20230209010748.45454-1-jiasheng@xxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches