Re: [PATCH v2 1/2] powerpc64/bpf: Fix build break in bpf_jit_emit_func_call_rel()

From: Madhavan Srinivasan

Date: Thu Aug 06 2026 - 00:17:18 EST


On Thu, 30 Jul 2026 11:16:02 +0530, Saket Kumar Bhaskar wrote:
> With CONFIG_PPC_KERNEL_PCREL enabled, build breaks with below error:
>
> CC mm/dmapool.o
> CC fs/readdir.o
> arch/powerpc/net/bpf_jit_comp64.c: In function 'bpf_jit_emit_func_call_rel':
> arch/powerpc/net/bpf_jit_comp64.c:475:13: error: unused variable 'ret' [-Werror=unused-variable]
> 475 | int ret;
> | ^~~
>
> [...]

Applied to powerpc/next.

[1/2] powerpc64/bpf: Fix build break in bpf_jit_emit_func_call_rel()
https://git.kernel.org/powerpc/c/e8ee988c0087248324dbd3da486d22045e4a4079
[2/2] powerpc64/bpf: Fix build break for arch_bpf_timed_may_goto
https://git.kernel.org/powerpc/c/e1e5e682511eda648aa91372542cc8f665ad0bff

cheers