Re: [PATCH bpf] libbpf: fix return value on memory allocation failure

From: patchwork-bot+netdevbpf

Date: Wed Dec 02 2026 - 22:40:14 EST


Hello:

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

On Wed, 2 Dec 2026 10:06:59 -0800 you wrote:
> From: Roman Gushchin <roman.gushchin@xxxxxxxxx>
>
> bpf_map__attach_struct_ops() returns -EINVAL instead of -ENOMEM
> on the memory allocation failure. Fix it.
>
> Fixes: 590a00888250 ("bpf: libbpf: Add STRUCT_OPS support")
> Signed-off-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>
> Acked-by: Yafang Shao <laoar.shao@xxxxxxxxx>
> Signed-off-by: Ben Gardon <bgardon@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [bpf] libbpf: fix return value on memory allocation failure
https://git.kernel.org/bpf/bpf-next/c/95d104a5e26f

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