Re: [PATCH v2] net/smc: replace strncpy with strscpy
From: Simon Horman
Date: Fri Jun 20 2025 - 15:59:06 EST
On Fri, Jun 20, 2025 at 03:55:59PM +0530, Pranav Tyagi wrote:
> Replace the deprecated strncpy() with two-argument version of
> strscpy() as the destination is an array
> and should be NUL-terminated.
>
> Signed-off-by: Pranav Tyagi <pranav.tyagi03@xxxxxxxxx>
Thanks for the update.
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>