[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175035240860.927642.9498689393888953478.git-patchwork-notify@kernel.org>
Date: Thu, 19 Jun 2025 17:00:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Luis Gerhorst <luis.gerhorst@....de>
Cc: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
martin.lau@...ux.dev, eddyz87@...il.com, song@...nel.org,
yonghong.song@...ux.dev, john.fastabend@...il.com, kpsingh@...nel.org,
sdf@...ichev.me, haoluo@...gle.com, jolsa@...nel.org, hbathini@...ux.ibm.com,
christophe.leroy@...roup.eu, naveen@...nel.org, maddy@...ux.ibm.com,
mpe@...erman.id.au, npiggin@...il.com, bpf@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org, lkp@...el.com
Subject: Re: [PATCH bpf-next] powerpc/bpf: Fix warning for unused
ori31_emitted
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@...nel.org>:
On Thu, 19 Jun 2025 16:26:47 +0200 you wrote:
> Without this, the compiler (clang21) might emit a warning under W=1
> because the variable ori31_emitted is set but never used if
> CONFIG_PPC_BOOK3S_64=n.
>
> Without this patch:
>
> $ make -j $(nproc) W=1 ARCH=powerpc SHELL=/bin/bash arch/powerpc/net
> [...]
> CC arch/powerpc/net/bpf_jit_comp.o
> CC arch/powerpc/net/bpf_jit_comp64.o
> ../arch/powerpc/net/bpf_jit_comp64.c: In function 'bpf_jit_build_body':
> ../arch/powerpc/net/bpf_jit_comp64.c:417:28: warning: variable 'ori31_emitted' set but not used [-Wunused-but-set-variable]
> 417 | bool sync_emitted, ori31_emitted;
> | ^~~~~~~~~~~~~
> AR arch/powerpc/net/built-in.a
>
> [...]
Here is the summary with links:
- [bpf-next] powerpc/bpf: Fix warning for unused ori31_emitted
https://git.kernel.org/bpf/bpf-next/c/e30329b8a647
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