[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87bkusws0j.fsf@cloudflare.com>
Date: Thu, 16 Jun 2022 17:23:39 +0200
From: Jakub Sitnicki <jakub@...udflare.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org,
Alexei Starovoitov <ast@...nel.org>,
Andrii Nakryiko <andrii@...nel.org>,
Maciej Fijalkowski <maciej.fijalkowski@...el.com>,
kernel-team@...udflare.com
Subject: Re: [PATCH bpf-next 2/2] selftests/bpf: Test tail call counting
with bpf2bpf and data on stack
On Thu, Jun 16, 2022 at 04:41 PM +02, Daniel Borkmann wrote:
[...]
> Looks like this fails CI with:
>
> progs/tailcall_bpf2bpf6.c:17:40: error: unknown attribute 'always_unused' ignored [-Werror,-Wunknown-attributes]
> int classifier_0(struct __sk_buff *skb __unused)
> ^~~~~~~~
> progs/tailcall_bpf2bpf6.c:5:33: note: expanded from macro '__unused'
> #define __unused __attribute__((always_unused))
> ^~~~~~~~~~~~~
> 1 error generated.
> make: *** [Makefile:509: /tmp/runner/work/bpf/bpf/tools/testing/selftests/bpf/tailcall_bpf2bpf6.o] Error 1
> make: *** Waiting for unfinished jobs....
> Error: Process completed with exit code 2.
I will switch to __attribute__((unused)) and ignore what checkpatch
says. Will respin. Thanks!
Powered by blists - more mailing lists