[t-kristo-pm:usi-5.16-rfc-v2-bpf 27/30] syscall.c:undefined reference to `hid_prog_detach'
From: kernel test robot
Date: Sat Nov 27 2021 - 00:19:32 EST
tree: https://github.com/t-kristo/linux-pm usi-5.16-rfc-v2-bpf
head: 241207b4769fca049dfcc4dbde0bda92e4f67027
commit: a6e125d8c63a6fd1214ecadcce4b317e57475f81 [27/30] DEBUG: bpf: syscall: add some debug traces
config: m68k-defconfig (https://download.01.org/0day-ci/archive/20211127/202111271317.2WIt2rDW-lkp@xxxxxxxxx/config)
compiler: m68k-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://github.com/t-kristo/linux-pm/commit/a6e125d8c63a6fd1214ecadcce4b317e57475f81
git remote add t-kristo-pm https://github.com/t-kristo/linux-pm
git fetch --no-tags t-kristo-pm usi-5.16-rfc-v2-bpf
git checkout a6e125d8c63a6fd1214ecadcce4b317e57475f81
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
m68k-linux-ld: kernel/bpf/syscall.o: in function `bpf_prog_attach':
syscall.c:(.text+0x3888): undefined reference to `hid_prog_attach'
m68k-linux-ld: kernel/bpf/syscall.o: in function `__sys_bpf':
>> syscall.c:(.text+0x4ae2): undefined reference to `hid_prog_detach'
m68k-linux-ld: syscall.c:(.text+0x4b64): undefined reference to `hid_prog_query'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx