[ammarfaizi2-block:axboe/linux-block/m1/2022-02-19 399/552] net/netfilter/nf_conntrack_bpf.c:251:5: warning: no previous prototype for 'register_nf_conntrack_bpf'

From: kernel test robot
Date: Mon Feb 21 2022 - 03:09:15 EST


Hi Stephen,

First bad commit (maybe != root cause):

tree: https://github.com/ammarfaizi2/linux-block axboe/linux-block/m1/2022-02-19
head: b781e0ccdc0c9a931571d15db09d45b7258b9905
commit: 479e353d1823d7efddab1262e4333417d88a3b32 [399/552] Merge branch 'akpm-current/current'
config: arm-buildonly-randconfig-r003-20220221 (https://download.01.org/0day-ci/archive/20220221/202202211633.v1f4ksHj-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-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/ammarfaizi2/linux-block/commit/479e353d1823d7efddab1262e4333417d88a3b32
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block axboe/linux-block/m1/2022-02-19
git checkout 479e353d1823d7efddab1262e4333417d88a3b32
# 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=arm SHELL=/bin/bash net/netfilter/

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

All warnings (new ones prefixed by >>):

>> net/netfilter/nf_conntrack_bpf.c:251:5: warning: no previous prototype for 'register_nf_conntrack_bpf' [-Wmissing-prototypes]
251 | int register_nf_conntrack_bpf(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~


vim +/register_nf_conntrack_bpf +251 net/netfilter/nf_conntrack_bpf.c

b4c2b9593a1c4c Kumar Kartikeya Dwivedi 2022-01-14 250
b4c2b9593a1c4c Kumar Kartikeya Dwivedi 2022-01-14 @251 int register_nf_conntrack_bpf(void)

:::::: The code at line 251 was first introduced by commit
:::::: b4c2b9593a1c4c3a718370e34af28e817fd5e5c6 net/netfilter: Add unstable CT lookup helpers for XDP and TC-BPF

:::::: TO: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>
:::::: CC: Alexei Starovoitov <ast@xxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx