Re: [PATCH v2 net-next] net/sched: replace strncpy with strscpy

From: Simon Horman
Date: Fri Jun 20 2025 - 15:59:34 EST


On Fri, Jun 20, 2025 at 04:06:53PM +0530, Pranav Tyagi wrote:
> Replace the deprecated strncpy() with the two-argument version of
> strscpy() as the destination is an array
> and buffer should be NUL-terminated.
>
> Signed-off-by: Pranav Tyagi <pranav.tyagi03@xxxxxxxxx>

Thanks for the update.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>