tree:
https://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git fexit_fix
head: d0953e3c28d70fa9d39e6db07d2cffbe7ce1f0e2
commit: d0953e3c28d70fa9d39e6db07d2cffbe7ce1f0e2 [2/2] bpf: Fix fexit trampoline.
config: x86_64-randconfig-s032-20210312 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-262-g5e674421-dirty
#
https://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git/commit/?id=d0...
git remote add ast
https://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git
git fetch --no-tags ast fexit_fix
git checkout d0953e3c28d70fa9d39e6db07d2cffbe7ce1f0e2
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
> kernel/bpf/trampoline.c:199:29: sparse: sparse: symbol
'bpf_trampoline_image_alloc' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org