Content-Type: multipart/mixed; boundary="===============7536450916089587091==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC bpf-next 1/4] bpf: cgroup_sock lsm flavor Date: Wed, 16 Feb 2022 11:59:23 +0800 Message-ID: <202202161116.E0tzCXNk-lkp@intel.com> In-Reply-To: <20220216001241.2239703-2-sdf@google.com> List-Id: --===============7536450916089587091== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Stanislav, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Stanislav-Fomichev/bpf-cgr= oup_sock-lsm-flavor/20220216-081444 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git ma= ster config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/202202= 16/202202161116.E0tzCXNk-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/054de9533f9ed11c320c7d141= 1504b95d80be131 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Stanislav-Fomichev/bpf-cgroup_sock= -lsm-flavor/20220216-081444 git checkout 054de9533f9ed11c320c7d1411504b95d80be131 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash kernel/bpf/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/bpf/cgroup.c:1115:5: warning: no previous prototype for '__cgroup= _bpf_run_lsm_sock' [-Wmissing-prototypes] 1115 | int __cgroup_bpf_run_lsm_sock(u64 *regs, const struct bpf_prog *= prog) | ^~~~~~~~~~~~~~~~~~~~~~~~~ vim +/__cgroup_bpf_run_lsm_sock +1115 kernel/bpf/cgroup.c 1114 = > 1115 int __cgroup_bpf_run_lsm_sock(u64 *regs, const struct bpf_prog *prog) 1116 { 1117 struct socket *sock =3D (void *)regs[BPF_REG_0]; 1118 struct cgroup *cgrp; 1119 struct sock *sk; 1120 = 1121 sk =3D sock->sk; 1122 if (!sk) 1123 return 0; 1124 = 1125 cgrp =3D sock_cgroup_ptr(&sk->sk_cgrp_data); 1126 = 1127 return BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[prog->aux->cgroup_= atype], 1128 regs, bpf_prog_run, 0); 1129 } 1130 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7536450916089587091==--