On Tue, Aug 17, 2021 at 5:25 PM Andrii Nakryiko wrote: > > On Tue, Aug 17, 2021 at 3:36 PM kernel test robot wrote: > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > head: 9803fb968c8c2e1283f67b3baeb88e0adba435b4 > > commit: 82e6b1eee6a8875ef4eacfd60711cce6965c6b04 [7954/8516] bpf: Allow to specify user-provided bpf_cookie for BPF perf links > > config: i386-randconfig-r021-20210816 (attached as .config) > > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2c6448cdc2f68f8c28fd0bd9404182b81306e6e6) > > reproduce (this is a W=1 build): ^ W=1 build > > vim +/bpf_cookie +695 include/linux/trace_events.h > > > > 693 > > 694 static inline int > > > 695 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) > > This is expected for such stub implementations. Is there any way to > silence this or make the compiler happy about that? Leaving the name off unused parameters: https://godbolt.org/z/eaaen8ToP > > > 696 { > > 697 return -EOPNOTSUPP; > > 698 } > > 699 > > > > --- > > 0-DAY CI Kernel Test Service, Intel Corporation > > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org > > -- > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/CAEf4BzaLJqYxRWZJbVMr%2Boa%2B_7Y7mgfxtUg3KuvbqMo%3DfT4-7Q%40mail.gmail.com. -- Thanks, ~Nick Desaulniers