Re: [PATCH v3 bpf-next] selftests/bpf: Fix the issue where the error code is 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

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

On Mon,  8 Sep 2025 14:08:10 +0800 you wrote:
> From: Feng Yang <yangfeng@xxxxxxxxxx>
> 
> 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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux