[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202203291256.TUOyKEtD-lkp@intel.com>
Date: Tue, 29 Mar 2022 12:08:22 +0800
From: kernel test robot <lkp@...el.com>
To: Roberto Sassu <roberto.sassu@...wei.com>, corbet@....net,
viro@...iv.linux.org.uk, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, kpsingh@...nel.org, shuah@...nel.org,
mcoquelin.stm32@...il.com, alexandre.torgue@...s.st.com,
zohar@...ux.ibm.com
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-doc@...r.kernel.org, linux-fsdevel@...r.kernel.org,
netdev@...r.kernel.org, bpf@...r.kernel.org,
linux-kselftest@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org,
linux-integrity@...r.kernel.org,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org,
Roberto Sassu <roberto.sassu@...wei.com>
Subject: Re: [PATCH 16/18] bpf-preload: Do kernel mount to ensure that pinned
objects don't disappear
Hi Roberto,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
[also build test ERROR on linus/master next-20220328]
[cannot apply to bpf/master v5.17]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Roberto-Sassu/bpf-Secure-and-authenticated-preloading-of-eBPF-programs/20220329-015829
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: hexagon-randconfig-r041-20220328 (https://download.01.org/0day-ci/archive/20220329/202203291256.TUOyKEtD-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/eddbb1ec1e92ba00c4acc9f123769265e17e8e40
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Roberto-Sassu/bpf-Secure-and-authenticated-preloading-of-eBPF-programs/20220329-015829
git checkout eddbb1ec1e92ba00c4acc9f123769265e17e8e40
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
kernel/bpf/inode.c:25:37: error: use of undeclared identifier 'CONFIG_BPF_PRELOAD_LIST'
static char *bpf_preload_list_str = CONFIG_BPF_PRELOAD_LIST;
^
>> kernel/bpf/inode.c:1026:13: error: redefinition of 'mount_bpffs'
void __init mount_bpffs(void)
^
include/linux/bpf.h:1146:27: note: previous definition is here
static inline void __init mount_bpffs(void)
^
2 errors generated.
vim +/mount_bpffs +1026 kernel/bpf/inode.c
1025
> 1026 void __init mount_bpffs(void)
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists