Re: [PATCH v2] wifi: cfg80211: Use kmemdup_array instead of kmemdup for multiple allocation
From: Kalle Valo
Date: Wed Aug 21 2024 - 13:26:55 EST
Yu Jiaoliang <yujiaoliang@xxxxxxxx> writes:
> Let the kememdup_array() take care about multiplication and possible
> overflows.
>
> v2:
> -Change sizeof(limits[0]) to sizeof(*limits)
> -Fix title prefix
>
> Signed-off-by: Yu Jiaoliang <yujiaoliang@xxxxxxxx>
> Reviewed-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> Reviewed-by: Kalle Valo <kvalo@xxxxxxxxxx>
No, I did not review your patch. Do not add any tags (like Reviewed-by)
unless a person gives you that in a reply.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches