Re: [PATCH v2] libbpf: Fix is_pow_of_2

From: Andrii Nakryiko
Date: Thu Jun 16 2022 - 17:00:59 EST


On Tue, Jun 14, 2022 at 1:41 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
>
> On Fri, Jun 3, 2022 at 11:30 AM <patchwork-bot+netdevbpf@xxxxxxxxxx> wrote:
> >
> > Hello:
> >
> > This patch was applied to bpf/bpf-next.git (master)
> > by Andrii Nakryiko <andrii@xxxxxxxxxx>:
> >
> > On Thu, 2 Jun 2022 22:51:56 -0700 you wrote:
> > > From: Yuze Chi <chiyuze@xxxxxxxxxx>
> > >
> > > Move the correct definition from linker.c into libbpf_internal.h.
> > >
> > > Reported-by: Yuze Chi <chiyuze@xxxxxxxxxx>
> > > Signed-off-by: Yuze Chi <chiyuze@xxxxxxxxxx>
> > > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
> > >
> > > [...]
> >
> > Here is the summary with links:
> > - [v2] libbpf: Fix is_pow_of_2
> > https://git.kernel.org/bpf/bpf-next/c/f913ad6559e3
> >
> > You are awesome, thank you!
>
> Will this patch get added to 5.19?
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/lib/bpf/libbpf.c#n4948
>

I've applied it to bpf-next, so as it stands right now - no. Do you
need this for perf?

> Thanks,
> Ian
>
> > --
> > Deet-doot-dot, I am a bot.
> > https://korg.docs.kernel.org/patchwork/pwbot.html
> >
> >