Re: [PATCH net-next] caif: Replace memset(0) + strscpy() with strscpy_pad()
From: patchwork-bot+netdevbpf
Date: Tue Aug 12 2025 - 17:20:53 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 11 Aug 2025 11:34:40 +0200 you wrote:
> Replace memset(0) followed by strscpy() with strscpy_pad() to improve
> cfctrl_linkup_request(). This avoids zeroing the memory before copying
> the string and ensures the destination buffer is only written to once,
> simplifying the code and improving efficiency.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net-next] caif: Replace memset(0) + strscpy() with strscpy_pad()
https://git.kernel.org/netdev/net-next/c/63fe077c21d3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html