2023-10-23 09:09:05

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] wifi: iwlwifi: Add check for kmemdup

Chen Ni <[email protected]> writes:

> Since the kmemdup may return NULL pointer,
> it should be better to add check for the return value
> in order to avoid NULL pointer dereference.
>
> Fixes: 5e31b3df86ec ("wifi: iwlwifi: dbg: print pc register data once
> fw dump occurred")

The fixes tag should be in one line.

--
https://patchwork.kernel.org/project/linux-wireless/list/

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