Re: wifi: iwlegacy: Add null pointer check to il_leds_init()
From: Kalle Valo
Date: Tue Dec 12 2023 - 10:35:44 EST
Kunwu Chan <chentao@xxxxxxxxxx> wrote:
> kasprintf() returns a pointer to dynamically allocated memory
> which can be NULL upon failure.
>
> Cc: Kunwu Chan <kunwu.chan@xxxxxxxxxxx>
> Signed-off-by: Kunwu Chan <chentao@xxxxxxxxxx>
> Acked-by: Stanislaw Gruszka <stf_xl@xxxxx>
Patch applied to wireless-next.git, thanks.
afd549903ea9 wifi: iwlegacy: Add null pointer check to il_leds_init()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20231211033019.238149-1-chentao@xxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches