Re: [PATCH] bpf: Fix a erroneous check after snprintf()

From: patchwork-bot+netdevbpf
Date: Tue Sep 12 2023 - 16:20:29 EST


Hello:

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

On Fri, 8 Sep 2023 18:33:35 +0200 you wrote:
> snprintf() does not return negative error code on error, it returns the
> number of characters which *would* be generated for the given input.
>
> Fix the error handling check.
>
> Fixes: 57539b1c0ac2 ("bpf: Enable annotating trusted nested pointers")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- bpf: Fix a erroneous check after snprintf()
https://git.kernel.org/bpf/bpf/c/a8f12572860a

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