Re: [PATCH v2] net/smc: replace strncpy with strscpy
From: patchwork-bot+netdevbpf
Date: Mon Jun 23 2025 - 20:10:08 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Fri, 20 Jun 2025 15:55:59 +0530 you 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>
> ---
> net/smc/smc_pnet.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [v2] net/smc: replace strncpy with strscpy
https://git.kernel.org/netdev/net-next/c/ae2402bf882b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html