[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0a63577d-b096-4189-8888-409c0503dbf5@linux.dev>
Date: Fri, 17 Oct 2025 09:41:45 -0700
From: Yonghong Song <yonghong.song@...ux.dev>
To: Brahmajit Das <listout@...tout.xyz>
Cc: andrii@...nel.org, bpf@...r.kernel.org, eddyz87@...il.com,
linux-kernel@...r.kernel.org, yangtiezhu@...ngson.cn
Subject: Re: [PATCH] selftests/bpf: Fix redefinition of 'off' as different
kind of symbol
On 10/17/25 8:54 AM, Brahmajit Das wrote:
> This fixes the following build error
>
> CLNG-BPF [test_progs] verifier_global_ptr_args.bpf.o
> progs/verifier_global_ptr_args.c:228:5: error: redefinition of 'off' as
> different kind of symbol
> 228 | u32 off;
> | ^
>
> Suggested-by: Yonghong Song <yonghong.song@...ux.dev>
> Signed-off-by: Brahmajit Das <listout@...tout.xyz>
Please add more context in the commit message about where the
redefinition of 'off' comes from.
Also, please replace [PATCH] to [PATCH bpf] so CI can do proper testing.
So in the next revision you can have [PATCH bpf v2].
With the changes in the above, you can carry my ack.
Acked-by: Yonghong Song <yonghong.song@...ux.dev>
> ---
> Please refer: https://lore.kernel.org/bpf/5ca1d6a6-5e5a-3485-d3cd-f9439612d1f3@loongson.cn/
> ---
> .../selftests/bpf/progs/verifier_global_ptr_args.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/tools/testing/selftests/bpf/progs/verifier_global_ptr_args.c b/tools/testing/selftests/bpf/progs/verifier_global_ptr_args.c
> index 6630a92b1b47..1204fbc58178 100644
> --- a/tools/testing/selftests/bpf/progs/verifier_global_ptr_args.c
> +++ b/tools/testing/selftests/bpf/progs/verifier_global_ptr_args.c
> @@ -225,7 +225,7 @@ int trusted_to_untrusted(void *ctx)
> }
>
> char mem[16];
> -u32 off;
> +u32 offset;
[...]
Powered by blists - more mailing lists