Re: [v2,2/3] wifi: move from strlcpy with unused retval to strscpy

From: Kalle Valo
Date: Fri Sep 02 2022 - 04:48:26 EST


Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:

> 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>

Patch applied to wireless-next.git, thanks.

bf99f11df4de wifi: move from strlcpy with unused retval to strscpy

--
https://patchwork.kernel.org/project/linux-wireless/patch/20220830201457.7984-2-wsa+renesas@xxxxxxxxxxxxxxxxxxxx/

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