Re: [PATCH v3] wifi: cfg80211: Use kmemdup_array instead of kmemdup for multiple allocation

From: Kalle Valo
Date: Thu Aug 22 2024 - 02:59:59 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
>
> v3:
> -Fix R-b tag
> -Leave --- above this information
>
> Signed-off-by: Yu Jiaoliang <yujiaoliang@xxxxxxxx>
> Reviewed-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Now Signed-off-by and Reviewed-by are in the wrong location. Please
carefully read the wiki page below how to submit patches.

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

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