Re: [PATCH v4 2/6] cgroup: add support for eBPF programs
From: kbuild test robot <hidden>
Date: 2016-09-07 05:01:09
Also in:
cgroups
Hi Daniel, [auto build test ERROR on net-next/master] [also build test ERROR on next-20160906] [cannot apply to linus/master linux/master v4.8-rc5] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Daniel-Mack/Add-eBPF-hooks-for-cgroups/20160907-110357 config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=xtensa All errors (new ones prefixed by >>): In file included from include/linux/cgroup-defs.h:19:0, from include/linux/sched.h:61, from include/linux/ptrace.h:5, from arch/xtensa/kernel/asm-offsets.c:21: include/linux/bpf-cgroup.h: In function 'cgroup_bpf_run_filter':
quoted
include/linux/bpf-cgroup.h:48:2: error: implicit declaration of function 'static_branch_unlikely' [-Werror=implicit-function-declaration]
if (cgroup_bpf_enabled)
^
cc1: some warnings being treated as errors
make[2]: *** [arch/xtensa/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +/static_branch_unlikely +48 include/linux/bpf-cgroup.h
42
43 /* Wrapper for __cgroup_bpf_run_filter() guarded by cgroup_bpf_enabled */
44 static inline int cgroup_bpf_run_filter(struct sock *sk,
45 struct sk_buff *skb,
46 enum bpf_attach_type type)
47 {
> 48 if (cgroup_bpf_enabled)
49 return __cgroup_bpf_run_filter(sk, skb, type);
50
51 return 0;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/octet-stream] 46120 bytes