mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [toke:xdp-queueing-01 2/9] net/core/filter.c:10033:35: error: 'bpf_prog_test_run_dequeue' undeclared here (not in a function); did you mean 'bpf_prog_test_run_syscall'?
@ 2021-11-11 21:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-11 21:27 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2308 bytes --]

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: sparc-defconfig (attached as .config)
compiler: sparc-linux-gcc (GCC) 11.2.0
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://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=gcc-11.2.0 make.cross O=build_dir ARCH=sparc SHELL=/bin/bash

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: In function 'xdp_do_redirect':
   net/core/filter.c:3992:31: error: implicit declaration of function 'pifo_map_enqueue'; did you mean 'cpu_map_enqueue'? [-Werror=implicit-function-declaration]
    3992 |                         err = pifo_map_enqueue(map, xdp, ri->tgt_index);
         |                               ^~~~~~~~~~~~~~~~
         |                               cpu_map_enqueue
   net/core/filter.c: At top level:
>> net/core/filter.c:10033:35: error: 'bpf_prog_test_run_dequeue' undeclared here (not in a function); did you mean 'bpf_prog_test_run_syscall'?
   10033 |         .test_run               = bpf_prog_test_run_dequeue,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
         |                                   bpf_prog_test_run_syscall
   cc1: some warnings being treated as errors


vim +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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 13556 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-11 21:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 21:27 [toke:xdp-queueing-01 2/9] net/core/filter.c:10033:35: error: 'bpf_prog_test_run_dequeue' undeclared here (not in a function); did you mean 'bpf_prog_test_run_syscall'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®