Re: [PATCH bpf-next v3] libbpf: Optimized return value in libbpf_strerror when errno is libbpf errno

From: patchwork-bot+netdevbpf
Date: Tue Dec 13 2022 - 17:02:51 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Sat, 10 Dec 2022 16:20:45 +0800 you wrote:
> This is a small improvement in libbpf_strerror. When libbpf_strerror
> is used to obtain the system error description, if the length of the
> buf is insufficient, libbpf_sterror returns ERANGE and sets errno to
> ERANGE.
>
> However, this processing is not performed when the error code
> customized by libbpf is obtained. Make some minor improvements here,
> return -ERANGE and set errno to ERANGE when buf is not enough for
> custom description.
>
> [...]

Here is the summary with links:
- [bpf-next,v3] libbpf: Optimized return value in libbpf_strerror when errno is libbpf errno
https://git.kernel.org/bpf/bpf-next/c/c2614f627941

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