Re: [PATCH bpf-next v2] bpf: Replace snprintf("%s", ...) with strscpy in parse_{base,module}

From: patchwork-bot+netdevbpf

Date: Mon Feb 02 2026 - 21:50:35 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Sun, 1 Feb 2026 22:52:48 +0100 you wrote:
> Replace snprintf("%s", ...) with the faster and more direct strscpy().
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> Changes in v2:
> - Keep snprintf("%s", ...) in btf_show_name() as suggested by Alexei
> - Update patch title
> - Link to v1: https://lore.kernel.org/lkml/20260201180445.664056-2-thorsten.blum@xxxxxxxxx/
>
> [...]

Here is the summary with links:
- [bpf-next,v2] bpf: Replace snprintf("%s", ...) with strscpy in parse_{base,module}
https://git.kernel.org/bpf/bpf-next/c/d95d76aa772b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html