Re: [PATCH v2 2/3] net: wireless: move from strlcpy with unused retval to strscpy
From: Kalle Valo
Date: Wed Aug 31 2022 - 01:32:21 EST
Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> writes:
> Follow the advice of the below link and prefer 'strscpy' in this
> subsystem. Conversion is 1:1 because the return value is not used.
> Generated by a coccinelle script.
>
> Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@xxxxxxxxxxxxxx/
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
Thanks, I see this in patchwork now:
https://patchwork.kernel.org/project/linux-wireless/patch/20220830201457.7984-2-wsa+renesas@xxxxxxxxxxxxxxxxxxxx/
Net folks, I assume I'll take this patch 2 to wireless-next. But if you
want to take it instead just let me know.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches