[alobakin:xdp_hints 5/52] net/bpf/prog_ops.c:895:31: sparse: sparse: symbol 'xdp_verifier_ops' was not declared. Should it be static?

From: kernel test robot
Date: Wed Jul 06 2022 - 13:01:41 EST


tree: https://github.com/alobakin/linux xdp_hints
head: e9f4215398901c2e3f477da53abc668ce7b7e320
commit: 40ce0c8bf2731c92fb015a03a7f9b26d90d547d0 [5/52] net, xdp: decouple XDP code from the core networking code
config: i386-randconfig-s001 (https://download.01.org/0day-ci/archive/20220707/202207070053.RTwePsFp-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/alobakin/linux/commit/40ce0c8bf2731c92fb015a03a7f9b26d90d547d0
git remote add alobakin https://github.com/alobakin/linux
git fetch --no-tags alobakin xdp_hints
git checkout 40ce0c8bf2731c92fb015a03a7f9b26d90d547d0
# 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=i386 SHELL=/bin/bash net/bpf/

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


sparse warnings: (new ones prefixed by >>)
>> net/bpf/prog_ops.c:895:31: sparse: sparse: symbol 'xdp_verifier_ops' was not declared. Should it be static?

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