[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201609071211.I1FKAq59%fengguang.wu@intel.com>
Date: Wed, 7 Sep 2016 13:00:12 +0800
From: kbuild test robot <lkp@...el.com>
To: Daniel Mack <daniel@...que.org>
Cc: kbuild-all@...org, htejun@...com, daniel@...earbox.net, ast@...com,
davem@...emloft.net, kafai@...com, fw@...len.de,
pablo@...filter.org, harald@...hat.com, netdev@...r.kernel.org,
sargun@...gun.me, cgroups@...r.kernel.org,
Daniel Mack <daniel@...que.org>
Subject: Re: [PATCH v4 2/6] cgroup: add support for eBPF programs
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':
>> 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
Download attachment ".config.gz" of type "application/octet-stream" (46120 bytes)
Powered by blists - more mailing lists