Messages in this thread | | | Date | Thu, 11 Nov 2021 19:51:33 +0800 | From | kernel test robot <> | Subject | [toke:xdp-queueing-01 2/9] net/core/filter.c:10033:15: error: use of undeclared identifier 'bpf_prog_test_run_dequeue' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-queueing-01 head: 7cdc645073a59261514e56e1a4c6d0dac1b24b32 commit: 64155ff31b7e15635ccae5395cf57caa0834faba [2/9] xdp: add dequeue program type for getting packets from a PIFO config: riscv-buildonly-randconfig-r002-20211111 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 63ef0e17e28827eae53133b3467bdac7d9729318) 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 # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/commit/?id=64155ff31b7e15635ccae5395cf57caa0834faba git remote add toke https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git git fetch --no-tags toke xdp-queueing-01 git checkout 64155ff31b7e15635ccae5395cf57caa0834faba # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/ drivers/gpu/drm/ net/core/
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
net/core/filter.c:3992:10: error: implicit declaration of function 'pifo_map_enqueue' [-Werror,-Wimplicit-function-declaration] err = pifo_map_enqueue(map, xdp, ri->tgt_index); ^ >> net/core/filter.c:10033:15: error: use of undeclared identifier 'bpf_prog_test_run_dequeue' .test_run = bpf_prog_test_run_dequeue, ^ 2 errors generated.
vim +/bpf_prog_test_run_dequeue +10033 net/core/filter.c
10031 10032 const struct bpf_prog_ops dequeue_prog_ops = { 10033 .test_run = bpf_prog_test_run_dequeue, 10034 }; 10035
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |