Hi Cong,
I love your patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
url:
https://github.com/0day-ci/linux/commits/Cong-Wang/sock_map-clean-up-and-...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: parisc-randconfig-p001-20210209 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/f25d67a119a1e1eac71d5dd2d4ff34465...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Cong-Wang/sock_map-clean-up-and-refactor-code-for-BPF_SK_SKB_VERDICT/20210210-103313
git checkout f25d67a119a1e1eac71d5dd2d4ff34465c055d73
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
hppa-linux-ld: net/core/sock_map.o: in function `sock_map_init_proto':
> (.text+0x3d4): undefined reference to `tcp_bpf_get_proto'
> hppa-linux-ld: (.text+0x3e4): undefined reference to `udp_bpf_get_proto'
hppa-linux-ld: net/core/skmsg.o: in function `sk_psock_destroy_deferred':
> (.text+0x20dc): undefined reference to `strp_done'
hppa-linux-ld: net/core/skmsg.o: in function `sk_psock_drop':
> (.text+0x24e8): undefined reference to `tcp_update_ulp'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org