Re: [kbuild] arch/powerpc/net/bpf_jit_comp.c:225 bpf_int_jit_compile() error: uninitialized symbol 'pass'.

From: Dan Carpenter
Date: Fri Feb 04 2022 - 09:15:46 EST


On Fri, Feb 04, 2022 at 01:18:24PM +0000, Christophe Leroy wrote:
> Hi Dan,
>
> Le 04/02/2022 à 11:37, Dan Carpenter a écrit :
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 88808fbbead481aedb46640a5ace69c58287f56a
> > commit: 51c66ad849a703d9bbfd7704c941827aed0fd9fd powerpc/bpf: Implement extended BPF on PPC32
>
> As far as I can see, it's been there long before that.
>
> Seems it comes from 025dceb0fab3 ("bpf: powerpc64: optimize JIT passes
> for bpf function calls")

These emails are auto generated by bot. I just look over the email and
verify it looks reasonable. Moving the code around sometimes makes it
show up as a new bug. Also changes to the Kconfig file can affect which
code is checked.

The commit that you mention does not generate a warning. The warning
started in commit 025dceb0fab3 ("bpf: powerpc64: optimize JIT passes for
bpf function calls").

regards,
dan carpenter