Re: [PATCH] iwlwifi: Add missing check for alloc_ordered_workqueue

From: Leon Romanovsky
Date: Wed Jan 04 2023 - 06:48:08 EST


On Wed, Jan 04, 2023 at 06:00:59PM +0800, Jiasheng Jiang wrote:
> Add check for the return value of alloc_ordered_workqueue since it may
> return NULL pointer.
>
> Fixes: b481de9ca074 ("[IWLWIFI]: add iwlwifi wireless drivers")
> Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>
> ---
> drivers/net/wireless/intel/iwlwifi/dvm/main.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>