Hello:

This patch was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin....@kernel.org>:

On Mon,  8 Sep 2025 14:08:10 +0800 you wrote:
> From: Feng Yang <yangf...@kylinos.cn>
> 
> The error message printed here only uses the previous err value,
> which results in it being printed as 0.
> When bpf_map__attach_struct_ops encounters an error,
> it uses libbpf_err_ptr(err) to set errno = -err and returns NULL.
> Therefore, Using -errno can fix this issue.
> 
> [...]

Here is the summary with links:
  - [v3,bpf-next] selftests/bpf: Fix the issue where the error code is 0
    https://git.kernel.org/bpf/bpf-next/c/93a83d044314

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



Reply via email to