Re: [PATCH net-next] wl18xx: use strscpy() to instead of strncpy()

From: Kalle Valo
Date: Fri Dec 23 2022 - 01:31:20 EST


<yang.yang29@xxxxxxxxxx> writes:

> From: Xu Panda <xu.panda@xxxxxxxxxx>
>
> The implementation of strscpy() is more robust and safer.
> That's now the recommended way to copy NUL-terminated strings.
>
> Signed-off-by: Xu Panda <xu.panda@xxxxxxxxxx>
> Signed-off-by: Yang Yang <yang.yang29@xxxxxxx>
> ---
> drivers/net/wireless/ti/wl18xx/main.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)

Wireless patches go to wireless-next, not net-next. Also always Cc
linux-wireless list, more info in the wiki link below.

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

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