[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175735141225.4178020.16850270917605667422.git-patchwork-notify@kernel.org>
Date: Mon, 08 Sep 2025 17:10:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Feng Yang <yangfeng59949@....com>
Cc: ast@...nel.org, daniel@...earbox.net, john.fastabend@...il.com,
andrii@...nel.org, martin.lau@...ux.dev, eddyz87@...il.com, song@...nel.org,
yonghong.song@...ux.dev, kpsingh@...nel.org, sdf@...ichev.me,
haoluo@...gle.com, jolsa@...nel.org, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH v3 bpf-next] selftests/bpf: Fix the issue where the error
code
is 0
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@...nel.org>:
On Mon, 8 Sep 2025 14:08:10 +0800 you wrote:
> From: Feng Yang <yangfeng@...inos.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
Powered by blists - more mailing lists