Re: [PATCH 1/2 v2] iwl4965: Add missing check for create_singlethread_workqueue

From: Kalle Valo
Date: Mon Feb 13 2023 - 10:10:54 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>

A tip for future submissions, when you submit a new version please submit all
patches from the patchset as v2. It's difficult to pick patches with different
versions.

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

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