Re: [PATCH v2 bpf-next 4/6] bpf: implement bpf_prog replacement for an active bpf_cgroup_link
From: kbuild test robot <hidden>
Date: 2020-03-26 00:46:22
Also in:
bpf, oe-kbuild-all
Hi Andrii, I love your patch! Perhaps something to improve: [auto build test WARNING on bpf-next/master] [cannot apply to bpf/master cgroup/for-next v5.6-rc7 next-20200325] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Andrii-Nakryiko/Add-support-for-cgroup-bpf_link/20200326-055942 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master config: mips-fuloong2e_defconfig (attached as .config) compiler: mips64el-linux-gcc (GCC) 5.5.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree GCC_VERSION=5.5.0 make.cross ARCH=mips If you fix the issue, kindly add following tag Reported-by: kbuild test robot <redacted> All warnings (new ones prefixed by >>): In file included from include/linux/cgroup-defs.h:22:0, from include/linux/cgroup.h:28, from include/linux/memcontrol.h:13, from include/linux/swap.h:9, from include/linux/suspend.h:5, from arch/mips/kernel/asm-offsets.c:17:
quoted
include/linux/bpf-cgroup.h:382:17: warning: 'struct bpf_link' declared inside parameter list
struct bpf_prog *new_prog)
^quoted
include/linux/bpf-cgroup.h:382:17: warning: its scope is only this definition or declaration, which is probably not what you want
--
In file included from include/linux/cgroup-defs.h:22:0,
from include/linux/cgroup.h:28,
from include/linux/memcontrol.h:13,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/mips/kernel/asm-offsets.c:17:quoted
include/linux/bpf-cgroup.h:382:17: warning: 'struct bpf_link' declared inside parameter list
struct bpf_prog *new_prog)
^quoted
include/linux/bpf-cgroup.h:382:17: warning: its scope is only this definition or declaration, which is probably not what you want
20 real 6 user 9 sys 75.80% cpu make prepare
vim +382 include/linux/bpf-cgroup.h
379
380 static inline int cgroup_bpf_replace(struct bpf_link *link,
381 struct bpf_prog *old_prog,
> 382 struct bpf_prog *new_prog)
383 {
384 return -EINVAL;
385 }
386
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 19209 bytes