Re: [PATCH v1] net: wireless: Use kmemdup_array instead of kmemdup for multiple allocation

From: Kalle Valo
Date: Wed Aug 21 2024 - 07:22:05 EST


Yu Jiaoliang <yujiaoliang@xxxxxxxx> writes:

> Let the kememdup_array() take care about multiplication and possible
> overflows.
>
> Signed-off-by: Yu Jiaoliang <yujiaoliang@xxxxxxxx>
> ---
> net/wireless/util.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

The title prefix should be "wifi: cfg80211:".

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

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