Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../net/core/filter.c:1434:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1434:39: expected struct sock_filter const *filter ../net/core/filter.c:1434:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1512:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1512:39: expected struct sock_filter const *filter ../net/core/filter.c:1512:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2343:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2343:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2343:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3970:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4714:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5128:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8131:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12135:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12165:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? ../net/core/filter.c:12181:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12197:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12218:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12315:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12365:17: warning: symbol 'bpf_xdp_pull_data' was not declared. Should it be static? ../net/core/filter.c:12541:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1942:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1942:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1942:43: got unsigned long long [usertype] to ../net/core/filter.c:1945:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1945:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1945:36: got unsigned long long [usertype] from ../net/core/filter.c:1945:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1945:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1945:42: got unsigned long long [usertype] to ../net/core/filter.c:1948:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1948:36: got unsigned long long [usertype] from ../net/core/filter.c:1948:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1948:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1948:42: got unsigned long long [usertype] to ../net/core/filter.c:1994:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1994:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1994:59: got unsigned long long [usertype] to ../net/core/filter.c:1997:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1997:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1997:52: got unsigned long long [usertype] from ../net/core/filter.c:1997:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1997:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1997:58: got unsigned long long [usertype] to ../net/core/filter.c:2000:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2000:52: got unsigned long long [usertype] from ../net/core/filter.c:2000:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2000:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2000:58: got unsigned long long [usertype] to ../net/core/filter.c:2067:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2067:35: expected unsigned long long ../net/core/filter.c:2067:35: got restricted __wsum [usertype] csum ../net/core/filter.c:6052:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:6052:17: expected unsigned int [usertype] spi ../net/core/filter.c:6052:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:6060:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:6060:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:6060:33: got restricted __be32 const [usertype] a4 ../fs/bpf_fs_kfuncs.c:42:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:58:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:79:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:127:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:160:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:286:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:312:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:336:17: warning: symbol 'bpf_cgroup_read_xattr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:189:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:226:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:241:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:276:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:574:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:760:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:771:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:785:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:883:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:895:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1186:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3339:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3347:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3533:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3542:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3549:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3556:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3563:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3570:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3577:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3584:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3592:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2343:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2347:66: warning: dereference of noderef expression ../kernel/bpf/helpers.c:1227:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1227:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1227:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:2052:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2053:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2054:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2055:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2056:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2057:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2058:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2059:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2060:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2061:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2064:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2332:18: warning: symbol 'bpf_obj_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:2346:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2362:18: warning: symbol 'bpf_percpu_obj_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:2370:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2406:18: warning: symbol 'bpf_obj_drop' was not declared. Should it be static? ../kernel/bpf/helpers.c:2413:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2425:18: warning: symbol 'bpf_percpu_obj_drop' was not declared. Should it be static? ../kernel/bpf/helpers.c:2431:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2446:18: warning: symbol 'bpf_refcount_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2463:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2507:17: warning: symbol 'bpf_list_push_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2517:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2536:17: warning: symbol 'bpf_list_push_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2546:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2576:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2581:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2586:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2596:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2606:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2675:17: warning: symbol 'bpf_rbtree_add' was not declared. Should it be static? ../kernel/bpf/helpers.c:2686:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2693:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2700:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2707:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2717:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2733:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2744:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2749:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2762:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2774:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2779:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2792:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2812:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2832:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2875:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2892:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2911:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2952:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:3075:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:3094:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:3101:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:3111:17: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:3121:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:3148:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3203:17: warning: symbol 'bpf_dynptr_memset' was not declared. Should it be static? ../kernel/bpf/helpers.c:3238:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:3243:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:3248:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3253:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3289:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:3308:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:3322:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3346:17: warning: symbol 'bpf_wq_set_callback' was not declared. Should it be static? ../kernel/bpf/helpers.c:3359:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3364:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3423:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3484:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3510:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3534:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3579:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3609:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3614:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3619:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3674:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3692:17: warning: symbol 'bpf_strcasecmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3711:17: warning: symbol 'bpf_strncasecmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3732:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3769:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3786:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3818:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3851:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3881:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3899:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3943:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:4034:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4053:17: warning: symbol 'bpf_strcasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4072:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4093:17: warning: symbol 'bpf_strncasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4547:17: warning: symbol 'bpf_task_work_schedule_signal' was not declared. Should it be static? ../kernel/bpf/helpers.c:4565:17: warning: symbol 'bpf_task_work_schedule_resume' was not declared. Should it be static? ../kernel/bpf/helpers.c:4596:17: warning: symbol 'bpf_dynptr_from_file' was not declared. Should it be static? ../kernel/bpf/helpers.c:4606:17: warning: symbol 'bpf_dynptr_file_discard' was not declared. Should it be static? ../kernel/bpf/helpers.c:4635:17: warning: symbol 'bpf_timer_cancel_async' was not declared. Should it be static? ../kernel/bpf/core.c:252:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:3104:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:304:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:331:1: warning: Using plain integer as NULL pointer ../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): ../include/linux/rbtree.h:107:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:107:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:107:9: struct rb_node * ../include/linux/rbtree.h:107:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:107:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:107:9: struct rb_node * ../kernel/bpf/fixups.c:2315:38: error: subtraction of functions? Share your drugs ../kernel/bpf/check_btf.c: note: in included file (through ../include/linux/bpf.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../kernel/bpf/verifier.c:262:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../kernel/bpf/trampoline.c:183:19: warning: symbol 'direct_ops' was not declared. Should it be static? ../kernel/bpf/bpf_struct_ops.c:592:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar WARNING: modpost: vmlinux: section mismatch in reference: lookup_object_or_alloc+0x462 (section: .text) -> is_static_object (section: .init.text) ../arch/x86/boot/version.c: note: in included file (through ../arch/x86/include/uapi/asm/bitsperlong.h, ../include/uapi/asm-generic/int-ll64.h, ../include/asm-generic/int-ll64.h, ../include/uapi/asm-generic/types.h, ...): ../include/asm-generic/bitsperlong.h:23:2: error: Inconsistent word size. Check asm/bitsperlong.h ../include/asm-generic/bitsperlong.h:27:33: error: static assertion failed: "Inconsistent word size. Check asm/bitsperlong.h" Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../fs/bpf_fs_kfuncs.c:42:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:58:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:79:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:127:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:160:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:286:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:312:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:336:17: warning: symbol 'bpf_cgroup_read_xattr' was not declared. Should it be static? ../kernel/bpf/check_btf.c: note: in included file (through ../include/linux/bpf.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../kernel/bpf/trampoline.c:183:19: warning: symbol 'direct_ops' was not declared. Should it be static? ../kernel/bpf/bpf_struct_ops.c:592:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? ../kernel/bpf/helpers.c:1227:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1227:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1227:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:2052:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2053:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2054:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2055:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2056:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2057:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2058:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2059:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2060:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2061:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2064:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2332:18: warning: symbol 'bpf_obj_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:2346:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2362:18: warning: symbol 'bpf_percpu_obj_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:2370:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2406:18: warning: symbol 'bpf_obj_drop' was not declared. Should it be static? ../kernel/bpf/helpers.c:2413:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2425:18: warning: symbol 'bpf_percpu_obj_drop' was not declared. Should it be static? ../kernel/bpf/helpers.c:2431:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2446:18: warning: symbol 'bpf_refcount_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2463:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2507:17: warning: symbol 'bpf_list_push_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2517:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2536:17: warning: symbol 'bpf_list_push_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2546:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2576:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2581:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2586:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2596:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2606:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2675:17: warning: symbol 'bpf_rbtree_add' was not declared. Should it be static? ../kernel/bpf/helpers.c:2686:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2693:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2700:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2707:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2717:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2733:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2744:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2749:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2762:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2774:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2779:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2792:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2812:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2832:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2875:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2892:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2911:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2952:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:3075:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:3094:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:3101:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:3111:17: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:3121:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:3148:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3203:17: warning: symbol 'bpf_dynptr_memset' was not declared. Should it be static? ../kernel/bpf/helpers.c:3238:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:3243:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:3248:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3253:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3289:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:3308:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:3322:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3346:17: warning: symbol 'bpf_wq_set_callback' was not declared. Should it be static? ../kernel/bpf/helpers.c:3359:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3364:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3423:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3484:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3510:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3534:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3579:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3609:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3614:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3619:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3674:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3692:17: warning: symbol 'bpf_strcasecmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3711:17: warning: symbol 'bpf_strncasecmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3732:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3769:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3786:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3818:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3851:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3881:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3899:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3943:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:4034:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4053:17: warning: symbol 'bpf_strcasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4072:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4093:17: warning: symbol 'bpf_strncasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4547:17: warning: symbol 'bpf_task_work_schedule_signal' was not declared. Should it be static? ../kernel/bpf/helpers.c:4565:17: warning: symbol 'bpf_task_work_schedule_resume' was not declared. Should it be static? ../kernel/bpf/helpers.c:4596:17: warning: symbol 'bpf_dynptr_from_file' was not declared. Should it be static? ../kernel/bpf/helpers.c:4606:17: warning: symbol 'bpf_dynptr_file_discard' was not declared. Should it be static? ../kernel/bpf/helpers.c:4635:17: warning: symbol 'bpf_timer_cancel_async' was not declared. Should it be static? ../kernel/bpf/core.c:252:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:3104:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:304:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:331:1: warning: Using plain integer as NULL pointer ../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): ../include/linux/rbtree.h:107:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:107:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:107:9: struct rb_node * ../include/linux/rbtree.h:107:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:107:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:107:9: struct rb_node * ../kernel/bpf/fixups.c:2315:38: error: subtraction of functions? Share your drugs ../kernel/trace/bpf_trace.c:189:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:226:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:241:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:276:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:574:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:760:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:771:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:785:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:883:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:895:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1186:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3339:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3347:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3533:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3542:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3549:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3556:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3563:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3570:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3577:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3584:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3592:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2343:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2347:66: warning: dereference of noderef expression ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../net/core/filter.c:1434:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1434:39: expected struct sock_filter const *filter ../net/core/filter.c:1434:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1512:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1512:39: expected struct sock_filter const *filter ../net/core/filter.c:1512:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2343:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2343:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2343:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3970:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4714:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5128:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8131:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12135:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12165:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? ../net/core/filter.c:12181:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12197:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12218:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12315:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12365:17: warning: symbol 'bpf_xdp_pull_data' was not declared. Should it be static? ../net/core/filter.c:12541:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1942:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1942:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1942:43: got unsigned long long [usertype] to ../net/core/filter.c:1945:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1945:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1945:36: got unsigned long long [usertype] from ../net/core/filter.c:1945:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1945:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1945:42: got unsigned long long [usertype] to ../net/core/filter.c:1948:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1948:36: got unsigned long long [usertype] from ../net/core/filter.c:1948:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1948:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1948:42: got unsigned long long [usertype] to ../net/core/filter.c:1994:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1994:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1994:59: got unsigned long long [usertype] to ../net/core/filter.c:1997:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1997:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1997:52: got unsigned long long [usertype] from ../net/core/filter.c:1997:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1997:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1997:58: got unsigned long long [usertype] to ../net/core/filter.c:2000:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2000:52: got unsigned long long [usertype] from ../net/core/filter.c:2000:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2000:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2000:58: got unsigned long long [usertype] to ../net/core/filter.c:2067:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2067:35: expected unsigned long long ../net/core/filter.c:2067:35: got restricted __wsum [usertype] csum ../net/core/filter.c:6052:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:6052:17: expected unsigned int [usertype] spi ../net/core/filter.c:6052:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:6060:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:6060:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:6060:33: got restricted __be32 const [usertype] a4 In file included from ../kernel/bpf/verifier.c:13: ../kernel/bpf/verifier.c: In function ‘clear_all_pkt_pointers’: ../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] 542 | struct bpf_stack_state * ___stack; \ | ^~~~~~~~ ../kernel/bpf/verifier.c:9023:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ 9023 | bpf_for_each_reg_in_vstate(env->cur_state, state, reg, ({ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘invalidate_non_owning_refs’: ../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] 542 | struct bpf_stack_state * ___stack; \ | ^~~~~~~~ ../kernel/bpf/verifier.c:9148:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ 9148 | bpf_for_each_reg_in_vstate(env->cur_state, unused, reg, ({ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_helper_call’: ../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] 542 | struct bpf_stack_state * ___stack; \ | ^~~~~~~~ ../kernel/bpf/verifier.c:10286:33: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ 10286 | bpf_for_each_reg_in_vstate(env->cur_state, state, reg, ({ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘ref_convert_owning_non_owning’: ../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] 542 | struct bpf_stack_state * ___stack; \ | ^~~~~~~~ ../kernel/bpf/verifier.c:11497:17: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ 11497 | bpf_for_each_reg_in_vstate(env->cur_state, unused, reg, ({ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_kfunc_call’: ../kernel/bpf/verifier.c:12946:41: warning: variable ‘stack’ set but not used [-Wunused-but-set-variable=] 12946 | struct bpf_stack_state *stack; | ^~~~~ ../kernel/bpf/verifier.c: In function ‘find_good_pkt_pointers’: ../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] 542 | struct bpf_stack_state * ___stack; \ | ^~~~~~~~ ../kernel/bpf/verifier.c:15324:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ 15324 | bpf_for_each_reg_in_vstate(vstate, state, reg, ({ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘mark_ptr_or_null_regs’: ../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] 542 | struct bpf_stack_state * ___stack; \ | ^~~~~~~~ ../kernel/bpf/verifier.c:15902:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ 15902 | bpf_for_each_reg_in_vstate(vstate, state, reg, ({ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘bpf_clear_singular_ids’: ../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] 542 | struct bpf_stack_state * ___stack; \ | ^~~~~~~~ ../kernel/bpf/verifier.c:17135:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ 17135 | bpf_for_each_reg_in_vstate(st, func, reg, ({ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] 542 | struct bpf_stack_state * ___stack; \ | ^~~~~~~~ ../kernel/bpf/verifier.c:17143:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ 17143 | bpf_for_each_reg_in_vstate(st, func, reg, ({ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:263:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar WARNING: modpost: vmlinux: section mismatch in reference: lookup_object_or_alloc+0x462 (section: .text) -> is_static_object (section: .init.text) ../arch/x86/boot/version.c: note: in included file (through ../arch/x86/include/uapi/asm/bitsperlong.h, ../include/uapi/asm-generic/int-ll64.h, ../include/asm-generic/int-ll64.h, ../include/uapi/asm-generic/types.h, ...): ../include/asm-generic/bitsperlong.h:23:2: error: Inconsistent word size. Check asm/bitsperlong.h ../include/asm-generic/bitsperlong.h:27:33: error: static assertion failed: "Inconsistent word size. Check asm/bitsperlong.h" New errors added --- /tmp/tmp.W7bFwEacqf 2026-04-21 18:57:01.843708590 -0400 +++ /tmp/tmp.XkduTL69um 2026-04-21 18:58:06.781191552 -0400 @@ -2,60 +1,0 @@ -../net/core/filter.c:1434:39: warning: incorrect type in argument 1 (different address spaces) -../net/core/filter.c:1434:39: expected struct sock_filter const *filter -../net/core/filter.c:1434:39: got struct sock_filter [noderef] __user *filter -../net/core/filter.c:1512:39: warning: incorrect type in argument 1 (different address spaces) -../net/core/filter.c:1512:39: expected struct sock_filter const *filter -../net/core/filter.c:1512:39: got struct sock_filter [noderef] __user *filter -../net/core/filter.c:2343:45: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:2343:45: expected restricted __be32 [usertype] daddr -../net/core/filter.c:2343:45: got unsigned int [usertype] ipv4_nh -../net/core/filter.c:3970:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? -../net/core/filter.c:4714:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? -../net/core/filter.c:5128:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? -../net/core/filter.c:8131:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? -../net/core/filter.c:12135:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? -../net/core/filter.c:12165:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? -../net/core/filter.c:12181:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? -../net/core/filter.c:12197:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? -../net/core/filter.c:12218:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? -../net/core/filter.c:12315:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? -../net/core/filter.c:12365:17: warning: symbol 'bpf_xdp_pull_data' was not declared. Should it be static? -../net/core/filter.c:12541:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? -../net/core/filter.c:1942:43: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:1942:43: expected restricted __wsum [usertype] diff -../net/core/filter.c:1942:43: got unsigned long long [usertype] to -../net/core/filter.c:1945:36: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:1945:36: expected restricted __be16 [usertype] old -../net/core/filter.c:1945:36: got unsigned long long [usertype] from -../net/core/filter.c:1945:42: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1945:42: expected restricted __be16 [usertype] new -../net/core/filter.c:1945:42: got unsigned long long [usertype] to -../net/core/filter.c:1948:36: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:1948:36: expected restricted __be32 [usertype] from -../net/core/filter.c:1948:36: got unsigned long long [usertype] from -../net/core/filter.c:1948:42: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1948:42: expected restricted __be32 [usertype] to -../net/core/filter.c:1948:42: got unsigned long long [usertype] to -../net/core/filter.c:1994:59: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1994:59: expected restricted __wsum [usertype] diff -../net/core/filter.c:1994:59: got unsigned long long [usertype] to -../net/core/filter.c:1997:52: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1997:52: expected restricted __be16 [usertype] from -../net/core/filter.c:1997:52: got unsigned long long [usertype] from -../net/core/filter.c:1997:58: warning: incorrect type in argument 4 (different base types) -../net/core/filter.c:1997:58: expected restricted __be16 [usertype] to -../net/core/filter.c:1997:58: got unsigned long long [usertype] to -../net/core/filter.c:2000:52: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:2000:52: expected restricted __be32 [usertype] from -../net/core/filter.c:2000:52: got unsigned long long [usertype] from -../net/core/filter.c:2000:58: warning: incorrect type in argument 4 (different base types) -../net/core/filter.c:2000:58: expected restricted __be32 [usertype] to -../net/core/filter.c:2000:58: got unsigned long long [usertype] to -../net/core/filter.c:2067:35: warning: incorrect type in return expression (different base types) -../net/core/filter.c:2067:35: expected unsigned long long -../net/core/filter.c:2067:35: got restricted __wsum [usertype] csum -../net/core/filter.c:6052:17: warning: incorrect type in assignment (different base types) -../net/core/filter.c:6052:17: expected unsigned int [usertype] spi -../net/core/filter.c:6052:17: got restricted __be32 const [usertype] spi -../net/core/filter.c:6060:33: warning: incorrect type in assignment (different base types) -../net/core/filter.c:6060:33: expected unsigned int [usertype] remote_ipv4 -../net/core/filter.c:6060:33: got restricted __be32 const [usertype] a4 @@ -70,24 +10,9 @@ -../kernel/trace/bpf_trace.c:189:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:226:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:241:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:276:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:574:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:760:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:771:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:785:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:883:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:895:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1186:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3339:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3347:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3533:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3542:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3549:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3556:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3563:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3570:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3577:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3584:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3592:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:2343:21: warning: dereference of noderef expression -../kernel/trace/bpf_trace.c:2347:66: warning: dereference of noderef expression +../kernel/bpf/check_btf.c: note: in included file (through ../include/linux/bpf.h): +../include/linux/bpfptr.h:65:40: warning: cast to non-scalar +../include/linux/bpfptr.h:65:40: warning: cast from non-scalar +../include/linux/bpfptr.h:65:40: warning: cast to non-scalar +../include/linux/bpfptr.h:65:40: warning: cast from non-scalar +../include/linux/bpfptr.h:65:40: warning: cast to non-scalar +../include/linux/bpfptr.h:65:40: warning: cast from non-scalar +../kernel/bpf/trampoline.c:183:19: warning: symbol 'direct_ops' was not declared. Should it be static? +../kernel/bpf/bpf_struct_ops.c:592:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? @@ -204,5 +129,25 @@ -../kernel/bpf/check_btf.c: note: in included file (through ../include/linux/bpf.h): -../include/linux/bpfptr.h:65:40: warning: cast to non-scalar -../include/linux/bpfptr.h:65:40: warning: cast from non-scalar -../include/linux/bpfptr.h:65:40: warning: cast to non-scalar -../include/linux/bpfptr.h:65:40: warning: cast from non-scalar +../kernel/trace/bpf_trace.c:189:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:226:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:241:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:276:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:574:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:760:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:771:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:785:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:883:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:895:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1186:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3339:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3347:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3533:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3542:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3549:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3556:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3563:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3570:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3577:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3584:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3592:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:2343:21: warning: dereference of noderef expression +../kernel/trace/bpf_trace.c:2347:66: warning: dereference of noderef expression +../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): @@ -211 +156,121 @@ -../kernel/bpf/verifier.c:262:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? +../net/core/filter.c:1434:39: warning: incorrect type in argument 1 (different address spaces) +../net/core/filter.c:1434:39: expected struct sock_filter const *filter +../net/core/filter.c:1434:39: got struct sock_filter [noderef] __user *filter +../net/core/filter.c:1512:39: warning: incorrect type in argument 1 (different address spaces) +../net/core/filter.c:1512:39: expected struct sock_filter const *filter +../net/core/filter.c:1512:39: got struct sock_filter [noderef] __user *filter +../net/core/filter.c:2343:45: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:2343:45: expected restricted __be32 [usertype] daddr +../net/core/filter.c:2343:45: got unsigned int [usertype] ipv4_nh +../net/core/filter.c:3970:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? +../net/core/filter.c:4714:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? +../net/core/filter.c:5128:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? +../net/core/filter.c:8131:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? +../net/core/filter.c:12135:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? +../net/core/filter.c:12165:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? +../net/core/filter.c:12181:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? +../net/core/filter.c:12197:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? +../net/core/filter.c:12218:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? +../net/core/filter.c:12315:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? +../net/core/filter.c:12365:17: warning: symbol 'bpf_xdp_pull_data' was not declared. Should it be static? +../net/core/filter.c:12541:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? +../net/core/filter.c:1942:43: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:1942:43: expected restricted __wsum [usertype] diff +../net/core/filter.c:1942:43: got unsigned long long [usertype] to +../net/core/filter.c:1945:36: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:1945:36: expected restricted __be16 [usertype] old +../net/core/filter.c:1945:36: got unsigned long long [usertype] from +../net/core/filter.c:1945:42: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:1945:42: expected restricted __be16 [usertype] new +../net/core/filter.c:1945:42: got unsigned long long [usertype] to +../net/core/filter.c:1948:36: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:1948:36: expected restricted __be32 [usertype] from +../net/core/filter.c:1948:36: got unsigned long long [usertype] from +../net/core/filter.c:1948:42: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:1948:42: expected restricted __be32 [usertype] to +../net/core/filter.c:1948:42: got unsigned long long [usertype] to +../net/core/filter.c:1994:59: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:1994:59: expected restricted __wsum [usertype] diff +../net/core/filter.c:1994:59: got unsigned long long [usertype] to +../net/core/filter.c:1997:52: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:1997:52: expected restricted __be16 [usertype] from +../net/core/filter.c:1997:52: got unsigned long long [usertype] from +../net/core/filter.c:1997:58: warning: incorrect type in argument 4 (different base types) +../net/core/filter.c:1997:58: expected restricted __be16 [usertype] to +../net/core/filter.c:1997:58: got unsigned long long [usertype] to +../net/core/filter.c:2000:52: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:2000:52: expected restricted __be32 [usertype] from +../net/core/filter.c:2000:52: got unsigned long long [usertype] from +../net/core/filter.c:2000:58: warning: incorrect type in argument 4 (different base types) +../net/core/filter.c:2000:58: expected restricted __be32 [usertype] to +../net/core/filter.c:2000:58: got unsigned long long [usertype] to +../net/core/filter.c:2067:35: warning: incorrect type in return expression (different base types) +../net/core/filter.c:2067:35: expected unsigned long long +../net/core/filter.c:2067:35: got restricted __wsum [usertype] csum +../net/core/filter.c:6052:17: warning: incorrect type in assignment (different base types) +../net/core/filter.c:6052:17: expected unsigned int [usertype] spi +../net/core/filter.c:6052:17: got restricted __be32 const [usertype] spi +../net/core/filter.c:6060:33: warning: incorrect type in assignment (different base types) +../net/core/filter.c:6060:33: expected unsigned int [usertype] remote_ipv4 +../net/core/filter.c:6060:33: got restricted __be32 const [usertype] a4 +In file included from ../kernel/bpf/verifier.c:13: +../kernel/bpf/verifier.c: In function ‘clear_all_pkt_pointers’: +../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] + 542 | struct bpf_stack_state * ___stack; \ + | ^~~~~~~~ +../kernel/bpf/verifier.c:9023:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ + 9023 | bpf_for_each_reg_in_vstate(env->cur_state, state, reg, ({ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘invalidate_non_owning_refs’: +../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] + 542 | struct bpf_stack_state * ___stack; \ + | ^~~~~~~~ +../kernel/bpf/verifier.c:9148:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ + 9148 | bpf_for_each_reg_in_vstate(env->cur_state, unused, reg, ({ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_helper_call’: +../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] + 542 | struct bpf_stack_state * ___stack; \ + | ^~~~~~~~ +../kernel/bpf/verifier.c:10286:33: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ +10286 | bpf_for_each_reg_in_vstate(env->cur_state, state, reg, ({ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘ref_convert_owning_non_owning’: +../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] + 542 | struct bpf_stack_state * ___stack; \ + | ^~~~~~~~ +../kernel/bpf/verifier.c:11497:17: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ +11497 | bpf_for_each_reg_in_vstate(env->cur_state, unused, reg, ({ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_kfunc_call’: +../kernel/bpf/verifier.c:12946:41: warning: variable ‘stack’ set but not used [-Wunused-but-set-variable=] +12946 | struct bpf_stack_state *stack; + | ^~~~~ +../kernel/bpf/verifier.c: In function ‘find_good_pkt_pointers’: +../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] + 542 | struct bpf_stack_state * ___stack; \ + | ^~~~~~~~ +../kernel/bpf/verifier.c:15324:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ +15324 | bpf_for_each_reg_in_vstate(vstate, state, reg, ({ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘mark_ptr_or_null_regs’: +../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] + 542 | struct bpf_stack_state * ___stack; \ + | ^~~~~~~~ +../kernel/bpf/verifier.c:15902:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ +15902 | bpf_for_each_reg_in_vstate(vstate, state, reg, ({ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘bpf_clear_singular_ids’: +../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] + 542 | struct bpf_stack_state * ___stack; \ + | ^~~~~~~~ +../kernel/bpf/verifier.c:17135:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ +17135 | bpf_for_each_reg_in_vstate(st, func, reg, ({ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bpf_verifier.h:542:42: warning: variable ‘___stack’ set but not used [-Wunused-but-set-variable=] + 542 | struct bpf_stack_state * ___stack; \ + | ^~~~~~~~ +../kernel/bpf/verifier.c:17143:9: note: in expansion of macro ‘bpf_for_each_reg_in_vstate’ +17143 | bpf_for_each_reg_in_vstate(st, func, reg, ({ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:263:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? @@ -213,5 +277,0 @@ -../include/linux/bpfptr.h:65:40: warning: cast to non-scalar -../include/linux/bpfptr.h:65:40: warning: cast from non-scalar -../kernel/bpf/trampoline.c:183:19: warning: symbol 'direct_ops' was not declared. Should it be static? -../kernel/bpf/bpf_struct_ops.c:592:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? -../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): Per-file breakdown --- /tmp/tmp.E1wl1OYZZJ 2026-04-21 18:58:06.786455165 -0400 +++ /tmp/tmp.O1qlNt4ZtE 2026-04-21 18:58:06.788455151 -0400 @@ -3,0 +4 @@ + 8 ../include/linux/bpf_verifier.h @@ -11 +12 @@ - 1 ../kernel/bpf/verifier.c + 2 ../kernel/bpf/verifier.c