Messages in this thread | | | Subject | Re: wifi: iwlegacy: Add null pointer check to il_leds_init() | From | Kalle Valo <> | Date | Tue, 12 Dec 2023 15:35:37 +0000 (UTC) |
| |
Kunwu Chan <chentao@kylinos.cn> wrote:
> kasprintf() returns a pointer to dynamically allocated memory > which can be NULL upon failure. > > Cc: Kunwu Chan <kunwu.chan@hotmail.com> > Signed-off-by: Kunwu Chan <chentao@kylinos.cn> > Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
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@kylinos.cn/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |