[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164565781045.27751.16899329046615535946.git-patchwork-notify@kernel.org>
Date: Wed, 23 Feb 2022 23:10:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Yuntao Wang <ytcoode@...il.com>
Cc: bpf@...r.kernel.org, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, kafai@...com, songliubraving@...com, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf-next] libbpf: Simplify the find_elf_sec_sz() function
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@...nel.org>:
On Wed, 23 Feb 2022 16:52:44 +0800 you wrote:
> The check in the last return statement is unnecessary, we can just return
> the ret variable.
>
> But we can simplify the function further by returning 0 immediately if we
> find the section size and -ENOENT otherwise.
>
> Thus we can also remove the ret variable.
>
> [...]
Here is the summary with links:
- [bpf-next] libbpf: Simplify the find_elf_sec_sz() function
https://git.kernel.org/bpf/bpf-next/c/08894d9c647a
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