tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: cf9d01405925e3f8144c99d7bf7b184449794066 commit: 174a79ff9515f400b9a6115643dafd62a635b7e6 [1065/1071] bpf: sockmap with sk redirect support config: cris-etrax-100lx_v2_defconfig (attached as .config) compiler: cris-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 174a79ff9515f400b9a6115643dafd62a635b7e6 # save the attached .config to linux build tree make.cross ARCH=cris
All error/warnings (new ones prefixed by >>): net//core/filter.c: In function 'do_sk_redirect_map': >> net//core/filter.c:1881:8: error: implicit declaration of function >> '__sock_map_lookup_elem' [-Werror=implicit-function-declaration] sk = __sock_map_lookup_elem(ri->map, ri->ifindex); ^~~~~~~~~~~~~~~~~~~~~~ >> net//core/filter.c:1881:6: warning: assignment makes pointer from integer >> without a cast [-Wint-conversion] sk = __sock_map_lookup_elem(ri->map, ri->ifindex); ^ cc1: some warnings being treated as errors vim +/__sock_map_lookup_elem +1881 net//core/filter.c 1874 1875 struct sock *do_sk_redirect_map(void) 1876 { 1877 struct redirect_info *ri = this_cpu_ptr(&redirect_info); 1878 struct sock *sk = NULL; 1879 1880 if (ri->map) { > 1881 sk = __sock_map_lookup_elem(ri->map, ri->ifindex); 1882 1883 ri->ifindex = 0; 1884 ri->map = NULL; 1885 /* we do not clear flags for future lookup */ 1886 } 1887 1888 return sk; 1889 } 1890 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip