========== build_clang - FAILED In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ethtool/ioctl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk_buff_pool.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/xdp/xdp_umem.o] Error 1 In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: io_uring/poll.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: net/socket.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: fs/select.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk_queue.o] Error 1 In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ethtool/channels.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/ethtool] Error 2 In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk_diag.o] Error 1 In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/xdp] Error 2 In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/bpf/test_run.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/bpf] Error 2 In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/datagram.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: io_uring/sqpoll.o] Error 1 In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: io_uring/io_uring.o] Error 1 In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/sock.o] Error 1 In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv6/udp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: io_uring/register.o] Error 1 In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_xdp.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_minisocks.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/sysctl_net_core.o] Error 1 In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_ethtool.o] Error 1 In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:127:46: warning: shift count >= width of type [-Wshift-count-overflow] 127 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_pci_func.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: io_uring/napi.o] Error 1 make[3]: *** [../scripts/Makefile.build:465: io_uring] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_main.o] Error 1 In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_ipv4.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_vec.o] Error 1 In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/amazon] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: fs/eventpoll.o] Error 1 make[3]: *** [../scripts/Makefile.build:465: fs] Error 2 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_nic.o] Error 1 In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_input.o] Error 1 In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv6/tcp_ipv6.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/ipv6] Error 2 In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/net/tap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/net/tun.o] Error 1 In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:207: drivers/nvme/host/tcp.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/nvme/host] Error 2 make[4]: *** [../scripts/Makefile.build:465: drivers/nvme] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv4/udp.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/ipv4] Error 2 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.o] Error 1 In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/net/veth.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_ring.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_filters.o] Error 1 In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/inode.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/sctp/ulpqueue.c:26: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/ulpqueue.c:26: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/ulpqueue.c:26: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/ulpqueue.c:26: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/ulpqueue.c:26: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/ulpqueue.c:26: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/sctp/ulpqueue.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/net/virtio_net.o] Error 1 In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/dev.o] Error 1 In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/core.o] Error 1 In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/syscall.o] Error 1 In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/verifier.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/filter.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/core] Error 2 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_dim.o] Error 1 In file included from ../net/sctp/socket.c:61: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/socket.c:61: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/socket.c:61: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/socket.c:61: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/socket.c:61: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/socket.c:61: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/sctp/socket.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:15025:44: warning: shift count >= width of type [-Wshift-count-overflow] 15025 | if (dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)) != 0 && | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/aquantia/atlantic] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/aquantia] Error 2 In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cavium/thunder/nicvf_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cavium/thunder/nicvf_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_tc.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.o] Error 1 In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cisco/enic/enic_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cavium/thunder/nicvf_queues.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cavium/thunder] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cavium] Error 2 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/broadcom/bnxt] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/broadcom] Error 2 In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[9]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.o] Error 1 make[8]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio/inline_crypto/chtls] Error 2 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio/inline_crypto] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../net/sctp/stream_interleave.c:18: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/stream_interleave.c:18: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/stream_interleave.c:18: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/stream_interleave.c:18: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/stream_interleave.c:18: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/sctp/stream_interleave.c:18: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/sctp/stream_interleave.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/sctp] Error 2 make[3]: *** [../scripts/Makefile.build:465: net] Error 2 In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cisco/enic/enic_rq.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cisco/enic] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cisco] Error 2 In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/chelsio/cxgb4/sge.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio/cxgb4] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio] Error 2 make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** [../scripts/Makefile.build:465: kernel] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1994: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:71: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:71: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: net/socket.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ethtool/channels.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ethtool/ioctl.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/ethtool] Error 2 In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/datagram.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/bpf/test_run.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/bpf] Error 2 In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: fs/select.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: io_uring/poll.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: io_uring/io_uring.o] Error 1 In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: io_uring/sqpoll.o] Error 1 In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/xdp/xdp_umem.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/sysctl_net_core.o] Error 1 In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/sock.o] Error 1 In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk_queue.o] Error 1 In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk_buff_pool.o] Error 1 In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk.o] Error 1 In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk_diag.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/xdp] Error 2 In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_minisocks.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_ipv4.o] Error 1 In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:21: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:207: drivers/nvme/host/tcp.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/nvme/host] Error 2 make[4]: *** [../scripts/Makefile.build:465: drivers/nvme] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: io_uring/register.o] Error 1 In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:52: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv6/udp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp.o] Error 1 In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_xdp.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_vec.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_main.o] Error 1 In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_input.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:127:46: warning: shift count >= width of type [-Wshift-count-overflow] 127 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_pci_func.o] Error 1 In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/amazon] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/dev.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_ring.o] Error 1 In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv6/tcp_ipv6.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/ipv6] Error 2 In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: io_uring/napi.o] Error 1 make[3]: *** [../scripts/Makefile.build:465: io_uring] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/inode.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3089: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/core.o] Error 1 In file included from ../net/core/xdp.c:20: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:20: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:20: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:20: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:20: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:20: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/xdp.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_nic.o] Error 1 In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/filter.o] Error 1 In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/syscall.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_ethtool.o] Error 1 In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/netdev-genl.o] Error 1 In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/verifier.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/gro.o] Error 1 In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cavium/thunder/nicvf_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/ipv4/udp.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/ipv4] Error 2 In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cavium/thunder/nicvf_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_filters.o] Error 1 In file included from ../net/core/page_pool.c:14: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool.c:14: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool.c:14: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool.c:14: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool.c:14: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool.c:14: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/page_pool.o] Error 1 In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/net/tap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cavium/thunder/nicvf_queues.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cavium/thunder] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cavium] Error 2 In file included from ../net/core/netdev_rx_queue.c:6: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:6: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:6: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:6: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:6: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:6: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/netdev_rx_queue.o] Error 1 In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: net/core/net-sysfs.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:465: net] Error 2 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.o] Error 1 In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cisco/enic/enic_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.o] Error 1 In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/net/tun.o] Error 1 In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:207: fs/eventpoll.o] Error 1 make[3]: *** [../scripts/Makefile.build:465: fs] Error 2 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/aquantia/atlantic] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/aquantia] Error 2 In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[9]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.o] Error 1 make[8]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio/inline_crypto/chtls] Error 2 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio/inline_crypto] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_ethtool.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_tc.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_ptp.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_rxnfc.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/engleder/tsnep_main.c:2612:9: warning: shift count >= width of type [-Wshift-count-overflow] 2612 | DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 6 errors generated. make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_main.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.o] Error 1 In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/emulex/benet/be_main.c:5836:49: warning: shift count >= width of type [-Wshift-count-overflow] 5836 | status = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/emulex/benet/be_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/emulex/benet] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/emulex] Error 2 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:15025:44: warning: shift count >= width of type [-Wshift-count-overflow] 15025 | if (dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)) != 0 && | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_xdp.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.o] Error 1 In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/chelsio/cxgb4/sge.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio/cxgb4] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio] Error 2 In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/net/veth.o] Error 1 In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/net/virtio_net.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_selftests.o] Error 1 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/engleder] Error 2 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/google/gve/gve_main.c:2730:46: warning: shift count >= width of type [-Wshift-count-overflow] 2730 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_cbdr.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_tx.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:3528:46: warning: shift count >= width of type [-Wshift-count-overflow] 3528 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/fec_ptp.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_rx.o] Error 1 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/fungible/funeth/funeth_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/fungible/funeth/funeth_tx.o] Error 1 In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/fec_main.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_utils.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_adminq.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_dim.o] Error 1 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/fungible/funeth/funeth_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/fungible/funeth] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/fungible] Error 2 In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cisco/enic/enic_rq.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cisco/enic] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cisco] Error 2 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_rx_dqo.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_pf_common.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_flow_rule.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/google/gve] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/google] Error 2 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_pf.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_qos.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc4_pf.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_tc.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_msg.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_mdio.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_vf.o] Error 1 ../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.o] Error 1 In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/net/xen-netfront.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:45:46: warning: shift count >= width of type [-Wshift-count-overflow] 45 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_ptp.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_ierb.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/freescale/enetc] Error 2 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/broadcom/bnxt] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/broadcom] Error 2 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/freescale/dpaa] Error 2 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' 250 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/freescale/dpaa2] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/freescale] Error 2 make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** [../scripts/Makefile.build:465: kernel] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1994: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.YozHmODH6n 2025-03-17 09:00:32.826496735 -0700 +++ /tmp/tmp.SJYoTrAuYU 2025-03-17 09:01:03.196188571 -0700 @@ -0,0 +1,12388 @@ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:207: net/socket.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/ethtool/channels.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/ethtool/ioctl.o] Error 1 +make[4]: *** [../scripts/Makefile.build:465: net/ethtool] Error 2 +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/datagram.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/bpf/test_run.o] Error 1 +make[4]: *** [../scripts/Makefile.build:465: net/bpf] Error 2 +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:207: fs/select.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:207: io_uring/poll.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:207: io_uring/io_uring.o] Error 1 +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:207: io_uring/sqpoll.o] Error 1 +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/xdp/xdp_umem.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/sysctl_net_core.o] Error 1 +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/sock.o] Error 1 +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk_queue.o] Error 1 +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk_buff_pool.o] Error 1 +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk.o] Error 1 +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/xdp/xsk_diag.o] Error 1 +make[4]: *** [../scripts/Makefile.build:465: net/xdp] Error 2 +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_minisocks.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_ipv4.o] Error 1 +In file included from ../drivers/nvme/host/tcp.c:21: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/nvme/host/tcp.c:21: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/nvme/host/tcp.c:21: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/nvme/host/tcp.c:21: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/nvme/host/tcp.c:21: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/nvme/host/tcp.c:21: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:207: drivers/nvme/host/tcp.o] Error 1 +make[5]: *** [../scripts/Makefile.build:465: drivers/nvme/host] Error 2 +make[4]: *** [../scripts/Makefile.build:465: drivers/nvme] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:207: io_uring/register.o] Error 1 +In file included from ../net/ipv6/udp.c:52: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/udp.c:52: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/udp.c:52: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/udp.c:52: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/udp.c:52: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/udp.c:52: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/ipv6/udp.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_ethtool.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp.o] Error 1 +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_xdp.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_vec.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_main.o] Error 1 +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_input.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:127:46: warning: shift count >= width of type [-Wshift-count-overflow] + 127 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' + 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_pci_func.o] Error 1 +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/amazon/ena] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/amazon] Error 2 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/dev.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_ring.o] Error 1 +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/ipv6/tcp_ipv6.o] Error 1 +make[4]: *** [../scripts/Makefile.build:465: net/ipv6] Error 2 +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:207: io_uring/napi.o] Error 1 +make[3]: *** [../scripts/Makefile.build:465: io_uring] Error 2 +make[3]: *** Waiting for unfinished jobs.... +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/inode.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../kernel/bpf/core.c:3089: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/core.c:3089: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/core.c:3089: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/core.c:3089: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/core.c:3089: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/core.c:3089: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/core.o] Error 1 +In file included from ../net/core/xdp.c:20: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/xdp.c:20: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/xdp.c:20: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/xdp.c:20: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/xdp.c:20: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/xdp.c:20: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/xdp.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_nic.o] Error 1 +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/filter.o] Error 1 +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/syscall.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_ethtool.o] Error 1 +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/netdev-genl.o] Error 1 +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/verifier.o] Error 1 +make[4]: *** [../scripts/Makefile.build:465: kernel/bpf] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/gro.o] Error 1 +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cavium/thunder/nicvf_main.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/ipv4/udp.o] Error 1 +make[4]: *** [../scripts/Makefile.build:465: net/ipv4] Error 2 +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cavium/thunder/nicvf_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/aq_filters.o] Error 1 +In file included from ../net/core/page_pool.c:14: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool.c:14: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool.c:14: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool.c:14: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool.c:14: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool.c:14: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/page_pool.o] Error 1 +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: drivers/net/tap.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cavium/thunder/nicvf_queues.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cavium/thunder] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cavium] Error 2 +In file included from ../net/core/netdev_rx_queue.c:6: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev_rx_queue.c:6: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev_rx_queue.c:6: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev_rx_queue.c:6: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev_rx_queue.c:6: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev_rx_queue.c:6: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/netdev_rx_queue.o] Error 1 +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: net/core/net-sysfs.o] Error 1 +make[4]: *** [../scripts/Makefile.build:465: net/core] Error 2 +make[3]: *** [../scripts/Makefile.build:465: net] Error 2 +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.o] Error 1 +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cisco/enic/enic_main.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.o] Error 1 +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: drivers/net/tun.o] Error 1 +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:207: fs/eventpoll.o] Error 1 +make[3]: *** [../scripts/Makefile.build:465: fs] Error 2 +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/aquantia/atlantic] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/aquantia] Error 2 +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[9]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.o] Error 1 +make[8]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio/inline_crypto/chtls] Error 2 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio/inline_crypto] Error 2 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_ethtool.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_tc.o] Error 1 +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_ptp.o] Error 1 +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_rxnfc.o] Error 1 +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/engleder/tsnep_main.c:2612:9: warning: shift count >= width of type [-Wshift-count-overflow] + 2612 | DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' + 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 6 errors generated. +make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_main.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.o] Error 1 +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/emulex/benet/be_main.c:5836:49: warning: shift count >= width of type [-Wshift-count-overflow] + 5836 | status = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' + 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/emulex/benet/be_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/emulex/benet] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/emulex] Error 2 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:15025:44: warning: shift count >= width of type [-Wshift-count-overflow] + 15025 | if (dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)) != 0 && + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' + 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt.o] Error 1 +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_xdp.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.o] Error 1 +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/chelsio/cxgb4/sge.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio/cxgb4] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/chelsio] Error 2 +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: drivers/net/veth.o] Error 1 +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: drivers/net/virtio_net.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.o] Error 1 +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/engleder/tsnep_selftests.o] Error 1 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/engleder] Error 2 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/google/gve/gve_main.c:2730:46: warning: shift count >= width of type [-Wshift-count-overflow] + 2730 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' + 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_main.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_cbdr.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_tx.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/freescale/enetc/enetc.c:3528:46: warning: shift count >= width of type [-Wshift-count-overflow] + 3528 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' + 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:36: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/fec_ptp.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_rx.o] Error 1 +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/fungible/funeth/funeth_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/fungible/funeth/funeth_tx.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/fec_main.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_utils.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_adminq.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_dim.o] Error 1 +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/fungible/funeth/funeth_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/fungible/funeth] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/fungible] Error 2 +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cisco/enic/enic_rq.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cisco/enic] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cisco] Error 2 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_rx_dqo.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_pf_common.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/google/gve/gve_flow_rule.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/google/gve] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/google] Error 2 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_pf.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_qos.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc4_pf.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_tc.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_msg.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_mdio.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_vf.o] Error 1 @@ -2,41 +12390,1533 @@ -In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: -In file included from ../include/linux/module.h:13: -In file included from ../include/linux/stat.h:19: -In file included from ../include/linux/time.h:60: -In file included from ../include/linux/time32.h:13: -In file included from ../include/linux/timex.h:67: -In file included from ../arch/x86/include/asm/timex.h:5: -In file included from ../arch/x86/include/asm/processor.h:19: -In file included from ../arch/x86/include/asm/cpuid.h:71: -In file included from ../arch/x86/include/asm/paravirt.h:21: -In file included from ../include/linux/cpumask.h:12: -In file included from ../include/linux/bitmap.h:13: -In file included from ../include/linux/string.h:392: -../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^ -1 warning generated. -In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: -In file included from ../include/linux/if_vlan.h:10: -In file included from ../include/linux/netdevice.h:24: -In file included from ../include/linux/timer.h:6: -In file included from ../include/linux/ktime.h:25: -In file included from ../include/linux/jiffies.h:10: -In file included from ../include/linux/time.h:60: -In file included from ../include/linux/time32.h:13: -In file included from ../include/linux/timex.h:67: -In file included from ../arch/x86/include/asm/timex.h:5: -In file included from ../arch/x86/include/asm/processor.h:19: -In file included from ../arch/x86/include/asm/cpuid.h:71: -In file included from ../arch/x86/include/asm/paravirt.h:21: -In file included from ../include/linux/cpumask.h:12: -In file included from ../include/linux/bitmap.h:13: -In file included from ../include/linux/string.h:392: -../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^ -1 warning generated. -../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new -../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new -../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' -../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.o] Error 1 +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:207: drivers/net/xen-netfront.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:45:46: warning: shift count >= width of type [-Wshift-count-overflow] + 45 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' + 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_ptp.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_ierb.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/freescale/enetc] Error 2 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/broadcom/bnxt] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/broadcom] Error 2 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/freescale/dpaa] Error 2 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:250:20: note: expanded from macro 'this_cpu_ptr' + 250 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:219:47: note: expanded from macro '__verify_pcpu_ptr' + 219 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:12: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:19: note: expanded from macro 'this_cpu_ptr' + 251 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:233:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 233 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:224:62: note: expanded from macro 'PERCPU_PTR' + 224 | (typeof(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2555:18: note: 'bpf_iter_get_info' declared here + 2555 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:653:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 653 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/freescale/dpaa2] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/freescale] Error 2 +make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 +make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 +make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 +make[3]: *** [../scripts/Makefile.build:465: kernel] Error 2 +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1994: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 +make: *** [Makefile:251: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.1vsK4mmx7s 2025-03-17 09:01:03.227188257 -0700 +++ /tmp/tmp.BdS3IQxQP7 2025-03-17 09:01:03.245188074 -0700 @@ -1,3 +1,8 @@ - 1 ../drivers/net/ethernet/sfc/ptp.c - 1 ../drivers/net/ethernet/sfc/siena/ptp.c - 2 ../include/linux/fortify-string.h + 1 ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c + 1 ../drivers/net/ethernet/broadcom/bnxt/bnxt.c + 1 ../drivers/net/ethernet/emulex/benet/be_main.c + 1 ../drivers/net/ethernet/engleder/tsnep_main.c + 1 ../drivers/net/ethernet/freescale/enetc/enetc.c + 1 ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c + 1 ../drivers/net/ethernet/google/gve/gve_main.c + 768 ../include/net/xdp.h