[cilium:pr/meta5 4/9] sch_ingress.c:undefined reference to `sch_prog_detach_kern'

From: kernel test robot
Date: Mon Jul 25 2022 - 21:23:28 EST


tree: https://github.com/cilium/linux.git pr/meta5
head: bdb1b1139e4c469db3c039c9540b6252ac6363e7
commit: fafe94e50da7d56dd12f94a7bf97a0e3a9dda12d [4/9] bpf: Add initial fd-based API to attach tc BPF programs
config: x86_64-randconfig-s021 (https://download.01.org/0day-ci/archive/20220726/202207260912.cE7cA84I-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/cilium/linux/commit/fafe94e50da7d56dd12f94a7bf97a0e3a9dda12d
git remote add cilium https://github.com/cilium/linux.git
git fetch --no-tags cilium pr/meta5
git checkout fafe94e50da7d56dd12f94a7bf97a0e3a9dda12d
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

ld: net/sched/sch_ingress.o: in function `ingress_destroy':
>> sch_ingress.c:(.text+0x19c): undefined reference to `sch_prog_detach_kern'
ld: net/sched/sch_ingress.o: in function `clsact_destroy':
sch_ingress.c:(.text+0x221): undefined reference to `sch_prog_detach_kern'
>> ld: sch_ingress.c:(.text+0x233): undefined reference to `sch_prog_detach_kern'
ld: net/sched/sch_ingress.o: in function `clsact_init':
>> sch_ingress.c:(.text+0x6bc): undefined reference to `sch_prog_attach_kern'
>> ld: sch_ingress.c:(.text+0x796): undefined reference to `sch_prog_attach_kern'
ld: net/sched/sch_ingress.o: in function `ingress_init':
sch_ingress.c:(.text+0x92f): undefined reference to `sch_prog_attach_kern'

--
0-DAY CI Kernel Test Service
https://01.org/lkp