Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../kernel/sched/rq-offsets.c:5: ../kernel/sched/sched.h: In function ‘mm_cid_get’: ../kernel/sched/sched.h:3743:25: warning: variable ‘cpumask’ set but not used [-Wunused-but-set-variable] 3743 | struct cpumask *cpumask; | ^~~~~~~ In file included from ../include/trace/define_trace.h:132, from ../samples/trace_events/trace-events-sample.h:640, from ../samples/trace_events/trace-events-sample.c:12: ../samples/trace_events/./trace-events-sample.h: In function ‘trace_event_get_offsets_foo_bar’: ../include/linux/cpumask.h:121:42: warning: function ‘trace_event_get_offsets_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 121 | #define cpu_possible_mask ((const struct cpumask *)&__cpu_possible_mask) | ^~~~~~~ ../include/trace/trace_events.h:285:9: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 285 | tstruct; \ | ^~~~~~~ ../include/trace/trace_events.h:43:30: note: in expansion of macro ‘PARAMS’ 43 | PARAMS(tstruct), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:299:9: note: in expansion of macro ‘TP_STRUCT__entry’ 299 | TP_STRUCT__entry( | ^~~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:110:34: note: in expansion of macro ‘__dynamic_array’ 110 | #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, \ | ^~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:98:11: note: in expansion of macro ‘__bitmask_size_in_bytes_raw’ 98 | ((__bitmask_size_in_bytes_raw(nr_bits) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:111:42: note: in expansion of macro ‘__bitmask_size_in_longs’ 111 | __bitmask_size_in_longs(nr_bits)) | ^~~~~~~~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:304:17: note: in expansion of macro ‘__bitmask’ 304 | __bitmask( cpus, num_possible_cpus() ) | ^~~~~~~~~ ../include/linux/cpumask.h:1198:48: note: in expansion of macro ‘cpu_possible_mask’ 1198 | #define num_possible_cpus() cpumask_weight(cpu_possible_mask) | ^~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:304:41: note: in expansion of macro ‘num_possible_cpus’ 304 | __bitmask( cpus, num_possible_cpus() ) | ^~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h: In function ‘do_trace_event_raw_event_foo_bar’: ../arch/x86/include/asm/bug.h:71:45: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 71 | "i" (sizeof(struct bug_entry))); \ | ^~~~~~~~~ ../include/trace/trace_events.h:427:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’ 427 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:435:23: note: in expansion of macro ‘PARAMS’ 435 | PARAMS(assign), PARAMS(print)) \ | ^~~~~~ ../include/trace/trace_events.h:40:9: note: in expansion of macro ‘DECLARE_EVENT_CLASS’ 40 | DECLARE_EVENT_CLASS(name, \ | ^~~~~~~~~~~~~~~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:310:9: note: in expansion of macro ‘TP_fast_assign’ 310 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:104:9: note: in expansion of macro ‘_BUG_FLAGS’ 104 | _BUG_FLAGS(ASM_UD2, __flags, ARCH_WARN_REACHABLE); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:634:9: note: in expansion of macro ‘fortify_warn_once’ 634 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:690:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ In file included from ../include/trace/define_trace.h:133: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:71:45: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 71 | "i" (sizeof(struct bug_entry))); \ | ^~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/perf.h:67:23: note: in expansion of macro ‘PARAMS’ 67 | PARAMS(assign), PARAMS(print)) \ | ^~~~~~ ../include/trace/trace_events.h:40:9: note: in expansion of macro ‘DECLARE_EVENT_CLASS’ 40 | DECLARE_EVENT_CLASS(name, \ | ^~~~~~~~~~~~~~~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:310:9: note: in expansion of macro ‘TP_fast_assign’ 310 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:104:9: note: in expansion of macro ‘_BUG_FLAGS’ 104 | _BUG_FLAGS(ASM_UD2, __flags, ARCH_WARN_REACHABLE); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:634:9: note: in expansion of macro ‘fortify_warn_once’ 634 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:690:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' Warning: ../security/landlock/ruleset.c:206 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:206 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:685 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:685 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1035 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1035 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' Warning: ../drivers/tty/n_gsm.c:4175 function parameter 'dlci' not described in 'gsm_modem_send_initial_msc' Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2302 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2337 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2506 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2506 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2855 function parameter 'handle' not described in 'snapshot_write_finalize' In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' Warning: ../drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done' In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/scsi/qla2xxx/qla_def.h:12, from ../drivers/scsi/qla2xxx/qla_init.c:6: In function ‘fortify_memcpy_chk’, inlined from ‘qla81xx_nvram_config’ at ../drivers/scsi/qla2xxx/qla_init.c:9246:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:108, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/vmalloc.h:5, from ../include/linux/bcm47xx_nvram.h:10, from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:484:25: note: in definition of macro ‘printk_index_wrap’ 484 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:565:9: note: in expansion of macro ‘printk’ 565 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:565:16: note: in expansion of macro ‘KERN_WARNING’ 565 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 92 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:484:25: note: in definition of macro ‘printk_index_wrap’ 484 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:565:9: note: in expansion of macro ‘printk’ 565 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:565:16: note: in expansion of macro ‘KERN_WARNING’ 565 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 90 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1066:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1066 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/android/binder.c:2436 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2436 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2436 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2436 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2456 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2456 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2456 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2456 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4078 function parameter 'thread' not described in 'binder_free_buf' Warning: ../drivers/android/binderfs.c:236 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:236 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:236 function parameter 'arg' not described in 'binder_ctl_ioctl' ../kernel/bpf/stream.c: In function ‘bpf_stream_vprintk’: ../kernel/bpf/stream.c:383:9: warning: function ‘bpf_stream_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 383 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt__str, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:377:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 377 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:433:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 433 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:475:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 475 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' Warning: ../drivers/nvdimm/core.c:219 function parameter 'len' not described in 'nd_uuid_store' Warning: ../fs/gfs2/glock.c:1248 function parameter 'ip' not described in '__gfs2_holder_init' In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../fs/smb/client/cifssmb.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘CIFSPOSIXCreate’ at ../fs/smb/client/cifssmb.c:993:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFileInfo’ at ../fs/smb/client/cifssmb.c:3843:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4009:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4091:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:4857:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:4928:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:4997:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../kernel/sched/rq-offsets.c:5: ../kernel/sched/sched.h: In function ‘mm_cid_get’: ../kernel/sched/sched.h:3743:25: warning: variable ‘cpumask’ set but not used [-Wunused-but-set-variable] 3743 | struct cpumask *cpumask; | ^~~~~~~ In file included from ../include/trace/define_trace.h:132, from ../samples/trace_events/trace-events-sample.h:640, from ../samples/trace_events/trace-events-sample.c:12: ../samples/trace_events/./trace-events-sample.h: In function ‘trace_event_get_offsets_foo_bar’: ../include/linux/cpumask.h:121:42: warning: function ‘trace_event_get_offsets_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 121 | #define cpu_possible_mask ((const struct cpumask *)&__cpu_possible_mask) | ^~~~~~~ ../include/trace/trace_events.h:285:9: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 285 | tstruct; \ | ^~~~~~~ ../include/trace/trace_events.h:43:30: note: in expansion of macro ‘PARAMS’ 43 | PARAMS(tstruct), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:299:9: note: in expansion of macro ‘TP_STRUCT__entry’ 299 | TP_STRUCT__entry( | ^~~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:110:34: note: in expansion of macro ‘__dynamic_array’ 110 | #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, \ | ^~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:98:11: note: in expansion of macro ‘__bitmask_size_in_bytes_raw’ 98 | ((__bitmask_size_in_bytes_raw(nr_bits) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:111:42: note: in expansion of macro ‘__bitmask_size_in_longs’ 111 | __bitmask_size_in_longs(nr_bits)) | ^~~~~~~~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:304:17: note: in expansion of macro ‘__bitmask’ 304 | __bitmask( cpus, num_possible_cpus() ) | ^~~~~~~~~ ../include/linux/cpumask.h:1198:48: note: in expansion of macro ‘cpu_possible_mask’ 1198 | #define num_possible_cpus() cpumask_weight(cpu_possible_mask) | ^~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:304:41: note: in expansion of macro ‘num_possible_cpus’ 304 | __bitmask( cpus, num_possible_cpus() ) | ^~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h: In function ‘do_trace_event_raw_event_foo_bar’: ../arch/x86/include/asm/bug.h:71:45: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 71 | "i" (sizeof(struct bug_entry))); \ | ^~~~~~~~~ ../include/trace/trace_events.h:427:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’ 427 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:435:23: note: in expansion of macro ‘PARAMS’ 435 | PARAMS(assign), PARAMS(print)) \ | ^~~~~~ ../include/trace/trace_events.h:40:9: note: in expansion of macro ‘DECLARE_EVENT_CLASS’ 40 | DECLARE_EVENT_CLASS(name, \ | ^~~~~~~~~~~~~~~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:310:9: note: in expansion of macro ‘TP_fast_assign’ 310 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:104:9: note: in expansion of macro ‘_BUG_FLAGS’ 104 | _BUG_FLAGS(ASM_UD2, __flags, ARCH_WARN_REACHABLE); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:634:9: note: in expansion of macro ‘fortify_warn_once’ 634 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:690:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ In file included from ../include/trace/define_trace.h:133: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:71:45: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 71 | "i" (sizeof(struct bug_entry))); \ | ^~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/perf.h:67:23: note: in expansion of macro ‘PARAMS’ 67 | PARAMS(assign), PARAMS(print)) \ | ^~~~~~ ../include/trace/trace_events.h:40:9: note: in expansion of macro ‘DECLARE_EVENT_CLASS’ 40 | DECLARE_EVENT_CLASS(name, \ | ^~~~~~~~~~~~~~~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:310:9: note: in expansion of macro ‘TP_fast_assign’ 310 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:104:9: note: in expansion of macro ‘_BUG_FLAGS’ 104 | _BUG_FLAGS(ASM_UD2, __flags, ARCH_WARN_REACHABLE); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:634:9: note: in expansion of macro ‘fortify_warn_once’ 634 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:690:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' Warning: ../security/landlock/ruleset.c:206 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:206 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:685 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:685 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../drivers/tty/n_gsm.c:4175 function parameter 'dlci' not described in 'gsm_modem_send_initial_msc' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1035 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1035 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2302 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2337 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2506 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2506 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2855 function parameter 'handle' not described in 'snapshot_write_finalize' Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' Warning: ../drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/scsi/qla2xxx/qla_def.h:12, from ../drivers/scsi/qla2xxx/qla_init.c:6: In function ‘fortify_memcpy_chk’, inlined from ‘qla81xx_nvram_config’ at ../drivers/scsi/qla2xxx/qla_init.c:9246:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:108, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/vmalloc.h:5, from ../include/linux/bcm47xx_nvram.h:10, from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:484:25: note: in definition of macro ‘printk_index_wrap’ 484 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:565:9: note: in expansion of macro ‘printk’ 565 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:565:16: note: in expansion of macro ‘KERN_WARNING’ 565 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 92 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:484:25: note: in definition of macro ‘printk_index_wrap’ 484 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:565:9: note: in expansion of macro ‘printk’ 565 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:565:16: note: in expansion of macro ‘KERN_WARNING’ 565 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 90 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3271:1: error: return type defaults to ‘int’ [-Wimplicit-int] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3271:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] ../kernel/bpf/verifier.c: In function ‘BTF_ID_LIST_END’: ../kernel/bpf/verifier.c:3274:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3274 | { | ^ ../kernel/bpf/verifier.c:3285:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3285 | { | ^ ../kernel/bpf/verifier.c:3296:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3296 | { | ^ ../kernel/bpf/verifier.c:3316:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3316 | { | ^ ../kernel/bpf/verifier.c:3463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3463 | { | ^ ../kernel/bpf/verifier.c:3475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3475 | { | ^ ../kernel/bpf/verifier.c:3487:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3487 | { | ^ ../kernel/bpf/verifier.c:3494:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3494 | { | ^ ../kernel/bpf/verifier.c:3511:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3511 | { | ^ ../kernel/bpf/verifier.c:3525:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3525 | { | ^ ../kernel/bpf/verifier.c:3588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3588 | { | ^ ../kernel/bpf/verifier.c:3641:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3641 | { | ^ ../kernel/bpf/verifier.c:3654:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3654 | { | ^ ../kernel/bpf/verifier.c:3675:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3675 | { | ^ ../kernel/bpf/verifier.c:3680:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3680 | { | ^ ../kernel/bpf/verifier.c:3695:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3695 | { | ^ ../kernel/bpf/verifier.c:3781:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3781 | { | ^ ../kernel/bpf/verifier.c:3805:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3805 | { | ^ ../kernel/bpf/verifier.c:3816:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3816 | { | ^ ../kernel/bpf/verifier.c:3829:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3829 | { | ^ ../kernel/bpf/verifier.c:3872:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3872 | { | ^ ../kernel/bpf/verifier.c:3880:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3880 | { | ^ ../kernel/bpf/verifier.c:3885:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3885 | { | ^ ../kernel/bpf/verifier.c:3890:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3890 | { | ^ ../kernel/bpf/verifier.c:3895:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3895 | { | ^ ../kernel/bpf/verifier.c:3900:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3900 | { | ^ ../kernel/bpf/verifier.c:3915:1: warning: empty declaration 3915 | struct linked_reg { | ^~~~~~ ../kernel/bpf/verifier.c:3924:1: warning: empty declaration 3924 | struct linked_regs { | ^~~~~~ ../kernel/bpf/verifier.c:3930:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3930 | { | ^ ../kernel/bpf/verifier.c:3945:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3945 | { | ^ ../kernel/bpf/verifier.c:3966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3966 | { | ^ ../kernel/bpf/verifier.c:3985:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3985 | { | ^ ../kernel/bpf/verifier.c:4027:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4027 | { | ^ ../kernel/bpf/verifier.c:4048:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4048 | { | ^ ../kernel/bpf/verifier.c:4068:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4068 | { | ^ ../kernel/bpf/verifier.c:4084:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4084 | { | ^ ../kernel/bpf/verifier.c:4095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4095 | { | ^ ../kernel/bpf/verifier.c:4100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4100 | { | ^ ../kernel/bpf/verifier.c:4108:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4108 | { | ^ ../kernel/bpf/verifier.c:4119:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4119 | { | ^ ../kernel/bpf/verifier.c:4129:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4129 | { | ^ ../kernel/bpf/verifier.c:4139:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4139 | { | ^ ../kernel/bpf/verifier.c:4144:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4144 | { | ^ ../kernel/bpf/verifier.c:4149:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4149 | { | ^ ../kernel/bpf/verifier.c:4154:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4154 | { | ^ ../kernel/bpf/verifier.c:4159:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4159 | { | ^ ../kernel/bpf/verifier.c:4164:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4164 | { | ^ ../kernel/bpf/verifier.c:4169:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4169 | { | ^ ../kernel/bpf/verifier.c:4174:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4174 | { | ^ ../kernel/bpf/verifier.c:4179:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4179 | { | ^ ../kernel/bpf/verifier.c:4184:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4184 | { | ^ ../kernel/bpf/verifier.c:4189:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4189 | { | ^ ../kernel/bpf/verifier.c:4194:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4194 | { | ^ ../kernel/bpf/verifier.c:4199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4199 | { | ^ ../kernel/bpf/verifier.c:4205:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4205 | { | ^ ../kernel/bpf/verifier.c:4224:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4224 | { | ^ ../kernel/bpf/verifier.c:4246:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4246 | { | ^ ../kernel/bpf/verifier.c:4289:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4289 | { | ^ ../kernel/bpf/verifier.c:4629:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4629 | { | ^ ../kernel/bpf/verifier.c:4675:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4675 | { | ^ ../kernel/bpf/verifier.c:4790:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4790 | { | ^ ../kernel/bpf/verifier.c:4972:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4972 | { | ^ ../kernel/bpf/verifier.c:4981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4981 | { | ^ ../kernel/bpf/verifier.c:4986:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4986 | { | ^ ../kernel/bpf/verifier.c:5014:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5014 | { | ^ ../kernel/bpf/verifier.c:5020:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5020 | { | ^ ../kernel/bpf/verifier.c:5027:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5027 | { | ^ ../kernel/bpf/verifier.c:5033:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5033 | { | ^ ../kernel/bpf/verifier.c:5042:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5042 | { | ^ ../kernel/bpf/verifier.c:5066:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5066 | { | ^ ../kernel/bpf/verifier.c:5074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5074 | { | ^ ../kernel/bpf/verifier.c:5088:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5088 | { | ^ ../kernel/bpf/verifier.c:5093:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5093 | { | ^ ../kernel/bpf/verifier.c:5100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5100 | { | ^ ../kernel/bpf/verifier.c:5130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5130 | { | ^ ../kernel/bpf/verifier.c:5276:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5276 | { | ^ ../kernel/bpf/verifier.c:5393:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5393 | { | ^ ../kernel/bpf/verifier.c:5433:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5433 | { | ^ ../kernel/bpf/verifier.c:5557:1: warning: empty declaration 5557 | enum bpf_access_src { | ^~~~ ../kernel/bpf/verifier.c:5562:12: error: storage class specified for parameter ‘check_stack_range_initialized’ 5562 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5569:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5569 | { | ^ ../kernel/bpf/verifier.c:5588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5588 | { | ^ ../kernel/bpf/verifier.c:5621:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5621 | { | ^ ../kernel/bpf/verifier.c:5678:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5678 | { | ^ ../kernel/bpf/verifier.c:5700:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5700 | { | ^ ../kernel/bpf/verifier.c:5724:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5724 | { | ^ ../kernel/bpf/verifier.c:5760:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5760 | { | ^ ../kernel/bpf/verifier.c:5815:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5815 | { | ^ ../kernel/bpf/verifier.c:5846:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5846 | { | ^ ../kernel/bpf/verifier.c:5853:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5853 | { | ^ ../kernel/bpf/verifier.c:5927:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5927 | { | ^ ../kernel/bpf/verifier.c:5935:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5935 | { | ^ In file included from ../include/linux/btf.h:10, from ../include/linux/bpf.h:29, from ../include/linux/bpf-cgroup.h:5, from ../kernel/bpf/verifier.c:7: ../kernel/bpf/verifier.c:5942:15: error: storage class specified for parameter ‘rcu_protected_types’ 5942 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘rcu_protected_types’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:5942:1: note: in expansion of macro ‘BTF_SET_START’ 5942 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5959:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5959 | { | ^ ../kernel/bpf/verifier.c:5966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5966 | { | ^ ../kernel/bpf/verifier.c:5979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5979 | { | ^ ../kernel/bpf/verifier.c:5987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5987 | { | ^ ../kernel/bpf/verifier.c:6011:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6011 | { | ^ ../kernel/bpf/verifier.c:6028:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6028 | { | ^ ../kernel/bpf/verifier.c:6093:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6093 | { | ^ ../kernel/bpf/verifier.c:6161:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6161 | { | ^ ../kernel/bpf/verifier.c:6202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6202 | { | ^ ../kernel/bpf/verifier.c:6245:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6245 | { | ^ ../kernel/bpf/verifier.c:6277:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6277 | { | ^ ../kernel/bpf/verifier.c:6290:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6290 | { | ^ ../kernel/bpf/verifier.c:6333:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6333 | { | ^ ../kernel/bpf/verifier.c:6338:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6338 | { | ^ ../kernel/bpf/verifier.c:6345:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6345 | { | ^ ../kernel/bpf/verifier.c:6352:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6352 | { | ^ ../kernel/bpf/verifier.c:6359:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6359 | { | ^ ../kernel/bpf/verifier.c:6367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6367 | { | ^ ../kernel/bpf/verifier.c:6378:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6378 | { | ^ ../kernel/bpf/verifier.c:6393:13: error: storage class specified for parameter ‘reg2btf_ids’ 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:6393:1: error: parameter ‘reg2btf_ids’ is initialized 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~ ../kernel/bpf/verifier.c:6393:47: error: variable-sized object may not be initialized except with an empty initializer 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:6395:10: error: array index in non-array initializer 6395 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6395:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6395:27: error: initialization of ‘u32 **’ {aka ‘unsigned int **’} from incompatible pointer type ‘u32 *’ {aka ‘unsigned int *’} [-Wincompatible-pointer-types] 6395 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^ ../kernel/bpf/verifier.c:6395:27: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6396:10: error: array index in non-array initializer 6396 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6396:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6396:32: warning: excess elements in scalar initializer 6396 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^ ../kernel/bpf/verifier.c:6396:32: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6397:10: error: array index in non-array initializer 6397 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6397:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6397:29: warning: excess elements in scalar initializer 6397 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^ ../kernel/bpf/verifier.c:6397:29: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6399:10: error: array index in non-array initializer 6399 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6399:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6399:30: warning: excess elements in scalar initializer 6399 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6399:30: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6403:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6403 | { | ^ ../kernel/bpf/verifier.c:6427:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6427 | { | ^ ../kernel/bpf/verifier.c:6432:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6432 | { | ^ ../kernel/bpf/verifier.c:6439:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6439 | { | ^ ../kernel/bpf/verifier.c:6475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6475 | { | ^ ../kernel/bpf/verifier.c:6498:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6498 | { | ^ ../kernel/bpf/verifier.c:6551:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6551 | { | ^ ../kernel/bpf/verifier.c:6579:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6579 | { | ^ ../kernel/bpf/verifier.c:6597:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6597 | { | ^ ../kernel/bpf/verifier.c:6757:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6757 | { | ^ ../kernel/bpf/verifier.c:6817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6817 | { | ^ ../kernel/bpf/verifier.c:6840:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6840 | { | ^ ../kernel/bpf/verifier.c:6858:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6858 | { | ^ ../kernel/bpf/verifier.c:6874:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6874 | { | ^ ../kernel/bpf/verifier.c:6883:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6883 | { | ^ ../kernel/bpf/verifier.c:6912:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6912 | { | ^ ../kernel/bpf/verifier.c:6931:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6931 | { | ^ ../kernel/bpf/verifier.c:6990:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6990 | { | ^ ../kernel/bpf/verifier.c:7005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7005 | { | ^ ../kernel/bpf/verifier.c:7055:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7055 | { | ^ ../kernel/bpf/verifier.c:7076:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7076 | { | ^ In file included from : ../kernel/bpf/verifier.c:7117:19: warning: empty declaration 7117 | BTF_TYPE_SAFE_RCU(struct task_struct) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7117:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7117 | BTF_TYPE_SAFE_RCU(struct task_struct) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7124:19: warning: empty declaration 7124 | BTF_TYPE_SAFE_RCU(struct cgroup) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7124:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7124 | BTF_TYPE_SAFE_RCU(struct cgroup) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7129:19: warning: empty declaration 7129 | BTF_TYPE_SAFE_RCU(struct css_set) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7129:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7129 | BTF_TYPE_SAFE_RCU(struct css_set) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7133:19: warning: empty declaration 7133 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7133:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7133 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7138:27: warning: empty declaration 7138 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7138:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7138 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7148:27: warning: empty declaration 7148 | BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7148:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7148 | BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7152:27: warning: empty declaration 7152 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7152:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7152 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7157:23: warning: empty declaration 7157 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7157:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7157 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7161:23: warning: empty declaration 7161 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7161:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7161 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7166:23: warning: empty declaration 7166 | BTF_TYPE_SAFE_TRUSTED(struct linux_binprm) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7166:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7166 | BTF_TYPE_SAFE_TRUSTED(struct linux_binprm) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7170:23: warning: empty declaration 7170 | BTF_TYPE_SAFE_TRUSTED(struct file) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7170:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7170 | BTF_TYPE_SAFE_TRUSTED(struct file) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7174:31: warning: empty declaration 7174 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct dentry) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7174:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7174 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct dentry) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7178:31: warning: empty declaration 7178 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct socket) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7178:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7178 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct socket) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7182:31: warning: empty declaration 7182 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7182:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7182 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7190:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7190 | { | ^ ../kernel/bpf/verifier.c:7202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7202 | { | ^ ../kernel/bpf/verifier.c:7213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7213 | { | ^ ../kernel/bpf/verifier.c:7225:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7225 | { | ^ ../kernel/bpf/verifier.c:7239:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7239 | { | ^ ../kernel/bpf/verifier.c:7392:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7392 | { | ^ ../kernel/bpf/verifier.c:7463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7463 | { | ^ ../kernel/bpf/verifier.c:7485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7485 | { | ^ ../kernel/bpf/verifier.c:7543:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7543 | { | ^ ../kernel/bpf/verifier.c:7561:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7561 | { | ^ ../kernel/bpf/verifier.c:7813:12: error: storage class specified for parameter ‘save_aux_ptr_type’ 7813 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7819:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7819 | { | ^ ../kernel/bpf/verifier.c:7851:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7851 | { | ^ ../kernel/bpf/verifier.c:7879:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7879 | { | ^ ../kernel/bpf/verifier.c:7968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7968 | { | ^ ../kernel/bpf/verifier.c:7987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7987 | { | ^ ../kernel/bpf/verifier.c:8005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8005 | { | ^ ../kernel/bpf/verifier.c:8053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8053 | { | ^ ../kernel/bpf/verifier.c:8199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8199 | { | ^ ../kernel/bpf/verifier.c:8297:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8297 | { | ^ ../kernel/bpf/verifier.c:8344:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8344 | { | ^ ../kernel/bpf/verifier.c:8372:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8372 | { | ^ ../kernel/bpf/verifier.c:8397:1: warning: empty declaration 8397 | enum { | ^~~~ ../kernel/bpf/verifier.c:8426:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8426 | { | ^ ../kernel/bpf/verifier.c:8544:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8544 | { | ^ ../kernel/bpf/verifier.c:8591:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8591 | { | ^ ../kernel/bpf/verifier.c:8615:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8615 | { | ^ ../kernel/bpf/verifier.c:8636:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8636 | { | ^ ../kernel/bpf/verifier.c:8656:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8656 | { | ^ ../kernel/bpf/verifier.c:8729:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8729 | { | ^ ../kernel/bpf/verifier.c:8808:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8808 | { | ^ ../kernel/bpf/verifier.c:8815:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8815 | { | ^ ../kernel/bpf/verifier.c:8820:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8820 | { | ^ ../kernel/bpf/verifier.c:8825:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8825 | { | ^ ../kernel/bpf/verifier.c:8830:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8830 | { | ^ ../kernel/bpf/verifier.c:8836:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8836 | { | ^ ../kernel/bpf/verifier.c:8849:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8849 | { | ^ ../kernel/bpf/verifier.c:8939:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8939 | { | ^ ../kernel/bpf/verifier.c:8960:13: error: storage class specified for parameter ‘reset_idmap_scratch’ 8960 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8961:13: error: storage class specified for parameter ‘regs_exact’ 8961 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8968 | { | ^ ../kernel/bpf/verifier.c:8981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8981 | { | ^ ../kernel/bpf/verifier.c:9012:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9012 | { | ^ ../kernel/bpf/verifier.c:9099:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9099 | { | ^ ../kernel/bpf/verifier.c:9153:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9153 | { | ^ ../kernel/bpf/verifier.c:9159:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9159 | { | ^ ../kernel/bpf/verifier.c:9165:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9165 | { | ^ ../kernel/bpf/verifier.c:9170:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9170 | { | ^ ../kernel/bpf/verifier.c:9177:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9177 | { | ^ ../kernel/bpf/verifier.c:9204:1: warning: empty declaration 9204 | struct bpf_reg_types { | ^~~~~~ ../kernel/bpf/verifier.c:9209:35: error: storage class specified for parameter ‘sock_types’ 9209 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:9209:21: error: parameter ‘sock_types’ is initialized 9209 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9219:35: error: storage class specified for parameter ‘btf_id_sock_common_types’ 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9219:21: error: parameter ‘btf_id_sock_common_types’ is initialized 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9232:35: error: storage class specified for parameter ‘mem_types’ 9232 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9232:21: error: parameter ‘mem_types’ is initialized 9232 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9246:35: error: storage class specified for parameter ‘spin_lock_types’ 9246 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9246:21: error: parameter ‘spin_lock_types’ is initialized 9246 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:35: error: storage class specified for parameter ‘fullsock_types’ 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:21: error: parameter ‘fullsock_types’ is initialized 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:35: error: storage class specified for parameter ‘scalar_types’ 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:21: error: parameter ‘scalar_types’ is initialized 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:35: error: storage class specified for parameter ‘context_types’ 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:21: error: parameter ‘context_types’ is initialized 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:35: error: storage class specified for parameter ‘ringbuf_mem_types’ 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:21: error: parameter ‘ringbuf_mem_types’ is initialized 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:35: error: storage class specified for parameter ‘const_map_ptr_types’ 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:21: error: parameter ‘const_map_ptr_types’ is initialized 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:35: error: storage class specified for parameter ‘btf_ptr_types’ 9258 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:21: error: parameter ‘btf_ptr_types’ is initialized 9258 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:35: error: storage class specified for parameter ‘percpu_btf_ptr_types’ 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:21: error: parameter ‘percpu_btf_ptr_types’ is initialized 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:35: error: storage class specified for parameter ‘func_ptr_types’ 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:21: error: parameter ‘func_ptr_types’ is initialized 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:35: error: storage class specified for parameter ‘stack_ptr_types’ 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:21: error: parameter ‘stack_ptr_types’ is initialized 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:35: error: storage class specified for parameter ‘const_str_ptr_types’ 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:21: error: parameter ‘const_str_ptr_types’ is initialized 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:35: error: storage class specified for parameter ‘timer_types’ 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:21: error: parameter ‘timer_types’ is initialized 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:35: error: storage class specified for parameter ‘kptr_xchg_dest_types’ 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:21: error: parameter ‘kptr_xchg_dest_types’ is initialized 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:35: error: storage class specified for parameter ‘dynptr_types’ 9282 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:21: error: parameter ‘dynptr_types’ is initialized 9282 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:36: error: storage class specified for parameter ‘compatible_reg_types’ 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:21: error: parameter ‘compatible_reg_types’ is initialized 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:79: error: variable-sized object may not be initialized except with an empty initializer 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:9290:10: error: array index in non-array initializer 9290 | [ARG_PTR_TO_MAP_KEY] = &mem_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9290:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9290:43: error: initialization of ‘const struct bpf_reg_types **’ from incompatible pointer type ‘const struct bpf_reg_types *’ [-Wincompatible-pointer-types] 9290 | [ARG_PTR_TO_MAP_KEY] = &mem_types, | ^ ../kernel/bpf/verifier.c:9290:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9291:10: error: array index in non-array initializer 9291 | [ARG_PTR_TO_MAP_VALUE] = &mem_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9291:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9291:43: warning: excess elements in scalar initializer 9291 | [ARG_PTR_TO_MAP_VALUE] = &mem_types, | ^ ../kernel/bpf/verifier.c:9291:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9292:10: error: array index in non-array initializer 9292 | [ARG_CONST_SIZE] = &scalar_types, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9292:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9292:43: warning: excess elements in scalar initializer 9292 | [ARG_CONST_SIZE] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9292:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9293:10: error: array index in non-array initializer 9293 | [ARG_CONST_SIZE_OR_ZERO] = &scalar_types, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9293:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9293:43: warning: excess elements in scalar initializer 9293 | [ARG_CONST_SIZE_OR_ZERO] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9293:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9294:10: error: array index in non-array initializer 9294 | [ARG_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_types, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9294:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9294:43: warning: excess elements in scalar initializer 9294 | [ARG_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9294:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9295:10: error: array index in non-array initializer 9295 | [ARG_CONST_MAP_PTR] = &const_map_ptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9295:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9295:43: warning: excess elements in scalar initializer 9295 | [ARG_CONST_MAP_PTR] = &const_map_ptr_types, | ^ ../kernel/bpf/verifier.c:9295:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9296:10: error: array index in non-array initializer 9296 | [ARG_PTR_TO_CTX] = &context_types, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9296:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9296:43: warning: excess elements in scalar initializer 9296 | [ARG_PTR_TO_CTX] = &context_types, | ^ ../kernel/bpf/verifier.c:9296:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9297:10: error: array index in non-array initializer 9297 | [ARG_PTR_TO_SOCK_COMMON] = &sock_types, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9297:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9297:43: warning: excess elements in scalar initializer 9297 | [ARG_PTR_TO_SOCK_COMMON] = &sock_types, | ^ ../kernel/bpf/verifier.c:9297:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9299:10: error: array index in non-array initializer 9299 | [ARG_PTR_TO_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9299:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9299:43: warning: excess elements in scalar initializer 9299 | [ARG_PTR_TO_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, | ^ ../kernel/bpf/verifier.c:9299:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9301:10: error: array index in non-array initializer 9301 | [ARG_PTR_TO_SOCKET] = &fullsock_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9301:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9301:43: warning: excess elements in scalar initializer 9301 | [ARG_PTR_TO_SOCKET] = &fullsock_types, | ^ ../kernel/bpf/verifier.c:9301:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9302:10: error: array index in non-array initializer 9302 | [ARG_PTR_TO_BTF_ID] = &btf_ptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9302:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9302:43: warning: excess elements in scalar initializer 9302 | [ARG_PTR_TO_BTF_ID] = &btf_ptr_types, | ^ ../kernel/bpf/verifier.c:9302:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9303:10: error: array index in non-array initializer 9303 | [ARG_PTR_TO_SPIN_LOCK] = &spin_lock_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9303:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9303:43: warning: excess elements in scalar initializer 9303 | [ARG_PTR_TO_SPIN_LOCK] = &spin_lock_types, | ^ ../kernel/bpf/verifier.c:9303:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9304:10: error: array index in non-array initializer 9304 | [ARG_PTR_TO_MEM] = &mem_types, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9304:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9304:43: warning: excess elements in scalar initializer 9304 | [ARG_PTR_TO_MEM] = &mem_types, | ^ ../kernel/bpf/verifier.c:9304:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9305:10: error: array index in non-array initializer 9305 | [ARG_PTR_TO_RINGBUF_MEM] = &ringbuf_mem_types, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9305:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9305:43: warning: excess elements in scalar initializer 9305 | [ARG_PTR_TO_RINGBUF_MEM] = &ringbuf_mem_types, | ^ ../kernel/bpf/verifier.c:9305:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9306:10: error: array index in non-array initializer 9306 | [ARG_PTR_TO_PERCPU_BTF_ID] = &percpu_btf_ptr_types, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9306:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9306:43: warning: excess elements in scalar initializer 9306 | [ARG_PTR_TO_PERCPU_BTF_ID] = &percpu_btf_ptr_types, | ^ ../kernel/bpf/verifier.c:9306:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9307:10: error: array index in non-array initializer 9307 | [ARG_PTR_TO_FUNC] = &func_ptr_types, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9307:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9307:43: warning: excess elements in scalar initializer 9307 | [ARG_PTR_TO_FUNC] = &func_ptr_types, | ^ ../kernel/bpf/verifier.c:9307:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9308:10: error: array index in non-array initializer 9308 | [ARG_PTR_TO_STACK] = &stack_ptr_types, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9308:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9308:43: warning: excess elements in scalar initializer 9308 | [ARG_PTR_TO_STACK] = &stack_ptr_types, | ^ ../kernel/bpf/verifier.c:9308:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9309:10: error: array index in non-array initializer 9309 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9309:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9309:43: warning: excess elements in scalar initializer 9309 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, | ^ ../kernel/bpf/verifier.c:9309:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9310:10: error: array index in non-array initializer 9310 | [ARG_PTR_TO_TIMER] = &timer_types, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9310:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9310:43: warning: excess elements in scalar initializer 9310 | [ARG_PTR_TO_TIMER] = &timer_types, | ^ ../kernel/bpf/verifier.c:9310:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9311:10: error: array index in non-array initializer 9311 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9311:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9311:43: warning: excess elements in scalar initializer 9311 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^ ../kernel/bpf/verifier.c:9311:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9312:10: error: array index in non-array initializer 9312 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9312:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9312:43: warning: excess elements in scalar initializer 9312 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^ ../kernel/bpf/verifier.c:9312:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9319:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9319 | { | ^ ../kernel/bpf/verifier.c:9464:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9464 | { | ^ ../kernel/bpf/verifier.c:9482:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9482 | { | ^ ../kernel/bpf/verifier.c:9553:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9553 | { | ^ ../kernel/bpf/verifier.c:9573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9573 | { | ^ ../kernel/bpf/verifier.c:9586:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9586 | { | ^ ../kernel/bpf/verifier.c:9600:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9600 | { | ^ ../kernel/bpf/verifier.c:9618:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9618 | { | ^ ../kernel/bpf/verifier.c:9669:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9669 | { | ^ ../kernel/bpf/verifier.c:9725:13: error: storage class specified for parameter ‘can_elide_value_nullness’ 9725 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9731:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9731 | { | ^ ../kernel/bpf/verifier.c:9998:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9998 | { | ^ ../kernel/bpf/verifier.c:10036:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10036 | { | ^ ../kernel/bpf/verifier.c:10043:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10043 | { | ^ ../kernel/bpf/verifier.c:10293:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10293 | { | ^ ../kernel/bpf/verifier.c:10315:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10315 | { | ^ ../kernel/bpf/verifier.c:10330:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10330 | { | ^ ../kernel/bpf/verifier.c:10348:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10348 | { | ^ ../kernel/bpf/verifier.c:10367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10367 | { | ^ ../kernel/bpf/verifier.c:10380:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10380 | { | ^ ../kernel/bpf/verifier.c:10390:1: warning: empty declaration 10390 | enum { | ^~~~ ../kernel/bpf/verifier.c:10396:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10396 | { | ^ ../kernel/bpf/verifier.c:10417:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10417 | { | ^ ../kernel/bpf/verifier.c:10437:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10437 | { | ^ ../kernel/bpf/verifier.c:10456:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10456 | { | ^ ../kernel/bpf/verifier.c:10468:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10468 | { | ^ ../kernel/bpf/verifier.c:10478:15: error: storage class specified for parameter ‘set_callee_state_fn’ 10478 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10483:12: error: storage class specified for parameter ‘set_callee_state’ 10483 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10488:29: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10488 | set_callee_state_fn set_callee_state_cb, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10538:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10538 | { | ^ ../kernel/bpf/verifier.c:10638:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10638 | { | ^ ../kernel/bpf/verifier.c:10666:31: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10666 | set_callee_state_fn set_callee_state_cb) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10735:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10735 | { | ^ ../kernel/bpf/verifier.c:10817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10817 | { | ^ ../kernel/bpf/verifier.c:10844:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10844 | { | ^ ../kernel/bpf/verifier.c:10859:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10859 | { | ^ ../kernel/bpf/verifier.c:10885:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10885 | { | ^ ../kernel/bpf/verifier.c:10907:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10907 | { | ^ ../kernel/bpf/verifier.c:10937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10937 | { | ^ ../kernel/bpf/verifier.c:10965:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10965 | { | ^ ../kernel/bpf/verifier.c:10988:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10988 | { | ^ ../kernel/bpf/verifier.c:11020:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11020 | { | ^ ../kernel/bpf/verifier.c:11046:13: error: storage class specified for parameter ‘is_rbtree_lock_required_kfunc’ 11046 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11053 | { | ^ ../kernel/bpf/verifier.c:11073:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11073 | { | ^ ../kernel/bpf/verifier.c:11081:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11081 | { | ^ ../kernel/bpf/verifier.c:11174:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11174 | { | ^ ../kernel/bpf/verifier.c:11211:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11211 | { | ^ ../kernel/bpf/verifier.c:11257:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11257 | { | ^ ../kernel/bpf/verifier.c:11292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11292 | { | ^ ../kernel/bpf/verifier.c:11319:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11319 | { | ^ ../kernel/bpf/verifier.c:11353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11353 | { | ^ ../kernel/bpf/verifier.c:11390:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11390 | { | ^ ../kernel/bpf/verifier.c:11411:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11411 | { | ^ ../kernel/bpf/verifier.c:11416:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11416 | { | ^ ../kernel/bpf/verifier.c:11428:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11428 | { | ^ ../kernel/bpf/verifier.c:11450:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11450 | { | ^ ../kernel/bpf/verifier.c:11462:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11462 | { | ^ ../kernel/bpf/verifier.c:11475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11475 | { | ^ ../kernel/bpf/verifier.c:11484:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11484 | { | ^ ../kernel/bpf/verifier.c:12004:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12004 | { | ^ ../kernel/bpf/verifier.c:12019:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12019 | { | ^ ../kernel/bpf/verifier.c:12024:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12024 | { | ^ ../kernel/bpf/verifier.c:12029:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12029 | { | ^ ../kernel/bpf/verifier.c:12034:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12034 | { | ^ ../kernel/bpf/verifier.c:12039:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12039 | { | ^ ../kernel/bpf/verifier.c:12044:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12044 | { | ^ ../kernel/bpf/verifier.c:12049:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12049 | { | ^ ../kernel/bpf/verifier.c:12054:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12054 | { | ^ ../kernel/bpf/verifier.c:12061:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12061 | { | ^ ../kernel/bpf/verifier.c:12074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12074 | { | ^ ../kernel/bpf/verifier.c:12085:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12085 | { | ^ ../kernel/bpf/verifier.c:12090:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12090 | { | ^ ../kernel/bpf/verifier.c:12095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12095 | { | ^ ../kernel/bpf/verifier.c:12100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12100 | { | ^ ../kernel/bpf/verifier.c:12105:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12105 | { | ^ ../kernel/bpf/verifier.c:12110:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12110 | { | ^ ../kernel/bpf/verifier.c:12115:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12115 | { | ^ ../kernel/bpf/verifier.c:12120:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12120 | { | ^ ../kernel/bpf/verifier.c:12125:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12125 | { | ^ ../kernel/bpf/verifier.c:12130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12130 | { | ^ ../kernel/bpf/verifier.c:12135:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12135 | { | ^ ../kernel/bpf/verifier.c:12140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12140 | { | ^ ../kernel/bpf/verifier.c:12147:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12147 | { | ^ ../kernel/bpf/verifier.c:12163:1: warning: empty declaration 12163 | enum { | ^~~~ ../kernel/bpf/verifier.c:12174:13: error: storage class specified for parameter ‘kf_arg_btf_ids’ 12174 | BTF_ID_LIST(kf_arg_btf_ids) | ^~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:12186:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12186 | { | ^ ../kernel/bpf/verifier.c:12202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12202 | { | ^ ../kernel/bpf/verifier.c:12207:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12207 | { | ^ ../kernel/bpf/verifier.c:12212:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12212 | { | ^ ../kernel/bpf/verifier.c:12217:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12217 | { | ^ ../kernel/bpf/verifier.c:12222:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12222 | { | ^ ../kernel/bpf/verifier.c:12227:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12227 | { | ^ ../kernel/bpf/verifier.c:12232:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12232 | { | ^ ../kernel/bpf/verifier.c:12237:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12237 | { | ^ ../kernel/bpf/verifier.c:12242:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12242 | { | ^ ../kernel/bpf/verifier.c:12247:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12247 | { | ^ ../kernel/bpf/verifier.c:12253:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12253 | { | ^ ../kernel/bpf/verifier.c:12267:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12267 | { | ^ ../kernel/bpf/verifier.c:12303:1: warning: empty declaration 12303 | enum kfunc_ptr_arg_type { | ^~~~ ../kernel/bpf/verifier.c:12326:1: warning: empty declaration 12326 | enum special_kfunc_type { | ^~~~ ../kernel/bpf/verifier.c:12380:13: error: storage class specified for parameter ‘special_kfunc_list’ 12380 | BTF_ID_LIST(special_kfunc_list) | ^~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:12454:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12454 | { | ^ ../kernel/bpf/verifier.c:12460:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12460 | { | ^ ../kernel/bpf/verifier.c:12470:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12470 | { | ^ ../kernel/bpf/verifier.c:12475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12475 | { | ^ ../kernel/bpf/verifier.c:12480:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12480 | { | ^ ../kernel/bpf/verifier.c:12485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12485 | { | ^ ../kernel/bpf/verifier.c:12490:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12490 | { | ^ ../kernel/bpf/verifier.c:12500:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12500 | { | ^ ../kernel/bpf/verifier.c:12599:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12599 | { | ^ ../kernel/bpf/verifier.c:12667:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12667 | { | ^ ../kernel/bpf/verifier.c:12720:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12720 | { | ^ ../kernel/bpf/verifier.c:12741:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12741 | { | ^ ../kernel/bpf/verifier.c:12817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12817 | { | ^ ../kernel/bpf/verifier.c:12846:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12846 | { | ^ ../kernel/bpf/verifier.c:12856:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12856 | { | ^ ../kernel/bpf/verifier.c:12866:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12866 | { | ^ ../kernel/bpf/verifier.c:12873:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12873 | { | ^ ../kernel/bpf/verifier.c:12879:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12879 | { | ^ ../kernel/bpf/verifier.c:12887:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12887 | { | ^ ../kernel/bpf/verifier.c:12893:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12893 | { | ^ ../kernel/bpf/verifier.c:12898:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12898 | { | ^ ../kernel/bpf/verifier.c:12904:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12904 | { | ^ ../kernel/bpf/verifier.c:12910:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12910 | { | ^ ../kernel/bpf/verifier.c:12915:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12915 | { | ^ ../kernel/bpf/verifier.c:12921:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12921 | { | ^ ../kernel/bpf/verifier.c:12928:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12928 | { | ^ ../kernel/bpf/verifier.c:12953:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12953 | { | ^ ../kernel/bpf/verifier.c:12985:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12985 | { | ^ ../kernel/bpf/verifier.c:13033:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13033 | { | ^ ../kernel/bpf/verifier.c:13041:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13041 | { | ^ ../kernel/bpf/verifier.c:13053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13053 | { | ^ ../kernel/bpf/verifier.c:13114:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13114 | { | ^ ../kernel/bpf/verifier.c:13123:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13123 | { | ^ ../kernel/bpf/verifier.c:13136:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13136 | { | ^ ../kernel/bpf/verifier.c:13153:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13153 | { | ^ ../kernel/bpf/verifier.c:13696:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13696 | { | ^ ../kernel/bpf/verifier.c:13761:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13761 | { | ^ ../kernel/bpf/verifier.c:13933:12: error: storage class specified for parameter ‘check_return_code’ 13933 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13937 | { | ^ ../kernel/bpf/verifier.c:14327:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14327 | { | ^ ../kernel/bpf/verifier.c:14359:1: warning: empty declaration 14359 | enum { | ^~~~ ../kernel/bpf/verifier.c:14369:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14369 | { | ^ ../kernel/bpf/verifier.c:14400:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14400 | { | ^ ../kernel/bpf/verifier.c:14408:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14408 | { | ^ ../kernel/bpf/verifier.c:14425:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14425 | { | ^ ../kernel/bpf/verifier.c:14435:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14435 | { | ^ ../kernel/bpf/verifier.c:14439:1: warning: empty declaration 14439 | struct bpf_sanitize_info { | ^~~~~~ ../kernel/bpf/verifier.c:14447:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14447 | { | ^ ../kernel/bpf/verifier.c:14471:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14471 | { | ^ ../kernel/bpf/verifier.c:14561:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14561 | { | ^ ../kernel/bpf/verifier.c:14577:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14577 | { | ^ ../kernel/bpf/verifier.c:14626:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14626 | { | ^ ../kernel/bpf/verifier.c:14648:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14648 | { | ^ ../kernel/bpf/verifier.c:14686:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14686 | { | ^ ../kernel/bpf/verifier.c:14927:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14927 | { | ^ ../kernel/bpf/verifier.c:14958:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14958 | { | ^ ../kernel/bpf/verifier.c:14989:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14989 | { | ^ ../kernel/bpf/verifier.c:15021:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15021 | { | ^ ../kernel/bpf/verifier.c:15053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15053 | { | ^ ../kernel/bpf/verifier.c:15081:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15081 | { | ^ ../kernel/bpf/verifier.c:15109:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15109 | { | ^ ../kernel/bpf/verifier.c:15140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15140 | { | ^ ../kernel/bpf/verifier.c:15172:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15172 | { | ^ ../kernel/bpf/verifier.c:15203:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15203 | { | ^ ../kernel/bpf/verifier.c:15235:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15235 | { | ^ ../kernel/bpf/verifier.c:15263:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15263 | { | ^ ../kernel/bpf/verifier.c:15293:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15293 | { | ^ ../kernel/bpf/verifier.c:15311:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15311 | { | ^ ../kernel/bpf/verifier.c:15329:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15329 | { | ^ ../kernel/bpf/verifier.c:15359:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15359 | { | ^ ../kernel/bpf/verifier.c:15374:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15374 | { | ^ ../kernel/bpf/verifier.c:15406:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15406 | { | ^ ../kernel/bpf/verifier.c:15440:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15440 | { | ^ ../kernel/bpf/verifier.c:15463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15463 | { | ^ ../kernel/bpf/verifier.c:15490:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15490 | { | ^ ../kernel/bpf/verifier.c:15537:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15537 | { | ^ ../kernel/bpf/verifier.c:15639:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15639 | { | ^ ../kernel/bpf/verifier.c:15773:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15773 | { | ^ ../kernel/bpf/verifier.c:16019:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16019 | { | ^ ../kernel/bpf/verifier.c:16099:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16099 | { | ^ ../kernel/bpf/verifier.c:16230:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16230 | { | ^ ../kernel/bpf/verifier.c:16253:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16253 | { | ^ ../kernel/bpf/verifier.c:16299:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16299 | { | ^ ../kernel/bpf/verifier.c:16343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16343 | { | ^ ../kernel/bpf/verifier.c:16367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16367 | { | ^ ../kernel/bpf/verifier.c:16547:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16547 | { | ^ ../kernel/bpf/verifier.c:16577:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16577 | { | ^ ../kernel/bpf/verifier.c:16626:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16626 | { | ^ ../kernel/bpf/verifier.c:16649:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16649 | { | ^ ../kernel/bpf/verifier.c:16751:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16751 | { | ^ ../kernel/bpf/verifier.c:16773:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16773 | { | ^ ../kernel/bpf/verifier.c:16799:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16799 | { | ^ ../kernel/bpf/verifier.c:16844:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16844 | { | ^ ../kernel/bpf/verifier.c:17099:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17099 | { | ^ ../kernel/bpf/verifier.c:17195:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17195 | { | ^ ../kernel/bpf/verifier.c:17222:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17222 | { | ^ ../kernel/bpf/verifier.c:17292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17292 | { | ^ ../kernel/bpf/verifier.c:17491:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17491 | { | ^ ../kernel/bpf/verifier.c:17499:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17499 | { | ^ ../kernel/bpf/verifier.c:17513:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17513 | { | ^ ../kernel/bpf/verifier.c:17555:1: warning: empty declaration 17555 | enum { | ^~~~ ../kernel/bpf/verifier.c:17563:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17563 | { | ^ ../kernel/bpf/verifier.c:17568:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17568 | { | ^ ../kernel/bpf/verifier.c:17573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17573 | { | ^ ../kernel/bpf/verifier.c:17578:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17578 | { | ^ ../kernel/bpf/verifier.c:17583:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17583 | { | ^ ../kernel/bpf/verifier.c:17588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17588 | { | ^ ../kernel/bpf/verifier.c:17592:1: warning: empty declaration 17592 | enum { | ^~~~ ../kernel/bpf/verifier.c:17603:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17603 | { | ^ ../kernel/bpf/verifier.c:17653:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17653 | { | ^ ../kernel/bpf/verifier.c:17683:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17683 | { | ^ ../kernel/bpf/verifier.c:17694:1: warning: empty declaration 17694 | struct call_summary { | ^~~~~~ ../kernel/bpf/verifier.c:17705:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17705 | { | ^ ../kernel/bpf/verifier.c:17821:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17821 | { | ^ ../kernel/bpf/verifier.c:17906:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17906 | { | ^ ../kernel/bpf/verifier.c:17934:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17934 | { | ^ ../kernel/bpf/verifier.c:17955:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17955 | { | ^ ../kernel/bpf/verifier.c:18077:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18077 | { | ^ ../kernel/bpf/verifier.c:18168:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18168 | { | ^ ../kernel/bpf/verifier.c:18214:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18214 | { | ^ ../kernel/bpf/verifier.c:18237:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18237 | { | ^ ../kernel/bpf/verifier.c:18339:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18339 | { | ^ ../kernel/bpf/verifier.c:18412:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18412 | { | ^ ../kernel/bpf/verifier.c:18430:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18430 | { | ^ ../kernel/bpf/verifier.c:18558:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18558 | { | ^ ../kernel/bpf/verifier.c:18627:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18627 | { | ^ ../kernel/bpf/verifier.c:18655:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18655 | { | ^ ../kernel/bpf/verifier.c:18682:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18682 | { | ^ ../kernel/bpf/verifier.c:18704:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18704 | { | ^ ../kernel/bpf/verifier.c:18737:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18737 | { | ^ ../kernel/bpf/verifier.c:18747:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18747 | { | ^ ../kernel/bpf/verifier.c:18771:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18771 | { | ^ ../kernel/bpf/verifier.c:18814:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18814 | { | ^ ../kernel/bpf/verifier.c:18838:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18838 | { | ^ ../kernel/bpf/verifier.c:18844:1: warning: empty declaration 18844 | enum exact_level { | ^~~~ ../kernel/bpf/verifier.c:18854:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18854 | { | ^ ../kernel/bpf/verifier.c:18976:29: error: storage class specified for parameter ‘unbound_reg’ 18976 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:18979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18979 | { | ^ ../include/linux/compiler.h:166:45: error: storage class specified for parameter ‘__UNIQUE_ID___addressable_unbound_reg_init1108’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: error: parameter ‘__UNIQUE_ID___addressable_unbound_reg_init1108’ is initialized ../kernel/bpf/verifier.c:18983:1: warning: ‘used’ attribute ignored [-Wattributes] ../include/linux/compiler.h:166:45: error: section attribute not allowed for ‘__UNIQUE_ID___addressable_unbound_reg_init1108’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ In file included from ../include/uapi/linux/filter.h:9, from ../include/linux/bpf.h:8: ../kernel/bpf/verifier.c:18983:15: error: ‘unbound_reg_init’ undeclared (first use in this function); did you mean ‘unbound_reg’? 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~~~~ ../include/linux/compiler.h:286:72: note: in definition of macro ‘___ADDRESSABLE’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:15: note: each undeclared identifier is reported only once for each function it appears in 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~~~~ ../include/linux/compiler.h:286:72: note: in definition of macro ‘___ADDRESSABLE’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/printk.h:6, from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:108, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:11: ../include/linux/init.h:256:9: error: expected declaration specifiers before ‘asm’ 256 | asm(".section \"" __sec "\", \"a\" \n" \ | ^~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/init.h:5: ../include/linux/build_bug.h:78:41: error: expected declaration specifiers before ‘_Static_assert’ 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/linux/init.h:260:9: note: in expansion of macro ‘static_assert’ 260 | static_assert(__same_type(initcall_t, &fn)); | ^~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:32: error: expected declaration specifiers before ‘;’ token 18983 | late_initcall(unbound_reg_init); | ^ ../kernel/bpf/verifier.c:18987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18987 | { | ^ ../kernel/bpf/verifier.c:19002:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19002 | { | ^ ../kernel/bpf/verifier.c:19015:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19015 | { | ^ ../kernel/bpf/verifier.c:19139:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19139 | { | ^ ../kernel/bpf/verifier.c:19212:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19212 | { | ^ ../kernel/bpf/verifier.c:19232:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19232 | { | ^ ../kernel/bpf/verifier.c:19241:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19241 | { | ^ ../kernel/bpf/verifier.c:19282:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19282 | { | ^ ../kernel/bpf/verifier.c:19343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19343 | { | ^ ../kernel/bpf/verifier.c:19373:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19373 | { | ^ ../kernel/bpf/verifier.c:19390:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19390 | { | ^ ../kernel/bpf/verifier.c:19453:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19453 | { | ^ ../kernel/bpf/verifier.c:19477:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19477 | { | ^ ../kernel/bpf/verifier.c:19833:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19833 | { | ^ ../kernel/bpf/verifier.c:19861:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19861 | { | ^ ../kernel/bpf/verifier.c:19867:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19867 | { | ^ ../kernel/bpf/verifier.c:19878:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19878 | { | ^ ../kernel/bpf/verifier.c:19884:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19884 | { | ^ ../kernel/bpf/verifier.c:19930:1: warning: empty declaration 19930 | enum { | ^~~~ ../kernel/bpf/verifier.c:19937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19937 | { | ^ ../kernel/bpf/verifier.c:19981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19981 | { | ^ ../kernel/bpf/verifier.c:20140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20140 | { | ^ ../kernel/bpf/verifier.c:20313:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20313 | { | ^ ../kernel/bpf/verifier.c:20349:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20349 | { | ^ ../kernel/bpf/verifier.c:20387:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20387 | { | ^ ../kernel/bpf/verifier.c:20469:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20469 | { | ^ ../kernel/bpf/verifier.c:20502:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20502 | { | ^ ../kernel/bpf/verifier.c:20516:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20516 | { | ^ ../kernel/bpf/verifier.c:20525:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20525 | { | ^ ../kernel/bpf/verifier.c:20639:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20639 | { | ^ ../kernel/bpf/verifier.c:20677:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20677 | { | ^ ../kernel/bpf/verifier.c:20698:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20698 | { | ^ ../kernel/bpf/verifier.c:20841:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20841 | { | ^ ../kernel/bpf/verifier.c:20848:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20848 | { | ^ ../kernel/bpf/verifier.c:20854:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20854 | { | ^ ../kernel/bpf/verifier.c:20874:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20874 | { | ^ ../kernel/bpf/verifier.c:20902:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20902 | { | ^ ../kernel/bpf/verifier.c:20916:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20916 | { | ^ ../kernel/bpf/verifier.c:20931:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20931 | { | ^ ../kernel/bpf/verifier.c:20965:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20965 | { | ^ ../kernel/bpf/verifier.c:21000:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21000 | { | ^ ../kernel/bpf/verifier.c:21056:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21056 | { | ^ ../kernel/bpf/verifier.c:21119:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21119 | { | ^ ../kernel/bpf/verifier.c:21157:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21157 | { | ^ ../kernel/bpf/verifier.c:21173:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21173 | { | ^ ../kernel/bpf/verifier.c:21187:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21187 | { | ^ ../kernel/bpf/verifier.c:21213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21213 | { | ^ ../kernel/bpf/verifier.c:21236:30: error: storage class specified for parameter ‘NOP’ 21236 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~ ../kernel/bpf/verifier.c:21236:21: error: parameter ‘NOP’ is initialized 21236 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21237:30: error: storage class specified for parameter ‘MAY_GOTO_0’ 21237 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21237:21: error: parameter ‘MAY_GOTO_0’ is initialized 21237 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21240:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21240 | { | ^ ../kernel/bpf/verifier.c:21266:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21266 | { | ^ ../kernel/bpf/verifier.c:21371:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21371 | { | ^ ../kernel/bpf/verifier.c:21671:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21671 | { | ^ ../kernel/bpf/verifier.c:21937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21937 | { | ^ ../kernel/bpf/verifier.c:21989:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21989 | { | ^ ../kernel/bpf/verifier.c:22050:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22050 | { | ^ ../kernel/bpf/verifier.c:22063:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22063 | { | ^ ../kernel/bpf/verifier.c:22175:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22175 | { | ^ ../kernel/bpf/verifier.c:22204:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22204 | { | ^ ../kernel/bpf/verifier.c:23127:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23127 | { | ^ ../kernel/bpf/verifier.c:23199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23199 | { | ^ ../kernel/bpf/verifier.c:23215:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23215 | { | ^ ../kernel/bpf/verifier.c:23263:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23263 | { | ^ ../kernel/bpf/verifier.c:23294:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23294 | { | ^ ../kernel/bpf/verifier.c:23337:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23337 | { | ^ ../kernel/bpf/verifier.c:23486:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23486 | { | ^ ../kernel/bpf/verifier.c:23536:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23536 | { | ^ ../kernel/bpf/verifier.c:23548:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23548 | { | ^ ../kernel/bpf/verifier.c:23573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23573 | { | ^ ../kernel/bpf/verifier.c:23581:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23581 | { | ^ ../kernel/bpf/verifier.c:23692:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23692 | { | ^ ../kernel/bpf/verifier.c:23703:15: error: storage class specified for parameter ‘btf_non_sleepable_error_inject’ 23703 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘btf_non_sleepable_error_inject’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:23703:1: note: in expansion of macro ‘BTF_SET_START’ 23703 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23717:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23717 | { | ^ ../kernel/bpf/verifier.c:23726:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23726 | { | ^ ../kernel/bpf/verifier.c:24052:15: error: storage class specified for parameter ‘btf_id_deny’ 24052 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘btf_id_deny’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:24052:1: note: in expansion of macro ‘BTF_SET_START’ 24052 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24076:15: error: storage class specified for parameter ‘noreturn_deny’ 24076 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘noreturn_deny’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:24076:1: note: in expansion of macro ‘BTF_SET_START’ 24076 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24100 | { | ^ ../kernel/bpf/verifier.c:24118:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24118 | { | ^ ../kernel/bpf/verifier.c:24208:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24208 | { | ^ ../kernel/bpf/verifier.c:24224:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24224 | { | ^ ../kernel/bpf/verifier.c:24251:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24251 | { | ^ ../kernel/bpf/verifier.c:24286:1: warning: empty declaration 24286 | struct insn_live_regs { | ^~~~~~ ../kernel/bpf/verifier.c:24300:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24300 | { | ^ ../kernel/bpf/verifier.c:24435:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24435 | { | ^ ../kernel/bpf/verifier.c:24529:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24529 | { | ^ ../kernel/bpf/verifier.c:24702:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24702 | { | ^ ../kernel/bpf/verifier.c:3271:1: error: type of ‘magic_kfuncs’ defaults to ‘int’ [-Wimplicit-int] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24076:15: error: declaration for parameter ‘noreturn_deny’ but no such parameter 24076 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:24052:15: error: declaration for parameter ‘btf_id_deny’ but no such parameter 24052 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:23703:15: error: declaration for parameter ‘btf_non_sleepable_error_inject’ but no such parameter 23703 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:21237:30: error: declaration for parameter ‘MAY_GOTO_0’ but no such parameter 21237 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21236:30: error: declaration for parameter ‘NOP’ but no such parameter 21236 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~ ../include/linux/compiler.h:166:45: error: declaration for parameter ‘__UNIQUE_ID___addressable_unbound_reg_init1108’ but no such parameter 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18976:29: error: declaration for parameter ‘unbound_reg’ but no such parameter 18976 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:13933:12: error: declaration for parameter ‘check_return_code’ but no such parameter 13933 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12380:13: error: declaration for parameter ‘special_kfunc_list’ but no such parameter 12380 | BTF_ID_LIST(special_kfunc_list) | ^~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:12174:13: error: declaration for parameter ‘kf_arg_btf_ids’ but no such parameter 12174 | BTF_ID_LIST(kf_arg_btf_ids) | ^~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:11046:13: error: declaration for parameter ‘is_rbtree_lock_required_kfunc’ but no such parameter 11046 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10483:12: error: declaration for parameter ‘set_callee_state’ but no such parameter 10483 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10478:15: error: declaration for parameter ‘set_callee_state_fn’ but no such parameter 10478 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9725:13: error: declaration for parameter ‘can_elide_value_nullness’ but no such parameter 9725 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:36: error: declaration for parameter ‘compatible_reg_types’ but no such parameter 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:35: error: declaration for parameter ‘dynptr_types’ but no such parameter 9282 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:35: error: declaration for parameter ‘kptr_xchg_dest_types’ but no such parameter 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:35: error: declaration for parameter ‘timer_types’ but no such parameter 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:35: error: declaration for parameter ‘const_str_ptr_types’ but no such parameter 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:35: error: declaration for parameter ‘stack_ptr_types’ but no such parameter 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:35: error: declaration for parameter ‘func_ptr_types’ but no such parameter 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:35: error: declaration for parameter ‘percpu_btf_ptr_types’ but no such parameter 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:35: error: declaration for parameter ‘btf_ptr_types’ but no such parameter 9258 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:35: error: declaration for parameter ‘const_map_ptr_types’ but no such parameter 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:35: error: declaration for parameter ‘ringbuf_mem_types’ but no such parameter 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:35: error: declaration for parameter ‘context_types’ but no such parameter 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:35: error: declaration for parameter ‘scalar_types’ but no such parameter 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:35: error: declaration for parameter ‘fullsock_types’ but no such parameter 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9246:35: error: declaration for parameter ‘spin_lock_types’ but no such parameter 9246 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9232:35: error: declaration for parameter ‘mem_types’ but no such parameter 9232 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9219:35: error: declaration for parameter ‘btf_id_sock_common_types’ but no such parameter 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9209:35: error: declaration for parameter ‘sock_types’ but no such parameter 9209 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8961:13: error: declaration for parameter ‘regs_exact’ but no such parameter 8961 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8960:13: error: declaration for parameter ‘reset_idmap_scratch’ but no such parameter 8960 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7813:12: error: declaration for parameter ‘save_aux_ptr_type’ but no such parameter 7813 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6393:13: error: declaration for parameter ‘reg2btf_ids’ but no such parameter 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:5942:15: error: declaration for parameter ‘rcu_protected_types’ but no such parameter 5942 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:5562:12: error: declaration for parameter ‘check_stack_range_initialized’ but no such parameter 5562 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24987: error: expected ‘{’ at end of input ../kernel/bpf/verifier.c: At top level: ../kernel/bpf/verifier.c:206:12: warning: ‘release_reference_nomark’ declared ‘static’ but never defined [-Wunused-function] 206 | static int release_reference_nomark(struct bpf_verifier_state *state, int ref_obj_id); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:207:12: warning: ‘release_reference’ used but never defined 207 | static int release_reference(struct bpf_verifier_env *env, int ref_obj_id); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:208:13: warning: ‘invalidate_non_owning_refs’ declared ‘static’ but never defined [-Wunused-function] 208 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:209:13: warning: ‘in_rbtree_lock_required_cb’ declared ‘static’ but never defined [-Wunused-function] 209 | static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:210:12: warning: ‘ref_set_non_owning’ declared ‘static’ but never defined [-Wunused-function] 210 | static int ref_set_non_owning(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:212:13: warning: ‘is_trusted_reg’ used but never defined 212 | static bool is_trusted_reg(const struct bpf_reg_state *reg); | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:510:13: warning: ‘is_sync_callback_calling_kfunc’ used but never defined 510 | static bool is_sync_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:511:13: warning: ‘is_async_callback_calling_kfunc’ used but never defined 511 | static bool is_async_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:512:13: warning: ‘is_callback_calling_kfunc’ declared ‘static’ but never defined [-Wunused-function] 512 | static bool is_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:513:13: warning: ‘is_bpf_throw_kfunc’ declared ‘static’ but never defined [-Wunused-function] 513 | static bool is_bpf_throw_kfunc(struct bpf_insn *insn); | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:515:13: warning: ‘is_bpf_wq_set_callback_impl_kfunc’ used but never defined 515 | static bool is_bpf_wq_set_callback_impl_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:516:13: warning: ‘is_task_work_add_kfunc’ used but never defined 516 | static bool is_task_work_add_kfunc(u32 func_id); | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1029:13: warning: ‘in_rcu_cs’ used but never defined 1029 | static bool in_rcu_cs(struct bpf_verifier_env *env); | ^~~~~~~~~ ../kernel/bpf/verifier.c:1031:13: warning: ‘is_kfunc_rcu_protected’ used but never defined 1031 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta); | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1938:12: warning: ‘propagate_backedges’ used but never defined 1938 | static int propagate_backedges(struct bpf_verifier_env *env, struct bpf_scc_visit *visit); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3127:12: warning: ‘specialize_kfunc’ declared ‘static’ but never defined [-Wunused-function] 3127 | static int specialize_kfunc(struct bpf_verifier_env *env, struct bpf_kfunc_desc *desc, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘BTF_ID_LIST_END’: ../kernel/bpf/verifier.c:24987: error: control reaches end of non-void function [-Werror=return-type] ../kernel/bpf/verifier.c: At top level: ../kernel/bpf/verifier.c:3250:20: warning: ‘find_kfunc_desc_btf’ defined but not used [-Wunused-function] 3250 | static struct btf *find_kfunc_desc_btf(struct bpf_verifier_env *env, s16 offset) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3033:12: warning: ‘bpf_find_exception_callback_insn_off’ defined but not used [-Wunused-function] 3033 | static int bpf_find_exception_callback_insn_off(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3010:12: warning: ‘add_subprog’ defined but not used [-Wunused-function] 3010 | static int add_subprog(struct bpf_verifier_env *env, int off) | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:2924:35: warning: ‘push_async_cb’ defined but not used [-Wunused-function] 2924 | static struct bpf_verifier_state *push_async_cb(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2858:12: warning: ‘mark_btf_ld_reg’ defined but not used [-Wunused-function] 2858 | static int mark_btf_ld_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2819:12: warning: ‘__mark_reg_s32_range’ defined but not used [-Wunused-function] 2819 | static int __mark_reg_s32_range(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2760:13: warning: ‘__reg_assign_32_into_64’ defined but not used [-Wunused-function] 2760 | static void __reg_assign_32_into_64(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2336:13: warning: ‘__mark_reg32_unbounded’ defined but not used [-Wunused-function] 2336 | static void __mark_reg32_unbounded(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2328:13: warning: ‘__mark_reg64_unbounded’ defined but not used [-Wunused-function] 2328 | static void __mark_reg64_unbounded(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2301:13: warning: ‘reg_is_init_pkt_pointer’ defined but not used [-Wunused-function] 2301 | static bool reg_is_init_pkt_pointer(const struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2293:13: warning: ‘reg_is_dynptr_slice_pkt’ defined but not used [-Wunused-function] 2293 | static bool reg_is_dynptr_slice_pkt(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2287:13: warning: ‘reg_is_pkt_pointer_any’ defined but not used [-Wunused-function] 2287 | static bool reg_is_pkt_pointer_any(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2272:13: warning: ‘mark_reg_graph_node’ defined but not used [-Wunused-function] 2272 | static void mark_reg_graph_node(struct bpf_reg_state *regs, u32 regno, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2243:13: warning: ‘mark_ptr_not_null_reg’ defined but not used [-Wunused-function] 2243 | static void mark_ptr_not_null_reg(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2205:13: warning: ‘__mark_reg_const_zero’ defined but not used [-Wunused-function] 2205 | static void __mark_reg_const_zero(const struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2188:13: warning: ‘__mark_reg32_known’ defined but not used [-Wunused-function] 2188 | static void __mark_reg32_known(struct bpf_reg_state *reg, u64 imm) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2156:18: warning: ‘caller_saved’ defined but not used [-Wunused-const-variable=] 2156 | static const int caller_saved[CALLER_SAVED_REGS] = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:2113:35: warning: ‘push_stack’ defined but not used [-Wunused-function] 2113 | static struct bpf_verifier_state *push_stack(struct bpf_verifier_env *env, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:2101:13: warning: ‘error_recoverable_with_nospec’ defined but not used [-Wunused-function] 2101 | static bool error_recoverable_with_nospec(int err) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2072:12: warning: ‘pop_stack’ defined but not used [-Wunused-function] 2072 | static int pop_stack(struct bpf_verifier_env *env, int *prev_insn_idx, | ^~~~~~~~~ ../kernel/bpf/verifier.c:2044:12: warning: ‘update_branch_counts’ defined but not used [-Wunused-function] 2044 | static int update_branch_counts(struct bpf_verifier_env *env, struct bpf_verifier_state *st) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2032:13: warning: ‘free_backedges’ defined but not used [-Wunused-function] 2032 | static void free_backedges(struct bpf_scc_visit *visit) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1986:12: warning: ‘add_scc_backedge’ defined but not used [-Wunused-function] 1986 | static int add_scc_backedge(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1919:12: warning: ‘maybe_enter_scc’ defined but not used [-Wunused-function] 1919 | static int maybe_enter_scc(struct bpf_verifier_env *env, struct bpf_verifier_state *st) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1798:13: warning: ‘same_callsites’ defined but not used [-Wunused-function] 1798 | static bool same_callsites(struct bpf_verifier_state *a, struct bpf_verifier_state *b) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1790:26: warning: ‘explored_state’ defined but not used [-Wunused-function] 1790 | static struct list_head *explored_state(struct bpf_verifier_env *env, int idx) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1639:36: warning: ‘find_lock_state’ defined but not used [-Wunused-function] 1639 | static struct bpf_reference_state *find_lock_state(struct bpf_verifier_state *state, enum ref_state_type type, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1593:12: warning: ‘release_lock_state’ defined but not used [-Wunused-function] 1593 | static int release_lock_state(struct bpf_verifier_state *state, int type, int id, void *ptr) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1582:13: warning: ‘find_reference_state’ defined but not used [-Wunused-function] 1582 | static bool find_reference_state(struct bpf_verifier_state *state, int ptr_id) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1529:12: warning: ‘acquire_lock_state’ defined but not used [-Wunused-function] 1529 | static int acquire_lock_state(struct bpf_verifier_env *env, int insn_idx, enum ref_state_type type, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1474:12: warning: ‘grow_stack_state’ defined but not used [-Wunused-function] 1474 | static int grow_stack_state(struct bpf_verifier_env *env, struct bpf_func_state *state, int size) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1365:13: warning: ‘scrub_spilled_slot’ defined but not used [-Wunused-function] 1365 | static void scrub_spilled_slot(u8 *stype) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1356:13: warning: ‘mark_stack_slot_misc’ defined but not used [-Wunused-function] 1356 | static void mark_stack_slot_misc(struct bpf_verifier_env *env, u8 *stype) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1341:13: warning: ‘is_spilled_scalar_reg64’ defined but not used [-Wunused-function] 1341 | static bool is_spilled_scalar_reg64(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1335:13: warning: ‘is_spilled_scalar_reg’ defined but not used [-Wunused-function] 1335 | static bool is_spilled_scalar_reg(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1330:13: warning: ‘is_spilled_reg’ defined but not used [-Wunused-function] 1330 | static bool is_spilled_reg(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1307:13: warning: ‘is_stack_slot_special’ defined but not used [-Wunused-function] 1307 | static bool is_stack_slot_special(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1278:12: warning: ‘is_irq_flag_reg_valid_init’ defined but not used [-Wunused-function] 1278 | static int is_irq_flag_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1254:13: warning: ‘is_irq_flag_reg_valid_uninit’ defined but not used [-Wunused-function] 1254 | static bool is_irq_flag_reg_valid_uninit(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1202:12: warning: ‘unmark_stack_slot_irq_flag’ defined but not used [-Wunused-function] 1202 | static int unmark_stack_slot_irq_flag(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1168:12: warning: ‘mark_stack_slot_irq_flag’ defined but not used [-Wunused-function] 1168 | static int mark_stack_slot_irq_flag(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1133:12: warning: ‘is_iter_reg_valid_init’ defined but not used [-Wunused-function] 1133 | static int is_iter_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1106:13: warning: ‘is_iter_reg_valid_uninit’ defined but not used [-Wunused-function] 1106 | static bool is_iter_reg_valid_uninit(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1077:12: warning: ‘unmark_stack_slots_iter’ defined but not used [-Wunused-function] 1077 | static int unmark_stack_slots_iter(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1033:12: warning: ‘mark_stack_slots_iter’ defined but not used [-Wunused-function] 1033 | static int mark_stack_slots_iter(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1005:13: warning: ‘is_dynptr_type_expected’ defined but not used [-Wunused-function] 1005 | static bool is_dynptr_type_expected(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:976:13: warning: ‘is_dynptr_reg_valid_init’ defined but not used [-Wunused-function] 976 | static bool is_dynptr_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:948:13: warning: ‘is_dynptr_reg_valid_uninit’ defined but not used [-Wunused-function] 948 | static bool is_dynptr_reg_valid_uninit(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:828:12: warning: ‘unmark_stack_slots_dynptr’ defined but not used [-Wunused-function] 828 | static int unmark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:753:12: warning: ‘mark_stack_slots_dynptr’ defined but not used [-Wunused-function] 753 | static int mark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:743:13: warning: ‘mark_dynptr_cb_reg’ defined but not used [-Wunused-function] 743 | static void mark_dynptr_cb_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:700:27: warning: ‘get_dynptr_type_flag’ defined but not used [-Wunused-function] 700 | static enum bpf_type_flag get_dynptr_type_flag(enum bpf_dynptr_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:604:13: warning: ‘is_atomic_load_insn’ defined but not used [-Wunused-function] 604 | static bool is_atomic_load_insn(const struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:597:13: warning: ‘is_cmpxchg_insn’ defined but not used [-Wunused-function] 597 | static bool is_cmpxchg_insn(const struct bpf_insn *insn) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:582:13: warning: ‘helper_multiple_ref_obj_use’ defined but not used [-Wunused-function] 582 | static bool helper_multiple_ref_obj_use(enum bpf_func_id func_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:574:13: warning: ‘is_storage_get_function’ defined but not used [-Wunused-function] 574 | static bool is_storage_get_function(enum bpf_func_id func_id) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:569:13: warning: ‘is_may_goto_insn_at’ defined but not used [-Wunused-function] 569 | static bool is_may_goto_insn_at(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:549:13: warning: ‘is_async_cb_sleepable’ defined but not used [-Wunused-function] 549 | static bool is_async_cb_sleepable(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:543:13: warning: ‘is_async_callback_calling_insn’ defined but not used [-Wunused-function] 543 | static bool is_async_callback_calling_insn(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:537:13: warning: ‘is_sync_callback_calling_insn’ defined but not used [-Wunused-function] 537 | static bool is_sync_callback_calling_insn(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:531:13: warning: ‘is_callback_calling_function’ defined but not used [-Wunused-function] 531 | static bool is_callback_calling_function(enum bpf_func_id func_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:468:13: warning: ‘type_is_rdonly_mem’ defined but not used [-Wunused-function] 468 | static bool type_is_rdonly_mem(u32 type) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:463:13: warning: ‘reg_may_point_to_spin_lock’ defined but not used [-Wunused-function] 463 | static bool reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:458:13: warning: ‘subprog_is_exc_cb’ defined but not used [-Wunused-function] 458 | static bool subprog_is_exc_cb(struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:449:13: warning: ‘mark_subprog_exc_cb’ defined but not used [-Wunused-function] 449 | static void mark_subprog_exc_cb(struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:438:20: warning: ‘subprog_name’ defined but not used [-Wunused-function] 438 | static const char *subprog_name(const struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:431:13: warning: ‘subprog_is_global’ defined but not used [-Wunused-function] 431 | static bool subprog_is_global(const struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:397:13: warning: ‘reg_not_null’ defined but not used [-Wunused-function] 397 | static bool reg_not_null(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:376:13: warning: ‘verbose_invalid_scalar’ defined but not used [-Wunused-function] 376 | static void verbose_invalid_scalar(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:263:13: warning: ‘bpf_pseudo_call’ defined but not used [-Wunused-function] 263 | static bool bpf_pseudo_call(const struct bpf_insn *insn) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:249:13: warning: ‘bpf_map_key_store’ defined but not used [-Wunused-function] 249 | static void bpf_map_key_store(struct bpf_insn_aux_data *aux, u64 state) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:244:12: warning: ‘bpf_map_key_immediate’ defined but not used [-Wunused-function] 244 | static u64 bpf_map_key_immediate(const struct bpf_insn_aux_data *aux) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:239:13: warning: ‘bpf_map_key_unseen’ defined but not used [-Wunused-function] 239 | static bool bpf_map_key_unseen(const struct bpf_insn_aux_data *aux) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:224:13: warning: ‘bpf_map_ptr_store’ defined but not used [-Wunused-function] 224 | static void bpf_map_ptr_store(struct bpf_insn_aux_data *aux, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:214:13: warning: ‘bpf_map_ptr_poisoned’ defined but not used [-Wunused-function] 214 | static bool bpf_map_ptr_poisoned(const struct bpf_insn_aux_data *aux) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:54:13: warning: ‘bpf_global_percpu_ma_set’ defined but not used [-Wunused-variable] 54 | static bool bpf_global_percpu_ma_set; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:36:46: warning: ‘bpf_verifier_ops’ defined but not used [-Wunused-const-variable=] 36 | static const struct bpf_verifier_ops * const bpf_verifier_ops[] = { | ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[5]: *** [../scripts/Makefile.build:287: kernel/bpf/verifier.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1066:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1066 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ make[4]: *** [../scripts/Makefile.build:556: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... Warning: ../drivers/android/binderfs.c:236 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:236 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:236 function parameter 'arg' not described in 'binder_ctl_ioctl' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' Warning: ../drivers/android/binder.c:2436 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2436 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2436 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2436 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2456 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2456 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2456 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2456 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4078 function parameter 'thread' not described in 'binder_free_buf' ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:377:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 377 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:433:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 433 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:475:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 475 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch Warning: ../drivers/nvdimm/core.c:219 function parameter 'len' not described in 'nd_uuid_store' make[3]: *** [../scripts/Makefile.build:556: kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../fs/gfs2/glock.c:1248 function parameter 'ip' not described in '__gfs2_holder_init' In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../fs/smb/client/cifssmb.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘CIFSPOSIXCreate’ at ../fs/smb/client/cifssmb.c:993:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFileInfo’ at ../fs/smb/client/cifssmb.c:3843:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4009:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4091:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:4857:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:4928:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:4997:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.dRaqwq6Uc3 2025-10-29 12:54:17.418612813 -0700 +++ /tmp/tmp.N3nW2CsA99 2025-10-29 13:01:45.714221408 -0700 @@ -154,0 +155 @@ +Warning: ../drivers/tty/n_gsm.c:4175 function parameter 'dlci' not described in 'gsm_modem_send_initial_msc' @@ -161 +162,14 @@ -Warning: ../drivers/tty/n_gsm.c:4175 function parameter 'dlci' not described in 'gsm_modem_send_initial_msc' +In file included from ../include/linux/string.h:382, + from ../arch/x86/include/asm/page_32.h:18, + from ../arch/x86/include/asm/page.h:14, + from ../arch/x86/include/asm/processor.h:20, + from ../include/linux/sched.h:13, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../drivers/nfc/pn533/pn533.c:9: +In function ‘fortify_memcpy_chk’, + inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: +../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] + 580 | __read_overflow2_field(q_size_field, size); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -208,14 +221,0 @@ -In file included from ../include/linux/string.h:382, - from ../arch/x86/include/asm/page_32.h:18, - from ../arch/x86/include/asm/page.h:14, - from ../arch/x86/include/asm/processor.h:20, - from ../include/linux/sched.h:13, - from ../include/linux/ratelimit.h:6, - from ../include/linux/dev_printk.h:16, - from ../include/linux/device.h:15, - from ../drivers/nfc/pn533/pn533.c:9: -In function ‘fortify_memcpy_chk’, - inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: -../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -226,0 +227 @@ +Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' @@ -244 +245,14 @@ -Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' +In file included from ../include/linux/string.h:382, + from ../arch/x86/include/asm/page_32.h:18, + from ../arch/x86/include/asm/page.h:14, + from ../arch/x86/include/asm/thread_info.h:12, + from ../include/linux/thread_info.h:60, + from ../include/linux/spinlock.h:60, + from ../include/linux/mmzone.h:8, + from ../include/linux/gfp.h:7, + from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: +In function ‘fortify_memcpy_chk’, + inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: +../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] + 580 | __read_overflow2_field(q_size_field, size); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -295,0 +310,2729 @@ +../kernel/bpf/verifier.c:3271:1: error: return type defaults to ‘int’ [-Wimplicit-int] + 3271 | BTF_ID_LIST_END(magic_kfuncs) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:3271:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] +../kernel/bpf/verifier.c: In function ‘BTF_ID_LIST_END’: +../kernel/bpf/verifier.c:3274:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3274 | { + | ^ +../kernel/bpf/verifier.c:3285:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3285 | { + | ^ +../kernel/bpf/verifier.c:3296:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3296 | { + | ^ +../kernel/bpf/verifier.c:3316:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3316 | { + | ^ +../kernel/bpf/verifier.c:3463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3463 | { + | ^ +../kernel/bpf/verifier.c:3475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3475 | { + | ^ +../kernel/bpf/verifier.c:3487:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3487 | { + | ^ +../kernel/bpf/verifier.c:3494:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3494 | { + | ^ +../kernel/bpf/verifier.c:3511:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3511 | { + | ^ +../kernel/bpf/verifier.c:3525:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3525 | { + | ^ +../kernel/bpf/verifier.c:3588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3588 | { + | ^ +../kernel/bpf/verifier.c:3641:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3641 | { + | ^ +../kernel/bpf/verifier.c:3654:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3654 | { + | ^ +../kernel/bpf/verifier.c:3675:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3675 | { + | ^ +../kernel/bpf/verifier.c:3680:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3680 | { + | ^ +../kernel/bpf/verifier.c:3695:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3695 | { + | ^ +../kernel/bpf/verifier.c:3781:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3781 | { + | ^ +../kernel/bpf/verifier.c:3805:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3805 | { + | ^ +../kernel/bpf/verifier.c:3816:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3816 | { + | ^ +../kernel/bpf/verifier.c:3829:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3829 | { + | ^ +../kernel/bpf/verifier.c:3872:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3872 | { + | ^ +../kernel/bpf/verifier.c:3880:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3880 | { + | ^ +../kernel/bpf/verifier.c:3885:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3885 | { + | ^ +../kernel/bpf/verifier.c:3890:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3890 | { + | ^ +../kernel/bpf/verifier.c:3895:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3895 | { + | ^ +../kernel/bpf/verifier.c:3900:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3900 | { + | ^ +../kernel/bpf/verifier.c:3915:1: warning: empty declaration + 3915 | struct linked_reg { + | ^~~~~~ +../kernel/bpf/verifier.c:3924:1: warning: empty declaration + 3924 | struct linked_regs { + | ^~~~~~ +../kernel/bpf/verifier.c:3930:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3930 | { + | ^ +../kernel/bpf/verifier.c:3945:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3945 | { + | ^ +../kernel/bpf/verifier.c:3966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3966 | { + | ^ +../kernel/bpf/verifier.c:3985:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 3985 | { + | ^ +../kernel/bpf/verifier.c:4027:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4027 | { + | ^ +../kernel/bpf/verifier.c:4048:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4048 | { + | ^ +../kernel/bpf/verifier.c:4068:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4068 | { + | ^ +../kernel/bpf/verifier.c:4084:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4084 | { + | ^ +../kernel/bpf/verifier.c:4095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4095 | { + | ^ +../kernel/bpf/verifier.c:4100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4100 | { + | ^ +../kernel/bpf/verifier.c:4108:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4108 | { + | ^ +../kernel/bpf/verifier.c:4119:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4119 | { + | ^ +../kernel/bpf/verifier.c:4129:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4129 | { + | ^ +../kernel/bpf/verifier.c:4139:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4139 | { + | ^ +../kernel/bpf/verifier.c:4144:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4144 | { + | ^ +../kernel/bpf/verifier.c:4149:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4149 | { + | ^ +../kernel/bpf/verifier.c:4154:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4154 | { + | ^ +../kernel/bpf/verifier.c:4159:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4159 | { + | ^ +../kernel/bpf/verifier.c:4164:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4164 | { + | ^ +../kernel/bpf/verifier.c:4169:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4169 | { + | ^ +../kernel/bpf/verifier.c:4174:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4174 | { + | ^ +../kernel/bpf/verifier.c:4179:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4179 | { + | ^ +../kernel/bpf/verifier.c:4184:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4184 | { + | ^ +../kernel/bpf/verifier.c:4189:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4189 | { + | ^ +../kernel/bpf/verifier.c:4194:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4194 | { + | ^ +../kernel/bpf/verifier.c:4199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4199 | { + | ^ +../kernel/bpf/verifier.c:4205:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4205 | { + | ^ +../kernel/bpf/verifier.c:4224:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4224 | { + | ^ +../kernel/bpf/verifier.c:4246:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4246 | { + | ^ +../kernel/bpf/verifier.c:4289:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4289 | { + | ^ +../kernel/bpf/verifier.c:4629:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4629 | { + | ^ +../kernel/bpf/verifier.c:4675:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4675 | { + | ^ +../kernel/bpf/verifier.c:4790:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4790 | { + | ^ +../kernel/bpf/verifier.c:4972:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4972 | { + | ^ +../kernel/bpf/verifier.c:4981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4981 | { + | ^ +../kernel/bpf/verifier.c:4986:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 4986 | { + | ^ +../kernel/bpf/verifier.c:5014:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5014 | { + | ^ +../kernel/bpf/verifier.c:5020:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5020 | { + | ^ +../kernel/bpf/verifier.c:5027:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5027 | { + | ^ +../kernel/bpf/verifier.c:5033:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5033 | { + | ^ +../kernel/bpf/verifier.c:5042:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5042 | { + | ^ +../kernel/bpf/verifier.c:5066:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5066 | { + | ^ +../kernel/bpf/verifier.c:5074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5074 | { + | ^ +../kernel/bpf/verifier.c:5088:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5088 | { + | ^ +../kernel/bpf/verifier.c:5093:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5093 | { + | ^ +../kernel/bpf/verifier.c:5100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5100 | { + | ^ +../kernel/bpf/verifier.c:5130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5130 | { + | ^ +../kernel/bpf/verifier.c:5276:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5276 | { + | ^ +../kernel/bpf/verifier.c:5393:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5393 | { + | ^ +../kernel/bpf/verifier.c:5433:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5433 | { + | ^ +../kernel/bpf/verifier.c:5557:1: warning: empty declaration + 5557 | enum bpf_access_src { + | ^~~~ +../kernel/bpf/verifier.c:5562:12: error: storage class specified for parameter ‘check_stack_range_initialized’ + 5562 | static int check_stack_range_initialized(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5569:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5569 | { + | ^ +../kernel/bpf/verifier.c:5588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5588 | { + | ^ +../kernel/bpf/verifier.c:5621:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5621 | { + | ^ +../kernel/bpf/verifier.c:5678:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5678 | { + | ^ +../kernel/bpf/verifier.c:5700:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5700 | { + | ^ +../kernel/bpf/verifier.c:5724:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5724 | { + | ^ +../kernel/bpf/verifier.c:5760:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5760 | { + | ^ +../kernel/bpf/verifier.c:5815:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5815 | { + | ^ +../kernel/bpf/verifier.c:5846:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5846 | { + | ^ +../kernel/bpf/verifier.c:5853:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5853 | { + | ^ +../kernel/bpf/verifier.c:5927:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5927 | { + | ^ +../kernel/bpf/verifier.c:5935:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5935 | { + | ^ +In file included from ../include/linux/btf.h:10, + from ../include/linux/bpf.h:29, + from ../include/linux/bpf-cgroup.h:5, + from ../kernel/bpf/verifier.c:7: +../kernel/bpf/verifier.c:5942:15: error: storage class specified for parameter ‘rcu_protected_types’ + 5942 | BTF_SET_START(rcu_protected_types) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~ +../include/linux/btf_ids.h:237:43: error: parameter ‘rcu_protected_types’ is initialized + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:5942:1: note: in expansion of macro ‘BTF_SET_START’ + 5942 | BTF_SET_START(rcu_protected_types) + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5959:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5959 | { + | ^ +../kernel/bpf/verifier.c:5966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5966 | { + | ^ +../kernel/bpf/verifier.c:5979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5979 | { + | ^ +../kernel/bpf/verifier.c:5987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 5987 | { + | ^ +../kernel/bpf/verifier.c:6011:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6011 | { + | ^ +../kernel/bpf/verifier.c:6028:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6028 | { + | ^ +../kernel/bpf/verifier.c:6093:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6093 | { + | ^ +../kernel/bpf/verifier.c:6161:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6161 | { + | ^ +../kernel/bpf/verifier.c:6202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6202 | { + | ^ +../kernel/bpf/verifier.c:6245:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6245 | { + | ^ +../kernel/bpf/verifier.c:6277:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6277 | { + | ^ +../kernel/bpf/verifier.c:6290:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6290 | { + | ^ +../kernel/bpf/verifier.c:6333:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6333 | { + | ^ +../kernel/bpf/verifier.c:6338:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6338 | { + | ^ +../kernel/bpf/verifier.c:6345:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6345 | { + | ^ +../kernel/bpf/verifier.c:6352:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6352 | { + | ^ +../kernel/bpf/verifier.c:6359:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6359 | { + | ^ +../kernel/bpf/verifier.c:6367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6367 | { + | ^ +../kernel/bpf/verifier.c:6378:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6378 | { + | ^ +../kernel/bpf/verifier.c:6393:13: error: storage class specified for parameter ‘reg2btf_ids’ + 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { + | ^~~~~~~~~~~ +../kernel/bpf/verifier.c:6393:1: error: parameter ‘reg2btf_ids’ is initialized + 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { + | ^~~~~~ +../kernel/bpf/verifier.c:6393:47: error: variable-sized object may not be initialized except with an empty initializer + 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { + | ^ +../kernel/bpf/verifier.c:6395:10: error: array index in non-array initializer + 6395 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6395:10: note: (near initialization for ‘reg2btf_ids’) +../kernel/bpf/verifier.c:6395:27: error: initialization of ‘u32 **’ {aka ‘unsigned int **’} from incompatible pointer type ‘u32 *’ {aka ‘unsigned int *’} [-Wincompatible-pointer-types] + 6395 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], + | ^ +../kernel/bpf/verifier.c:6395:27: note: (near initialization for ‘reg2btf_ids’) +../kernel/bpf/verifier.c:6396:10: error: array index in non-array initializer + 6396 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6396:10: note: (near initialization for ‘reg2btf_ids’) +../kernel/bpf/verifier.c:6396:32: warning: excess elements in scalar initializer + 6396 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], + | ^ +../kernel/bpf/verifier.c:6396:32: note: (near initialization for ‘reg2btf_ids’) +../kernel/bpf/verifier.c:6397:10: error: array index in non-array initializer + 6397 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6397:10: note: (near initialization for ‘reg2btf_ids’) +../kernel/bpf/verifier.c:6397:29: warning: excess elements in scalar initializer + 6397 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], + | ^ +../kernel/bpf/verifier.c:6397:29: note: (near initialization for ‘reg2btf_ids’) +../kernel/bpf/verifier.c:6399:10: error: array index in non-array initializer + 6399 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6399:10: note: (near initialization for ‘reg2btf_ids’) +../kernel/bpf/verifier.c:6399:30: warning: excess elements in scalar initializer + 6399 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6399:30: note: (near initialization for ‘reg2btf_ids’) +../kernel/bpf/verifier.c:6403:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6403 | { + | ^ +../kernel/bpf/verifier.c:6427:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6427 | { + | ^ +../kernel/bpf/verifier.c:6432:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6432 | { + | ^ +../kernel/bpf/verifier.c:6439:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6439 | { + | ^ +../kernel/bpf/verifier.c:6475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6475 | { + | ^ +../kernel/bpf/verifier.c:6498:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6498 | { + | ^ +../kernel/bpf/verifier.c:6551:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6551 | { + | ^ +../kernel/bpf/verifier.c:6579:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6579 | { + | ^ +../kernel/bpf/verifier.c:6597:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6597 | { + | ^ +../kernel/bpf/verifier.c:6757:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6757 | { + | ^ +../kernel/bpf/verifier.c:6817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6817 | { + | ^ +../kernel/bpf/verifier.c:6840:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6840 | { + | ^ +../kernel/bpf/verifier.c:6858:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6858 | { + | ^ +../kernel/bpf/verifier.c:6874:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6874 | { + | ^ +../kernel/bpf/verifier.c:6883:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6883 | { + | ^ +../kernel/bpf/verifier.c:6912:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6912 | { + | ^ +../kernel/bpf/verifier.c:6931:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6931 | { + | ^ +../kernel/bpf/verifier.c:6990:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 6990 | { + | ^ +../kernel/bpf/verifier.c:7005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7005 | { + | ^ +../kernel/bpf/verifier.c:7055:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7055 | { + | ^ +../kernel/bpf/verifier.c:7076:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7076 | { + | ^ +In file included from : +../kernel/bpf/verifier.c:7117:19: warning: empty declaration + 7117 | BTF_TYPE_SAFE_RCU(struct task_struct) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ + 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) + | ^~~~~~~ +../kernel/bpf/verifier.c:7117:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ + 7117 | BTF_TYPE_SAFE_RCU(struct task_struct) { + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7124:19: warning: empty declaration + 7124 | BTF_TYPE_SAFE_RCU(struct cgroup) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ + 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) + | ^~~~~~~ +../kernel/bpf/verifier.c:7124:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ + 7124 | BTF_TYPE_SAFE_RCU(struct cgroup) { + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7129:19: warning: empty declaration + 7129 | BTF_TYPE_SAFE_RCU(struct css_set) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ + 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) + | ^~~~~~~ +../kernel/bpf/verifier.c:7129:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ + 7129 | BTF_TYPE_SAFE_RCU(struct css_set) { + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7133:19: warning: empty declaration + 7133 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ + 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) + | ^~~~~~~ +../kernel/bpf/verifier.c:7133:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ + 7133 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7138:27: warning: empty declaration + 7138 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ + 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) + | ^~~~~~~ +../kernel/bpf/verifier.c:7138:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ + 7138 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7148:27: warning: empty declaration + 7148 | BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ + 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) + | ^~~~~~~ +../kernel/bpf/verifier.c:7148:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ + 7148 | BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7152:27: warning: empty declaration + 7152 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ + 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) + | ^~~~~~~ +../kernel/bpf/verifier.c:7152:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ + 7152 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7157:23: warning: empty declaration + 7157 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ + 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) + | ^~~~~~~ +../kernel/bpf/verifier.c:7157:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ + 7157 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta) { + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7161:23: warning: empty declaration + 7161 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ + 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) + | ^~~~~~~ +../kernel/bpf/verifier.c:7161:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ + 7161 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task) { + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7166:23: warning: empty declaration + 7166 | BTF_TYPE_SAFE_TRUSTED(struct linux_binprm) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ + 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) + | ^~~~~~~ +../kernel/bpf/verifier.c:7166:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ + 7166 | BTF_TYPE_SAFE_TRUSTED(struct linux_binprm) { + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7170:23: warning: empty declaration + 7170 | BTF_TYPE_SAFE_TRUSTED(struct file) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ + 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) + | ^~~~~~~ +../kernel/bpf/verifier.c:7170:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ + 7170 | BTF_TYPE_SAFE_TRUSTED(struct file) { + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7174:31: warning: empty declaration + 7174 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct dentry) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ + 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) + | ^~~~~~~ +../kernel/bpf/verifier.c:7174:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ + 7174 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct dentry) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7178:31: warning: empty declaration + 7178 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct socket) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ + 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) + | ^~~~~~~ +../kernel/bpf/verifier.c:7178:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ + 7178 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct socket) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7182:31: warning: empty declaration + 7182 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { + | ^~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ + 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) + | ^~~~~~~ +../kernel/bpf/verifier.c:7182:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ + 7182 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7190:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7190 | { + | ^ +../kernel/bpf/verifier.c:7202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7202 | { + | ^ +../kernel/bpf/verifier.c:7213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7213 | { + | ^ +../kernel/bpf/verifier.c:7225:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7225 | { + | ^ +../kernel/bpf/verifier.c:7239:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7239 | { + | ^ +../kernel/bpf/verifier.c:7392:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7392 | { + | ^ +../kernel/bpf/verifier.c:7463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7463 | { + | ^ +../kernel/bpf/verifier.c:7485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7485 | { + | ^ +../kernel/bpf/verifier.c:7543:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7543 | { + | ^ +../kernel/bpf/verifier.c:7561:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7561 | { + | ^ +../kernel/bpf/verifier.c:7813:12: error: storage class specified for parameter ‘save_aux_ptr_type’ + 7813 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7819:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7819 | { + | ^ +../kernel/bpf/verifier.c:7851:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7851 | { + | ^ +../kernel/bpf/verifier.c:7879:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7879 | { + | ^ +../kernel/bpf/verifier.c:7968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7968 | { + | ^ +../kernel/bpf/verifier.c:7987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 7987 | { + | ^ +../kernel/bpf/verifier.c:8005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8005 | { + | ^ +../kernel/bpf/verifier.c:8053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8053 | { + | ^ +../kernel/bpf/verifier.c:8199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8199 | { + | ^ +../kernel/bpf/verifier.c:8297:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8297 | { + | ^ +../kernel/bpf/verifier.c:8344:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8344 | { + | ^ +../kernel/bpf/verifier.c:8372:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8372 | { + | ^ +../kernel/bpf/verifier.c:8397:1: warning: empty declaration + 8397 | enum { + | ^~~~ +../kernel/bpf/verifier.c:8426:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8426 | { + | ^ +../kernel/bpf/verifier.c:8544:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8544 | { + | ^ +../kernel/bpf/verifier.c:8591:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8591 | { + | ^ +../kernel/bpf/verifier.c:8615:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8615 | { + | ^ +../kernel/bpf/verifier.c:8636:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8636 | { + | ^ +../kernel/bpf/verifier.c:8656:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8656 | { + | ^ +../kernel/bpf/verifier.c:8729:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8729 | { + | ^ +../kernel/bpf/verifier.c:8808:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8808 | { + | ^ +../kernel/bpf/verifier.c:8815:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8815 | { + | ^ +../kernel/bpf/verifier.c:8820:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8820 | { + | ^ +../kernel/bpf/verifier.c:8825:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8825 | { + | ^ +../kernel/bpf/verifier.c:8830:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8830 | { + | ^ +../kernel/bpf/verifier.c:8836:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8836 | { + | ^ +../kernel/bpf/verifier.c:8849:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8849 | { + | ^ +../kernel/bpf/verifier.c:8939:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8939 | { + | ^ +../kernel/bpf/verifier.c:8960:13: error: storage class specified for parameter ‘reset_idmap_scratch’ + 8960 | static void reset_idmap_scratch(struct bpf_verifier_env *env); + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8961:13: error: storage class specified for parameter ‘regs_exact’ + 8961 | static bool regs_exact(const struct bpf_reg_state *rold, + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:8968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8968 | { + | ^ +../kernel/bpf/verifier.c:8981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 8981 | { + | ^ +../kernel/bpf/verifier.c:9012:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9012 | { + | ^ +../kernel/bpf/verifier.c:9099:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9099 | { + | ^ +../kernel/bpf/verifier.c:9153:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9153 | { + | ^ +../kernel/bpf/verifier.c:9159:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9159 | { + | ^ +../kernel/bpf/verifier.c:9165:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9165 | { + | ^ +../kernel/bpf/verifier.c:9170:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9170 | { + | ^ +../kernel/bpf/verifier.c:9177:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9177 | { + | ^ +../kernel/bpf/verifier.c:9204:1: warning: empty declaration + 9204 | struct bpf_reg_types { + | ^~~~~~ +../kernel/bpf/verifier.c:9209:35: error: storage class specified for parameter ‘sock_types’ + 9209 | static const struct bpf_reg_types sock_types = { + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:9209:21: error: parameter ‘sock_types’ is initialized + 9209 | static const struct bpf_reg_types sock_types = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9219:35: error: storage class specified for parameter ‘btf_id_sock_common_types’ + 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9219:21: error: parameter ‘btf_id_sock_common_types’ is initialized + 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9232:35: error: storage class specified for parameter ‘mem_types’ + 9232 | static const struct bpf_reg_types mem_types = { + | ^~~~~~~~~ +../kernel/bpf/verifier.c:9232:21: error: parameter ‘mem_types’ is initialized + 9232 | static const struct bpf_reg_types mem_types = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9246:35: error: storage class specified for parameter ‘spin_lock_types’ + 9246 | static const struct bpf_reg_types spin_lock_types = { + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9246:21: error: parameter ‘spin_lock_types’ is initialized + 9246 | static const struct bpf_reg_types spin_lock_types = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9253:35: error: storage class specified for parameter ‘fullsock_types’ + 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9253:21: error: parameter ‘fullsock_types’ is initialized + 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9254:35: error: storage class specified for parameter ‘scalar_types’ + 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:9254:21: error: parameter ‘scalar_types’ is initialized + 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9255:35: error: storage class specified for parameter ‘context_types’ + 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9255:21: error: parameter ‘context_types’ is initialized + 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9256:35: error: storage class specified for parameter ‘ringbuf_mem_types’ + 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9256:21: error: parameter ‘ringbuf_mem_types’ is initialized + 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9257:35: error: storage class specified for parameter ‘const_map_ptr_types’ + 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9257:21: error: parameter ‘const_map_ptr_types’ is initialized + 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9258:35: error: storage class specified for parameter ‘btf_ptr_types’ + 9258 | static const struct bpf_reg_types btf_ptr_types = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9258:21: error: parameter ‘btf_ptr_types’ is initialized + 9258 | static const struct bpf_reg_types btf_ptr_types = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9265:35: error: storage class specified for parameter ‘percpu_btf_ptr_types’ + 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9265:21: error: parameter ‘percpu_btf_ptr_types’ is initialized + 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9272:35: error: storage class specified for parameter ‘func_ptr_types’ + 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9272:21: error: parameter ‘func_ptr_types’ is initialized + 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9273:35: error: storage class specified for parameter ‘stack_ptr_types’ + 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9273:21: error: parameter ‘stack_ptr_types’ is initialized + 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9274:35: error: storage class specified for parameter ‘const_str_ptr_types’ + 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9274:21: error: parameter ‘const_str_ptr_types’ is initialized + 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9275:35: error: storage class specified for parameter ‘timer_types’ + 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; + | ^~~~~~~~~~~ +../kernel/bpf/verifier.c:9275:21: error: parameter ‘timer_types’ is initialized + 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9276:35: error: storage class specified for parameter ‘kptr_xchg_dest_types’ + 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9276:21: error: parameter ‘kptr_xchg_dest_types’ is initialized + 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9282:35: error: storage class specified for parameter ‘dynptr_types’ + 9282 | static const struct bpf_reg_types dynptr_types = { + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:9282:21: error: parameter ‘dynptr_types’ is initialized + 9282 | static const struct bpf_reg_types dynptr_types = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9289:36: error: storage class specified for parameter ‘compatible_reg_types’ + 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9289:21: error: parameter ‘compatible_reg_types’ is initialized + 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9289:79: error: variable-sized object may not be initialized except with an empty initializer + 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { + | ^ +../kernel/bpf/verifier.c:9290:10: error: array index in non-array initializer + 9290 | [ARG_PTR_TO_MAP_KEY] = &mem_types, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9290:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9290:43: error: initialization of ‘const struct bpf_reg_types **’ from incompatible pointer type ‘const struct bpf_reg_types *’ [-Wincompatible-pointer-types] + 9290 | [ARG_PTR_TO_MAP_KEY] = &mem_types, + | ^ +../kernel/bpf/verifier.c:9290:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9291:10: error: array index in non-array initializer + 9291 | [ARG_PTR_TO_MAP_VALUE] = &mem_types, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9291:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9291:43: warning: excess elements in scalar initializer + 9291 | [ARG_PTR_TO_MAP_VALUE] = &mem_types, + | ^ +../kernel/bpf/verifier.c:9291:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9292:10: error: array index in non-array initializer + 9292 | [ARG_CONST_SIZE] = &scalar_types, + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9292:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9292:43: warning: excess elements in scalar initializer + 9292 | [ARG_CONST_SIZE] = &scalar_types, + | ^ +../kernel/bpf/verifier.c:9292:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9293:10: error: array index in non-array initializer + 9293 | [ARG_CONST_SIZE_OR_ZERO] = &scalar_types, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9293:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9293:43: warning: excess elements in scalar initializer + 9293 | [ARG_CONST_SIZE_OR_ZERO] = &scalar_types, + | ^ +../kernel/bpf/verifier.c:9293:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9294:10: error: array index in non-array initializer + 9294 | [ARG_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_types, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9294:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9294:43: warning: excess elements in scalar initializer + 9294 | [ARG_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_types, + | ^ +../kernel/bpf/verifier.c:9294:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9295:10: error: array index in non-array initializer + 9295 | [ARG_CONST_MAP_PTR] = &const_map_ptr_types, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9295:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9295:43: warning: excess elements in scalar initializer + 9295 | [ARG_CONST_MAP_PTR] = &const_map_ptr_types, + | ^ +../kernel/bpf/verifier.c:9295:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9296:10: error: array index in non-array initializer + 9296 | [ARG_PTR_TO_CTX] = &context_types, + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9296:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9296:43: warning: excess elements in scalar initializer + 9296 | [ARG_PTR_TO_CTX] = &context_types, + | ^ +../kernel/bpf/verifier.c:9296:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9297:10: error: array index in non-array initializer + 9297 | [ARG_PTR_TO_SOCK_COMMON] = &sock_types, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9297:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9297:43: warning: excess elements in scalar initializer + 9297 | [ARG_PTR_TO_SOCK_COMMON] = &sock_types, + | ^ +../kernel/bpf/verifier.c:9297:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9299:10: error: array index in non-array initializer + 9299 | [ARG_PTR_TO_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9299:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9299:43: warning: excess elements in scalar initializer + 9299 | [ARG_PTR_TO_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, + | ^ +../kernel/bpf/verifier.c:9299:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9301:10: error: array index in non-array initializer + 9301 | [ARG_PTR_TO_SOCKET] = &fullsock_types, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9301:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9301:43: warning: excess elements in scalar initializer + 9301 | [ARG_PTR_TO_SOCKET] = &fullsock_types, + | ^ +../kernel/bpf/verifier.c:9301:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9302:10: error: array index in non-array initializer + 9302 | [ARG_PTR_TO_BTF_ID] = &btf_ptr_types, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9302:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9302:43: warning: excess elements in scalar initializer + 9302 | [ARG_PTR_TO_BTF_ID] = &btf_ptr_types, + | ^ +../kernel/bpf/verifier.c:9302:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9303:10: error: array index in non-array initializer + 9303 | [ARG_PTR_TO_SPIN_LOCK] = &spin_lock_types, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9303:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9303:43: warning: excess elements in scalar initializer + 9303 | [ARG_PTR_TO_SPIN_LOCK] = &spin_lock_types, + | ^ +../kernel/bpf/verifier.c:9303:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9304:10: error: array index in non-array initializer + 9304 | [ARG_PTR_TO_MEM] = &mem_types, + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9304:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9304:43: warning: excess elements in scalar initializer + 9304 | [ARG_PTR_TO_MEM] = &mem_types, + | ^ +../kernel/bpf/verifier.c:9304:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9305:10: error: array index in non-array initializer + 9305 | [ARG_PTR_TO_RINGBUF_MEM] = &ringbuf_mem_types, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9305:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9305:43: warning: excess elements in scalar initializer + 9305 | [ARG_PTR_TO_RINGBUF_MEM] = &ringbuf_mem_types, + | ^ +../kernel/bpf/verifier.c:9305:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9306:10: error: array index in non-array initializer + 9306 | [ARG_PTR_TO_PERCPU_BTF_ID] = &percpu_btf_ptr_types, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9306:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9306:43: warning: excess elements in scalar initializer + 9306 | [ARG_PTR_TO_PERCPU_BTF_ID] = &percpu_btf_ptr_types, + | ^ +../kernel/bpf/verifier.c:9306:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9307:10: error: array index in non-array initializer + 9307 | [ARG_PTR_TO_FUNC] = &func_ptr_types, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9307:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9307:43: warning: excess elements in scalar initializer + 9307 | [ARG_PTR_TO_FUNC] = &func_ptr_types, + | ^ +../kernel/bpf/verifier.c:9307:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9308:10: error: array index in non-array initializer + 9308 | [ARG_PTR_TO_STACK] = &stack_ptr_types, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9308:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9308:43: warning: excess elements in scalar initializer + 9308 | [ARG_PTR_TO_STACK] = &stack_ptr_types, + | ^ +../kernel/bpf/verifier.c:9308:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9309:10: error: array index in non-array initializer + 9309 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9309:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9309:43: warning: excess elements in scalar initializer + 9309 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, + | ^ +../kernel/bpf/verifier.c:9309:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9310:10: error: array index in non-array initializer + 9310 | [ARG_PTR_TO_TIMER] = &timer_types, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9310:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9310:43: warning: excess elements in scalar initializer + 9310 | [ARG_PTR_TO_TIMER] = &timer_types, + | ^ +../kernel/bpf/verifier.c:9310:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9311:10: error: array index in non-array initializer + 9311 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9311:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9311:43: warning: excess elements in scalar initializer + 9311 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, + | ^ +../kernel/bpf/verifier.c:9311:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9312:10: error: array index in non-array initializer + 9312 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9312:10: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9312:43: warning: excess elements in scalar initializer + 9312 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, + | ^ +../kernel/bpf/verifier.c:9312:43: note: (near initialization for ‘compatible_reg_types’) +../kernel/bpf/verifier.c:9319:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9319 | { + | ^ +../kernel/bpf/verifier.c:9464:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9464 | { + | ^ +../kernel/bpf/verifier.c:9482:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9482 | { + | ^ +../kernel/bpf/verifier.c:9553:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9553 | { + | ^ +../kernel/bpf/verifier.c:9573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9573 | { + | ^ +../kernel/bpf/verifier.c:9586:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9586 | { + | ^ +../kernel/bpf/verifier.c:9600:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9600 | { + | ^ +../kernel/bpf/verifier.c:9618:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9618 | { + | ^ +../kernel/bpf/verifier.c:9669:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9669 | { + | ^ +../kernel/bpf/verifier.c:9725:13: error: storage class specified for parameter ‘can_elide_value_nullness’ + 9725 | static bool can_elide_value_nullness(enum bpf_map_type type); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9731:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9731 | { + | ^ +../kernel/bpf/verifier.c:9998:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 9998 | { + | ^ +../kernel/bpf/verifier.c:10036:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10036 | { + | ^ +../kernel/bpf/verifier.c:10043:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10043 | { + | ^ +../kernel/bpf/verifier.c:10293:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10293 | { + | ^ +../kernel/bpf/verifier.c:10315:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10315 | { + | ^ +../kernel/bpf/verifier.c:10330:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10330 | { + | ^ +../kernel/bpf/verifier.c:10348:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10348 | { + | ^ +../kernel/bpf/verifier.c:10367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10367 | { + | ^ +../kernel/bpf/verifier.c:10380:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10380 | { + | ^ +../kernel/bpf/verifier.c:10390:1: warning: empty declaration +10390 | enum { + | ^~~~ +../kernel/bpf/verifier.c:10396:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10396 | { + | ^ +../kernel/bpf/verifier.c:10417:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10417 | { + | ^ +../kernel/bpf/verifier.c:10437:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10437 | { + | ^ +../kernel/bpf/verifier.c:10456:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10456 | { + | ^ +../kernel/bpf/verifier.c:10468:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10468 | { + | ^ +../kernel/bpf/verifier.c:10478:15: error: storage class specified for parameter ‘set_callee_state_fn’ +10478 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10483:12: error: storage class specified for parameter ‘set_callee_state’ +10483 | static int set_callee_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10488:29: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ +10488 | set_callee_state_fn set_callee_state_cb, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10538:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10538 | { + | ^ +../kernel/bpf/verifier.c:10638:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10638 | { + | ^ +../kernel/bpf/verifier.c:10666:31: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ +10666 | set_callee_state_fn set_callee_state_cb) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10735:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10735 | { + | ^ +../kernel/bpf/verifier.c:10817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10817 | { + | ^ +../kernel/bpf/verifier.c:10844:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10844 | { + | ^ +../kernel/bpf/verifier.c:10859:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10859 | { + | ^ +../kernel/bpf/verifier.c:10885:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10885 | { + | ^ +../kernel/bpf/verifier.c:10907:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10907 | { + | ^ +../kernel/bpf/verifier.c:10937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10937 | { + | ^ +../kernel/bpf/verifier.c:10965:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10965 | { + | ^ +../kernel/bpf/verifier.c:10988:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +10988 | { + | ^ +../kernel/bpf/verifier.c:11020:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11020 | { + | ^ +../kernel/bpf/verifier.c:11046:13: error: storage class specified for parameter ‘is_rbtree_lock_required_kfunc’ +11046 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11053 | { + | ^ +../kernel/bpf/verifier.c:11073:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11073 | { + | ^ +../kernel/bpf/verifier.c:11081:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11081 | { + | ^ +../kernel/bpf/verifier.c:11174:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11174 | { + | ^ +../kernel/bpf/verifier.c:11211:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11211 | { + | ^ +../kernel/bpf/verifier.c:11257:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11257 | { + | ^ +../kernel/bpf/verifier.c:11292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11292 | { + | ^ +../kernel/bpf/verifier.c:11319:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11319 | { + | ^ +../kernel/bpf/verifier.c:11353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11353 | { + | ^ +../kernel/bpf/verifier.c:11390:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11390 | { + | ^ +../kernel/bpf/verifier.c:11411:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11411 | { + | ^ +../kernel/bpf/verifier.c:11416:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11416 | { + | ^ +../kernel/bpf/verifier.c:11428:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11428 | { + | ^ +../kernel/bpf/verifier.c:11450:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11450 | { + | ^ +../kernel/bpf/verifier.c:11462:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11462 | { + | ^ +../kernel/bpf/verifier.c:11475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11475 | { + | ^ +../kernel/bpf/verifier.c:11484:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +11484 | { + | ^ +../kernel/bpf/verifier.c:12004:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12004 | { + | ^ +../kernel/bpf/verifier.c:12019:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12019 | { + | ^ +../kernel/bpf/verifier.c:12024:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12024 | { + | ^ +../kernel/bpf/verifier.c:12029:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12029 | { + | ^ +../kernel/bpf/verifier.c:12034:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12034 | { + | ^ +../kernel/bpf/verifier.c:12039:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12039 | { + | ^ +../kernel/bpf/verifier.c:12044:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12044 | { + | ^ +../kernel/bpf/verifier.c:12049:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12049 | { + | ^ +../kernel/bpf/verifier.c:12054:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12054 | { + | ^ +../kernel/bpf/verifier.c:12061:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12061 | { + | ^ +../kernel/bpf/verifier.c:12074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12074 | { + | ^ +../kernel/bpf/verifier.c:12085:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12085 | { + | ^ +../kernel/bpf/verifier.c:12090:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12090 | { + | ^ +../kernel/bpf/verifier.c:12095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12095 | { + | ^ +../kernel/bpf/verifier.c:12100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12100 | { + | ^ +../kernel/bpf/verifier.c:12105:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12105 | { + | ^ +../kernel/bpf/verifier.c:12110:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12110 | { + | ^ +../kernel/bpf/verifier.c:12115:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12115 | { + | ^ +../kernel/bpf/verifier.c:12120:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12120 | { + | ^ +../kernel/bpf/verifier.c:12125:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12125 | { + | ^ +../kernel/bpf/verifier.c:12130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12130 | { + | ^ +../kernel/bpf/verifier.c:12135:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12135 | { + | ^ +../kernel/bpf/verifier.c:12140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12140 | { + | ^ +../kernel/bpf/verifier.c:12147:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12147 | { + | ^ +../kernel/bpf/verifier.c:12163:1: warning: empty declaration +12163 | enum { + | ^~~~ +../kernel/bpf/verifier.c:12174:13: error: storage class specified for parameter ‘kf_arg_btf_ids’ +12174 | BTF_ID_LIST(kf_arg_btf_ids) + | ^~~~~~~~~~~~~~ +../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ + 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; + | ^~~~ +../kernel/bpf/verifier.c:12186:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12186 | { + | ^ +../kernel/bpf/verifier.c:12202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12202 | { + | ^ +../kernel/bpf/verifier.c:12207:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12207 | { + | ^ +../kernel/bpf/verifier.c:12212:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12212 | { + | ^ +../kernel/bpf/verifier.c:12217:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12217 | { + | ^ +../kernel/bpf/verifier.c:12222:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12222 | { + | ^ +../kernel/bpf/verifier.c:12227:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12227 | { + | ^ +../kernel/bpf/verifier.c:12232:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12232 | { + | ^ +../kernel/bpf/verifier.c:12237:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12237 | { + | ^ +../kernel/bpf/verifier.c:12242:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12242 | { + | ^ +../kernel/bpf/verifier.c:12247:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12247 | { + | ^ +../kernel/bpf/verifier.c:12253:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12253 | { + | ^ +../kernel/bpf/verifier.c:12267:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12267 | { + | ^ +../kernel/bpf/verifier.c:12303:1: warning: empty declaration +12303 | enum kfunc_ptr_arg_type { + | ^~~~ +../kernel/bpf/verifier.c:12326:1: warning: empty declaration +12326 | enum special_kfunc_type { + | ^~~~ +../kernel/bpf/verifier.c:12380:13: error: storage class specified for parameter ‘special_kfunc_list’ +12380 | BTF_ID_LIST(special_kfunc_list) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ + 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; + | ^~~~ +../kernel/bpf/verifier.c:12454:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12454 | { + | ^ +../kernel/bpf/verifier.c:12460:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12460 | { + | ^ +../kernel/bpf/verifier.c:12470:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12470 | { + | ^ +../kernel/bpf/verifier.c:12475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12475 | { + | ^ +../kernel/bpf/verifier.c:12480:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12480 | { + | ^ +../kernel/bpf/verifier.c:12485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12485 | { + | ^ +../kernel/bpf/verifier.c:12490:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12490 | { + | ^ +../kernel/bpf/verifier.c:12500:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12500 | { + | ^ +../kernel/bpf/verifier.c:12599:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12599 | { + | ^ +../kernel/bpf/verifier.c:12667:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12667 | { + | ^ +../kernel/bpf/verifier.c:12720:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12720 | { + | ^ +../kernel/bpf/verifier.c:12741:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12741 | { + | ^ +../kernel/bpf/verifier.c:12817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12817 | { + | ^ +../kernel/bpf/verifier.c:12846:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12846 | { + | ^ +../kernel/bpf/verifier.c:12856:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12856 | { + | ^ +../kernel/bpf/verifier.c:12866:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12866 | { + | ^ +../kernel/bpf/verifier.c:12873:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12873 | { + | ^ +../kernel/bpf/verifier.c:12879:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12879 | { + | ^ +../kernel/bpf/verifier.c:12887:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12887 | { + | ^ +../kernel/bpf/verifier.c:12893:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12893 | { + | ^ +../kernel/bpf/verifier.c:12898:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12898 | { + | ^ +../kernel/bpf/verifier.c:12904:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12904 | { + | ^ +../kernel/bpf/verifier.c:12910:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12910 | { + | ^ +../kernel/bpf/verifier.c:12915:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12915 | { + | ^ +../kernel/bpf/verifier.c:12921:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12921 | { + | ^ +../kernel/bpf/verifier.c:12928:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12928 | { + | ^ +../kernel/bpf/verifier.c:12953:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12953 | { + | ^ +../kernel/bpf/verifier.c:12985:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +12985 | { + | ^ +../kernel/bpf/verifier.c:13033:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +13033 | { + | ^ +../kernel/bpf/verifier.c:13041:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +13041 | { + | ^ +../kernel/bpf/verifier.c:13053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +13053 | { + | ^ +../kernel/bpf/verifier.c:13114:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +13114 | { + | ^ +../kernel/bpf/verifier.c:13123:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +13123 | { + | ^ +../kernel/bpf/verifier.c:13136:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +13136 | { + | ^ +../kernel/bpf/verifier.c:13153:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +13153 | { + | ^ +../kernel/bpf/verifier.c:13696:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +13696 | { + | ^ +../kernel/bpf/verifier.c:13761:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +13761 | { + | ^ +../kernel/bpf/verifier.c:13933:12: error: storage class specified for parameter ‘check_return_code’ +13933 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:13937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +13937 | { + | ^ +../kernel/bpf/verifier.c:14327:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14327 | { + | ^ +../kernel/bpf/verifier.c:14359:1: warning: empty declaration +14359 | enum { + | ^~~~ +../kernel/bpf/verifier.c:14369:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14369 | { + | ^ +../kernel/bpf/verifier.c:14400:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14400 | { + | ^ +../kernel/bpf/verifier.c:14408:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14408 | { + | ^ +../kernel/bpf/verifier.c:14425:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14425 | { + | ^ +../kernel/bpf/verifier.c:14435:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14435 | { + | ^ +../kernel/bpf/verifier.c:14439:1: warning: empty declaration +14439 | struct bpf_sanitize_info { + | ^~~~~~ +../kernel/bpf/verifier.c:14447:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14447 | { + | ^ +../kernel/bpf/verifier.c:14471:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14471 | { + | ^ +../kernel/bpf/verifier.c:14561:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14561 | { + | ^ +../kernel/bpf/verifier.c:14577:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14577 | { + | ^ +../kernel/bpf/verifier.c:14626:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14626 | { + | ^ +../kernel/bpf/verifier.c:14648:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14648 | { + | ^ +../kernel/bpf/verifier.c:14686:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14686 | { + | ^ +../kernel/bpf/verifier.c:14927:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14927 | { + | ^ +../kernel/bpf/verifier.c:14958:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14958 | { + | ^ +../kernel/bpf/verifier.c:14989:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +14989 | { + | ^ +../kernel/bpf/verifier.c:15021:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15021 | { + | ^ +../kernel/bpf/verifier.c:15053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15053 | { + | ^ +../kernel/bpf/verifier.c:15081:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15081 | { + | ^ +../kernel/bpf/verifier.c:15109:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15109 | { + | ^ +../kernel/bpf/verifier.c:15140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15140 | { + | ^ +../kernel/bpf/verifier.c:15172:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15172 | { + | ^ +../kernel/bpf/verifier.c:15203:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15203 | { + | ^ +../kernel/bpf/verifier.c:15235:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15235 | { + | ^ +../kernel/bpf/verifier.c:15263:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15263 | { + | ^ +../kernel/bpf/verifier.c:15293:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15293 | { + | ^ +../kernel/bpf/verifier.c:15311:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15311 | { + | ^ +../kernel/bpf/verifier.c:15329:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15329 | { + | ^ +../kernel/bpf/verifier.c:15359:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15359 | { + | ^ +../kernel/bpf/verifier.c:15374:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15374 | { + | ^ +../kernel/bpf/verifier.c:15406:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15406 | { + | ^ +../kernel/bpf/verifier.c:15440:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15440 | { + | ^ +../kernel/bpf/verifier.c:15463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15463 | { + | ^ +../kernel/bpf/verifier.c:15490:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15490 | { + | ^ +../kernel/bpf/verifier.c:15537:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15537 | { + | ^ +../kernel/bpf/verifier.c:15639:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15639 | { + | ^ +../kernel/bpf/verifier.c:15773:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +15773 | { + | ^ +../kernel/bpf/verifier.c:16019:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16019 | { + | ^ +../kernel/bpf/verifier.c:16099:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16099 | { + | ^ +../kernel/bpf/verifier.c:16230:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16230 | { + | ^ +../kernel/bpf/verifier.c:16253:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16253 | { + | ^ +../kernel/bpf/verifier.c:16299:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16299 | { + | ^ +../kernel/bpf/verifier.c:16343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16343 | { + | ^ +../kernel/bpf/verifier.c:16367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16367 | { + | ^ +../kernel/bpf/verifier.c:16547:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16547 | { + | ^ +../kernel/bpf/verifier.c:16577:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16577 | { + | ^ +../kernel/bpf/verifier.c:16626:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16626 | { + | ^ +../kernel/bpf/verifier.c:16649:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16649 | { + | ^ +../kernel/bpf/verifier.c:16751:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16751 | { + | ^ +../kernel/bpf/verifier.c:16773:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16773 | { + | ^ +../kernel/bpf/verifier.c:16799:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16799 | { + | ^ +../kernel/bpf/verifier.c:16844:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +16844 | { + | ^ +../kernel/bpf/verifier.c:17099:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17099 | { + | ^ +../kernel/bpf/verifier.c:17195:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17195 | { + | ^ +../kernel/bpf/verifier.c:17222:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17222 | { + | ^ +../kernel/bpf/verifier.c:17292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17292 | { + | ^ +../kernel/bpf/verifier.c:17491:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17491 | { + | ^ +../kernel/bpf/verifier.c:17499:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17499 | { + | ^ +../kernel/bpf/verifier.c:17513:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17513 | { + | ^ +../kernel/bpf/verifier.c:17555:1: warning: empty declaration +17555 | enum { + | ^~~~ +../kernel/bpf/verifier.c:17563:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17563 | { + | ^ +../kernel/bpf/verifier.c:17568:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17568 | { + | ^ +../kernel/bpf/verifier.c:17573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17573 | { + | ^ +../kernel/bpf/verifier.c:17578:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17578 | { + | ^ +../kernel/bpf/verifier.c:17583:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17583 | { + | ^ +../kernel/bpf/verifier.c:17588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17588 | { + | ^ +../kernel/bpf/verifier.c:17592:1: warning: empty declaration +17592 | enum { + | ^~~~ +../kernel/bpf/verifier.c:17603:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17603 | { + | ^ +../kernel/bpf/verifier.c:17653:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17653 | { + | ^ +../kernel/bpf/verifier.c:17683:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17683 | { + | ^ +../kernel/bpf/verifier.c:17694:1: warning: empty declaration +17694 | struct call_summary { + | ^~~~~~ +../kernel/bpf/verifier.c:17705:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17705 | { + | ^ +../kernel/bpf/verifier.c:17821:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17821 | { + | ^ +../kernel/bpf/verifier.c:17906:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17906 | { + | ^ +../kernel/bpf/verifier.c:17934:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17934 | { + | ^ +../kernel/bpf/verifier.c:17955:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +17955 | { + | ^ +../kernel/bpf/verifier.c:18077:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18077 | { + | ^ +../kernel/bpf/verifier.c:18168:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18168 | { + | ^ +../kernel/bpf/verifier.c:18214:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18214 | { + | ^ +../kernel/bpf/verifier.c:18237:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18237 | { + | ^ +../kernel/bpf/verifier.c:18339:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18339 | { + | ^ +../kernel/bpf/verifier.c:18412:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18412 | { + | ^ +../kernel/bpf/verifier.c:18430:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18430 | { + | ^ +../kernel/bpf/verifier.c:18558:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18558 | { + | ^ +../kernel/bpf/verifier.c:18627:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18627 | { + | ^ +../kernel/bpf/verifier.c:18655:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18655 | { + | ^ +../kernel/bpf/verifier.c:18682:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18682 | { + | ^ +../kernel/bpf/verifier.c:18704:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18704 | { + | ^ +../kernel/bpf/verifier.c:18737:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18737 | { + | ^ +../kernel/bpf/verifier.c:18747:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18747 | { + | ^ +../kernel/bpf/verifier.c:18771:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18771 | { + | ^ +../kernel/bpf/verifier.c:18814:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18814 | { + | ^ +../kernel/bpf/verifier.c:18838:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18838 | { + | ^ +../kernel/bpf/verifier.c:18844:1: warning: empty declaration +18844 | enum exact_level { + | ^~~~ +../kernel/bpf/verifier.c:18854:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18854 | { + | ^ +../kernel/bpf/verifier.c:18976:29: error: storage class specified for parameter ‘unbound_reg’ +18976 | static struct bpf_reg_state unbound_reg; + | ^~~~~~~~~~~ +../kernel/bpf/verifier.c:18979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18979 | { + | ^ +../include/linux/compiler.h:166:45: error: storage class specified for parameter ‘__UNIQUE_ID___addressable_unbound_reg_init1108’ + 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ + 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ + 84 | #define __PASTE(a,b) ___PASTE(a,b) + | ^~~~~~~~ +../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ + 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ + 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; + | ^~~~~~~~~~~ +../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ + 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) + | ^~~~~~~~~~~~~~ +../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ + 250 | __ADDRESSABLE(fn) + | ^~~~~~~~~~~~~ +../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ + 255 | __define_initcall_stub(__stub, fn) \ + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ + 268 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ + 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ + 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ + 307 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ +18983 | late_initcall(unbound_reg_init); + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18983:1: error: parameter ‘__UNIQUE_ID___addressable_unbound_reg_init1108’ is initialized +../kernel/bpf/verifier.c:18983:1: warning: ‘used’ attribute ignored [-Wattributes] +../include/linux/compiler.h:166:45: error: section attribute not allowed for ‘__UNIQUE_ID___addressable_unbound_reg_init1108’ + 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ + 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ + 84 | #define __PASTE(a,b) ___PASTE(a,b) + | ^~~~~~~~ +../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ + 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ + 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; + | ^~~~~~~~~~~ +../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ + 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) + | ^~~~~~~~~~~~~~ +../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ + 250 | __ADDRESSABLE(fn) + | ^~~~~~~~~~~~~ +../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ + 255 | __define_initcall_stub(__stub, fn) \ + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ + 268 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ + 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ + 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ + 307 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ +18983 | late_initcall(unbound_reg_init); + | ^~~~~~~~~~~~~ +In file included from ../include/uapi/linux/filter.h:9, + from ../include/linux/bpf.h:8: +../kernel/bpf/verifier.c:18983:15: error: ‘unbound_reg_init’ undeclared (first use in this function); did you mean ‘unbound_reg’? +18983 | late_initcall(unbound_reg_init); + | ^~~~~~~~~~~~~~~~ +../include/linux/compiler.h:286:72: note: in definition of macro ‘___ADDRESSABLE’ + 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; + | ^~~ +../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ + 250 | __ADDRESSABLE(fn) + | ^~~~~~~~~~~~~ +../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ + 255 | __define_initcall_stub(__stub, fn) \ + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ + 268 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ + 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ + 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ + 307 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ +18983 | late_initcall(unbound_reg_init); + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18983:15: note: each undeclared identifier is reported only once for each function it appears in +18983 | late_initcall(unbound_reg_init); + | ^~~~~~~~~~~~~~~~ +../include/linux/compiler.h:286:72: note: in definition of macro ‘___ADDRESSABLE’ + 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; + | ^~~ +../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ + 250 | __ADDRESSABLE(fn) + | ^~~~~~~~~~~~~ +../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ + 255 | __define_initcall_stub(__stub, fn) \ + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ + 268 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ + 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ + 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ + 307 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ +18983 | late_initcall(unbound_reg_init); + | ^~~~~~~~~~~~~ +In file included from ../include/linux/printk.h:6, + from ../include/asm-generic/bug.h:22, + from ../arch/x86/include/asm/bug.h:108, + from ../include/linux/bug.h:5, + from ../include/linux/alloc_tag.h:8, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:11: +../include/linux/init.h:256:9: error: expected declaration specifiers before ‘asm’ + 256 | asm(".section \"" __sec "\", \"a\" \n" \ + | ^~~ +../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ + 268 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ + 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ + 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ + 307 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ +18983 | late_initcall(unbound_reg_init); + | ^~~~~~~~~~~~~ +In file included from ../include/linux/init.h:5: +../include/linux/build_bug.h:78:41: error: expected declaration specifiers before ‘_Static_assert’ + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/linux/init.h:260:9: note: in expansion of macro ‘static_assert’ + 260 | static_assert(__same_type(initcall_t, &fn)); + | ^~~~~~~~~~~~~ +../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ + 268 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ + 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ + 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ + 307 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ +18983 | late_initcall(unbound_reg_init); + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18983:32: error: expected declaration specifiers before ‘;’ token +18983 | late_initcall(unbound_reg_init); + | ^ +../kernel/bpf/verifier.c:18987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +18987 | { + | ^ +../kernel/bpf/verifier.c:19002:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19002 | { + | ^ +../kernel/bpf/verifier.c:19015:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19015 | { + | ^ +../kernel/bpf/verifier.c:19139:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19139 | { + | ^ +../kernel/bpf/verifier.c:19212:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19212 | { + | ^ +../kernel/bpf/verifier.c:19232:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19232 | { + | ^ +../kernel/bpf/verifier.c:19241:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19241 | { + | ^ +../kernel/bpf/verifier.c:19282:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19282 | { + | ^ +../kernel/bpf/verifier.c:19343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19343 | { + | ^ +../kernel/bpf/verifier.c:19373:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19373 | { + | ^ +../kernel/bpf/verifier.c:19390:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19390 | { + | ^ +../kernel/bpf/verifier.c:19453:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19453 | { + | ^ +../kernel/bpf/verifier.c:19477:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19477 | { + | ^ +../kernel/bpf/verifier.c:19833:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19833 | { + | ^ +../kernel/bpf/verifier.c:19861:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19861 | { + | ^ +../kernel/bpf/verifier.c:19867:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19867 | { + | ^ +../kernel/bpf/verifier.c:19878:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19878 | { + | ^ +../kernel/bpf/verifier.c:19884:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19884 | { + | ^ +../kernel/bpf/verifier.c:19930:1: warning: empty declaration +19930 | enum { + | ^~~~ +../kernel/bpf/verifier.c:19937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19937 | { + | ^ +../kernel/bpf/verifier.c:19981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +19981 | { + | ^ +../kernel/bpf/verifier.c:20140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20140 | { + | ^ +../kernel/bpf/verifier.c:20313:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20313 | { + | ^ +../kernel/bpf/verifier.c:20349:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20349 | { + | ^ +../kernel/bpf/verifier.c:20387:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20387 | { + | ^ +../kernel/bpf/verifier.c:20469:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20469 | { + | ^ +../kernel/bpf/verifier.c:20502:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20502 | { + | ^ +../kernel/bpf/verifier.c:20516:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20516 | { + | ^ +../kernel/bpf/verifier.c:20525:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20525 | { + | ^ +../kernel/bpf/verifier.c:20639:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20639 | { + | ^ +../kernel/bpf/verifier.c:20677:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20677 | { + | ^ +../kernel/bpf/verifier.c:20698:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20698 | { + | ^ +../kernel/bpf/verifier.c:20841:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20841 | { + | ^ +../kernel/bpf/verifier.c:20848:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20848 | { + | ^ +../kernel/bpf/verifier.c:20854:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20854 | { + | ^ +../kernel/bpf/verifier.c:20874:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20874 | { + | ^ +../kernel/bpf/verifier.c:20902:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20902 | { + | ^ +../kernel/bpf/verifier.c:20916:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20916 | { + | ^ +../kernel/bpf/verifier.c:20931:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20931 | { + | ^ +../kernel/bpf/verifier.c:20965:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +20965 | { + | ^ +../kernel/bpf/verifier.c:21000:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21000 | { + | ^ +../kernel/bpf/verifier.c:21056:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21056 | { + | ^ +../kernel/bpf/verifier.c:21119:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21119 | { + | ^ +../kernel/bpf/verifier.c:21157:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21157 | { + | ^ +../kernel/bpf/verifier.c:21173:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21173 | { + | ^ +../kernel/bpf/verifier.c:21187:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21187 | { + | ^ +../kernel/bpf/verifier.c:21213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21213 | { + | ^ +../kernel/bpf/verifier.c:21236:30: error: storage class specified for parameter ‘NOP’ +21236 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); + | ^~~ +../kernel/bpf/verifier.c:21236:21: error: parameter ‘NOP’ is initialized +21236 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); + | ^~~~~~~~ +../kernel/bpf/verifier.c:21237:30: error: storage class specified for parameter ‘MAY_GOTO_0’ +21237 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:21237:21: error: parameter ‘MAY_GOTO_0’ is initialized +21237 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); + | ^~~~~~~~ +../kernel/bpf/verifier.c:21240:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21240 | { + | ^ +../kernel/bpf/verifier.c:21266:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21266 | { + | ^ +../kernel/bpf/verifier.c:21371:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21371 | { + | ^ +../kernel/bpf/verifier.c:21671:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21671 | { + | ^ +../kernel/bpf/verifier.c:21937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21937 | { + | ^ +../kernel/bpf/verifier.c:21989:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +21989 | { + | ^ +../kernel/bpf/verifier.c:22050:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +22050 | { + | ^ +../kernel/bpf/verifier.c:22063:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +22063 | { + | ^ +../kernel/bpf/verifier.c:22175:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +22175 | { + | ^ +../kernel/bpf/verifier.c:22204:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +22204 | { + | ^ +../kernel/bpf/verifier.c:23127:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23127 | { + | ^ +../kernel/bpf/verifier.c:23199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23199 | { + | ^ +../kernel/bpf/verifier.c:23215:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23215 | { + | ^ +../kernel/bpf/verifier.c:23263:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23263 | { + | ^ +../kernel/bpf/verifier.c:23294:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23294 | { + | ^ +../kernel/bpf/verifier.c:23337:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23337 | { + | ^ +../kernel/bpf/verifier.c:23486:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23486 | { + | ^ +../kernel/bpf/verifier.c:23536:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23536 | { + | ^ +../kernel/bpf/verifier.c:23548:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23548 | { + | ^ +../kernel/bpf/verifier.c:23573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23573 | { + | ^ +../kernel/bpf/verifier.c:23581:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23581 | { + | ^ +../kernel/bpf/verifier.c:23692:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23692 | { + | ^ +../kernel/bpf/verifier.c:23703:15: error: storage class specified for parameter ‘btf_non_sleepable_error_inject’ +23703 | BTF_SET_START(btf_non_sleepable_error_inject) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~ +../include/linux/btf_ids.h:237:43: error: parameter ‘btf_non_sleepable_error_inject’ is initialized + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:23703:1: note: in expansion of macro ‘BTF_SET_START’ +23703 | BTF_SET_START(btf_non_sleepable_error_inject) + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23717:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23717 | { + | ^ +../kernel/bpf/verifier.c:23726:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +23726 | { + | ^ +../kernel/bpf/verifier.c:24052:15: error: storage class specified for parameter ‘btf_id_deny’ +24052 | BTF_SET_START(btf_id_deny) + | ^~~~~~~~~~~ +../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~ +../include/linux/btf_ids.h:237:43: error: parameter ‘btf_id_deny’ is initialized + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:24052:1: note: in expansion of macro ‘BTF_SET_START’ +24052 | BTF_SET_START(btf_id_deny) + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:24076:15: error: storage class specified for parameter ‘noreturn_deny’ +24076 | BTF_SET_START(noreturn_deny) + | ^~~~~~~~~~~~~ +../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~ +../include/linux/btf_ids.h:237:43: error: parameter ‘noreturn_deny’ is initialized + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:24076:1: note: in expansion of macro ‘BTF_SET_START’ +24076 | BTF_SET_START(noreturn_deny) + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:24100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +24100 | { + | ^ +../kernel/bpf/verifier.c:24118:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +24118 | { + | ^ +../kernel/bpf/verifier.c:24208:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +24208 | { + | ^ +../kernel/bpf/verifier.c:24224:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +24224 | { + | ^ +../kernel/bpf/verifier.c:24251:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +24251 | { + | ^ +../kernel/bpf/verifier.c:24286:1: warning: empty declaration +24286 | struct insn_live_regs { + | ^~~~~~ +../kernel/bpf/verifier.c:24300:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +24300 | { + | ^ +../kernel/bpf/verifier.c:24435:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +24435 | { + | ^ +../kernel/bpf/verifier.c:24529:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +24529 | { + | ^ +../kernel/bpf/verifier.c:24702:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token +24702 | { + | ^ +../kernel/bpf/verifier.c:3271:1: error: type of ‘magic_kfuncs’ defaults to ‘int’ [-Wimplicit-int] + 3271 | BTF_ID_LIST_END(magic_kfuncs) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:24076:15: error: declaration for parameter ‘noreturn_deny’ but no such parameter +24076 | BTF_SET_START(noreturn_deny) + | ^~~~~~~~~~~~~ +../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~ +../kernel/bpf/verifier.c:24052:15: error: declaration for parameter ‘btf_id_deny’ but no such parameter +24052 | BTF_SET_START(btf_id_deny) + | ^~~~~~~~~~~ +../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~ +../kernel/bpf/verifier.c:23703:15: error: declaration for parameter ‘btf_non_sleepable_error_inject’ but no such parameter +23703 | BTF_SET_START(btf_non_sleepable_error_inject) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~ +../kernel/bpf/verifier.c:21237:30: error: declaration for parameter ‘MAY_GOTO_0’ but no such parameter +21237 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:21236:30: error: declaration for parameter ‘NOP’ but no such parameter +21236 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); + | ^~~ +../include/linux/compiler.h:166:45: error: declaration for parameter ‘__UNIQUE_ID___addressable_unbound_reg_init1108’ but no such parameter + 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ + 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ + 84 | #define __PASTE(a,b) ___PASTE(a,b) + | ^~~~~~~~ +../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ + 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ + 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; + | ^~~~~~~~~~~ +../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ + 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) + | ^~~~~~~~~~~~~~ +../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ + 250 | __ADDRESSABLE(fn) + | ^~~~~~~~~~~~~ +../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ + 255 | __define_initcall_stub(__stub, fn) \ + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ + 268 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ + 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ + 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ + 307 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ +18983 | late_initcall(unbound_reg_init); + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18976:29: error: declaration for parameter ‘unbound_reg’ but no such parameter +18976 | static struct bpf_reg_state unbound_reg; + | ^~~~~~~~~~~ +../kernel/bpf/verifier.c:13933:12: error: declaration for parameter ‘check_return_code’ but no such parameter +13933 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12380:13: error: declaration for parameter ‘special_kfunc_list’ but no such parameter +12380 | BTF_ID_LIST(special_kfunc_list) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ + 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; + | ^~~~ +../kernel/bpf/verifier.c:12174:13: error: declaration for parameter ‘kf_arg_btf_ids’ but no such parameter +12174 | BTF_ID_LIST(kf_arg_btf_ids) + | ^~~~~~~~~~~~~~ +../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ + 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; + | ^~~~ +../kernel/bpf/verifier.c:11046:13: error: declaration for parameter ‘is_rbtree_lock_required_kfunc’ but no such parameter +11046 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10483:12: error: declaration for parameter ‘set_callee_state’ but no such parameter +10483 | static int set_callee_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10478:15: error: declaration for parameter ‘set_callee_state_fn’ but no such parameter +10478 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9725:13: error: declaration for parameter ‘can_elide_value_nullness’ but no such parameter + 9725 | static bool can_elide_value_nullness(enum bpf_map_type type); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9289:36: error: declaration for parameter ‘compatible_reg_types’ but no such parameter + 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9282:35: error: declaration for parameter ‘dynptr_types’ but no such parameter + 9282 | static const struct bpf_reg_types dynptr_types = { + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:9276:35: error: declaration for parameter ‘kptr_xchg_dest_types’ but no such parameter + 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9275:35: error: declaration for parameter ‘timer_types’ but no such parameter + 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; + | ^~~~~~~~~~~ +../kernel/bpf/verifier.c:9274:35: error: declaration for parameter ‘const_str_ptr_types’ but no such parameter + 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9273:35: error: declaration for parameter ‘stack_ptr_types’ but no such parameter + 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9272:35: error: declaration for parameter ‘func_ptr_types’ but no such parameter + 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9265:35: error: declaration for parameter ‘percpu_btf_ptr_types’ but no such parameter + 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9258:35: error: declaration for parameter ‘btf_ptr_types’ but no such parameter + 9258 | static const struct bpf_reg_types btf_ptr_types = { + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9257:35: error: declaration for parameter ‘const_map_ptr_types’ but no such parameter + 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9256:35: error: declaration for parameter ‘ringbuf_mem_types’ but no such parameter + 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9255:35: error: declaration for parameter ‘context_types’ but no such parameter + 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9254:35: error: declaration for parameter ‘scalar_types’ but no such parameter + 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:9253:35: error: declaration for parameter ‘fullsock_types’ but no such parameter + 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9246:35: error: declaration for parameter ‘spin_lock_types’ but no such parameter + 9246 | static const struct bpf_reg_types spin_lock_types = { + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9232:35: error: declaration for parameter ‘mem_types’ but no such parameter + 9232 | static const struct bpf_reg_types mem_types = { + | ^~~~~~~~~ +../kernel/bpf/verifier.c:9219:35: error: declaration for parameter ‘btf_id_sock_common_types’ but no such parameter + 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9209:35: error: declaration for parameter ‘sock_types’ but no such parameter + 9209 | static const struct bpf_reg_types sock_types = { + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:8961:13: error: declaration for parameter ‘regs_exact’ but no such parameter + 8961 | static bool regs_exact(const struct bpf_reg_state *rold, + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:8960:13: error: declaration for parameter ‘reset_idmap_scratch’ but no such parameter + 8960 | static void reset_idmap_scratch(struct bpf_verifier_env *env); + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7813:12: error: declaration for parameter ‘save_aux_ptr_type’ but no such parameter + 7813 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6393:13: error: declaration for parameter ‘reg2btf_ids’ but no such parameter + 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { + | ^~~~~~~~~~~ +../kernel/bpf/verifier.c:5942:15: error: declaration for parameter ‘rcu_protected_types’ but no such parameter + 5942 | BTF_SET_START(rcu_protected_types) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ + 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~ +../kernel/bpf/verifier.c:5562:12: error: declaration for parameter ‘check_stack_range_initialized’ but no such parameter + 5562 | static int check_stack_range_initialized(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:24987: error: expected ‘{’ at end of input +../kernel/bpf/verifier.c: At top level: +../kernel/bpf/verifier.c:206:12: warning: ‘release_reference_nomark’ declared ‘static’ but never defined [-Wunused-function] + 206 | static int release_reference_nomark(struct bpf_verifier_state *state, int ref_obj_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:207:12: warning: ‘release_reference’ used but never defined + 207 | static int release_reference(struct bpf_verifier_env *env, int ref_obj_id); + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:208:13: warning: ‘invalidate_non_owning_refs’ declared ‘static’ but never defined [-Wunused-function] + 208 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:209:13: warning: ‘in_rbtree_lock_required_cb’ declared ‘static’ but never defined [-Wunused-function] + 209 | static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:210:12: warning: ‘ref_set_non_owning’ declared ‘static’ but never defined [-Wunused-function] + 210 | static int ref_set_non_owning(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:212:13: warning: ‘is_trusted_reg’ used but never defined + 212 | static bool is_trusted_reg(const struct bpf_reg_state *reg); + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:510:13: warning: ‘is_sync_callback_calling_kfunc’ used but never defined + 510 | static bool is_sync_callback_calling_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:511:13: warning: ‘is_async_callback_calling_kfunc’ used but never defined + 511 | static bool is_async_callback_calling_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:512:13: warning: ‘is_callback_calling_kfunc’ declared ‘static’ but never defined [-Wunused-function] + 512 | static bool is_callback_calling_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:513:13: warning: ‘is_bpf_throw_kfunc’ declared ‘static’ but never defined [-Wunused-function] + 513 | static bool is_bpf_throw_kfunc(struct bpf_insn *insn); + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:515:13: warning: ‘is_bpf_wq_set_callback_impl_kfunc’ used but never defined + 515 | static bool is_bpf_wq_set_callback_impl_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:516:13: warning: ‘is_task_work_add_kfunc’ used but never defined + 516 | static bool is_task_work_add_kfunc(u32 func_id); + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1029:13: warning: ‘in_rcu_cs’ used but never defined + 1029 | static bool in_rcu_cs(struct bpf_verifier_env *env); + | ^~~~~~~~~ +../kernel/bpf/verifier.c:1031:13: warning: ‘is_kfunc_rcu_protected’ used but never defined + 1031 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta); + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1938:12: warning: ‘propagate_backedges’ used but never defined + 1938 | static int propagate_backedges(struct bpf_verifier_env *env, struct bpf_scc_visit *visit); + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:3127:12: warning: ‘specialize_kfunc’ declared ‘static’ but never defined [-Wunused-function] + 3127 | static int specialize_kfunc(struct bpf_verifier_env *env, struct bpf_kfunc_desc *desc, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘BTF_ID_LIST_END’: +../kernel/bpf/verifier.c:24987: error: control reaches end of non-void function [-Werror=return-type] +../kernel/bpf/verifier.c: At top level: +../kernel/bpf/verifier.c:3250:20: warning: ‘find_kfunc_desc_btf’ defined but not used [-Wunused-function] + 3250 | static struct btf *find_kfunc_desc_btf(struct bpf_verifier_env *env, s16 offset) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:3033:12: warning: ‘bpf_find_exception_callback_insn_off’ defined but not used [-Wunused-function] + 3033 | static int bpf_find_exception_callback_insn_off(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:3010:12: warning: ‘add_subprog’ defined but not used [-Wunused-function] + 3010 | static int add_subprog(struct bpf_verifier_env *env, int off) + | ^~~~~~~~~~~ +../kernel/bpf/verifier.c:2924:35: warning: ‘push_async_cb’ defined but not used [-Wunused-function] + 2924 | static struct bpf_verifier_state *push_async_cb(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2858:12: warning: ‘mark_btf_ld_reg’ defined but not used [-Wunused-function] + 2858 | static int mark_btf_ld_reg(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2819:12: warning: ‘__mark_reg_s32_range’ defined but not used [-Wunused-function] + 2819 | static int __mark_reg_s32_range(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2760:13: warning: ‘__reg_assign_32_into_64’ defined but not used [-Wunused-function] + 2760 | static void __reg_assign_32_into_64(struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2336:13: warning: ‘__mark_reg32_unbounded’ defined but not used [-Wunused-function] + 2336 | static void __mark_reg32_unbounded(struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2328:13: warning: ‘__mark_reg64_unbounded’ defined but not used [-Wunused-function] + 2328 | static void __mark_reg64_unbounded(struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2301:13: warning: ‘reg_is_init_pkt_pointer’ defined but not used [-Wunused-function] + 2301 | static bool reg_is_init_pkt_pointer(const struct bpf_reg_state *reg, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2293:13: warning: ‘reg_is_dynptr_slice_pkt’ defined but not used [-Wunused-function] + 2293 | static bool reg_is_dynptr_slice_pkt(const struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2287:13: warning: ‘reg_is_pkt_pointer_any’ defined but not used [-Wunused-function] + 2287 | static bool reg_is_pkt_pointer_any(const struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2272:13: warning: ‘mark_reg_graph_node’ defined but not used [-Wunused-function] + 2272 | static void mark_reg_graph_node(struct bpf_reg_state *regs, u32 regno, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2243:13: warning: ‘mark_ptr_not_null_reg’ defined but not used [-Wunused-function] + 2243 | static void mark_ptr_not_null_reg(struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2205:13: warning: ‘__mark_reg_const_zero’ defined but not used [-Wunused-function] + 2205 | static void __mark_reg_const_zero(const struct bpf_verifier_env *env, struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2188:13: warning: ‘__mark_reg32_known’ defined but not used [-Wunused-function] + 2188 | static void __mark_reg32_known(struct bpf_reg_state *reg, u64 imm) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2156:18: warning: ‘caller_saved’ defined but not used [-Wunused-const-variable=] + 2156 | static const int caller_saved[CALLER_SAVED_REGS] = { + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:2113:35: warning: ‘push_stack’ defined but not used [-Wunused-function] + 2113 | static struct bpf_verifier_state *push_stack(struct bpf_verifier_env *env, + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:2101:13: warning: ‘error_recoverable_with_nospec’ defined but not used [-Wunused-function] + 2101 | static bool error_recoverable_with_nospec(int err) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2072:12: warning: ‘pop_stack’ defined but not used [-Wunused-function] + 2072 | static int pop_stack(struct bpf_verifier_env *env, int *prev_insn_idx, + | ^~~~~~~~~ +../kernel/bpf/verifier.c:2044:12: warning: ‘update_branch_counts’ defined but not used [-Wunused-function] + 2044 | static int update_branch_counts(struct bpf_verifier_env *env, struct bpf_verifier_state *st) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:2032:13: warning: ‘free_backedges’ defined but not used [-Wunused-function] + 2032 | static void free_backedges(struct bpf_scc_visit *visit) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1986:12: warning: ‘add_scc_backedge’ defined but not used [-Wunused-function] + 1986 | static int add_scc_backedge(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1919:12: warning: ‘maybe_enter_scc’ defined but not used [-Wunused-function] + 1919 | static int maybe_enter_scc(struct bpf_verifier_env *env, struct bpf_verifier_state *st) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1798:13: warning: ‘same_callsites’ defined but not used [-Wunused-function] + 1798 | static bool same_callsites(struct bpf_verifier_state *a, struct bpf_verifier_state *b) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1790:26: warning: ‘explored_state’ defined but not used [-Wunused-function] + 1790 | static struct list_head *explored_state(struct bpf_verifier_env *env, int idx) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1639:36: warning: ‘find_lock_state’ defined but not used [-Wunused-function] + 1639 | static struct bpf_reference_state *find_lock_state(struct bpf_verifier_state *state, enum ref_state_type type, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1593:12: warning: ‘release_lock_state’ defined but not used [-Wunused-function] + 1593 | static int release_lock_state(struct bpf_verifier_state *state, int type, int id, void *ptr) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1582:13: warning: ‘find_reference_state’ defined but not used [-Wunused-function] + 1582 | static bool find_reference_state(struct bpf_verifier_state *state, int ptr_id) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1529:12: warning: ‘acquire_lock_state’ defined but not used [-Wunused-function] + 1529 | static int acquire_lock_state(struct bpf_verifier_env *env, int insn_idx, enum ref_state_type type, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1474:12: warning: ‘grow_stack_state’ defined but not used [-Wunused-function] + 1474 | static int grow_stack_state(struct bpf_verifier_env *env, struct bpf_func_state *state, int size) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1365:13: warning: ‘scrub_spilled_slot’ defined but not used [-Wunused-function] + 1365 | static void scrub_spilled_slot(u8 *stype) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1356:13: warning: ‘mark_stack_slot_misc’ defined but not used [-Wunused-function] + 1356 | static void mark_stack_slot_misc(struct bpf_verifier_env *env, u8 *stype) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1341:13: warning: ‘is_spilled_scalar_reg64’ defined but not used [-Wunused-function] + 1341 | static bool is_spilled_scalar_reg64(const struct bpf_stack_state *stack) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1335:13: warning: ‘is_spilled_scalar_reg’ defined but not used [-Wunused-function] + 1335 | static bool is_spilled_scalar_reg(const struct bpf_stack_state *stack) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1330:13: warning: ‘is_spilled_reg’ defined but not used [-Wunused-function] + 1330 | static bool is_spilled_reg(const struct bpf_stack_state *stack) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1307:13: warning: ‘is_stack_slot_special’ defined but not used [-Wunused-function] + 1307 | static bool is_stack_slot_special(const struct bpf_stack_state *stack) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1278:12: warning: ‘is_irq_flag_reg_valid_init’ defined but not used [-Wunused-function] + 1278 | static int is_irq_flag_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1254:13: warning: ‘is_irq_flag_reg_valid_uninit’ defined but not used [-Wunused-function] + 1254 | static bool is_irq_flag_reg_valid_uninit(struct bpf_verifier_env *env, struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1202:12: warning: ‘unmark_stack_slot_irq_flag’ defined but not used [-Wunused-function] + 1202 | static int unmark_stack_slot_irq_flag(struct bpf_verifier_env *env, struct bpf_reg_state *reg, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1168:12: warning: ‘mark_stack_slot_irq_flag’ defined but not used [-Wunused-function] + 1168 | static int mark_stack_slot_irq_flag(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1133:12: warning: ‘is_iter_reg_valid_init’ defined but not used [-Wunused-function] + 1133 | static int is_iter_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1106:13: warning: ‘is_iter_reg_valid_uninit’ defined but not used [-Wunused-function] + 1106 | static bool is_iter_reg_valid_uninit(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1077:12: warning: ‘unmark_stack_slots_iter’ defined but not used [-Wunused-function] + 1077 | static int unmark_stack_slots_iter(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1033:12: warning: ‘mark_stack_slots_iter’ defined but not used [-Wunused-function] + 1033 | static int mark_stack_slots_iter(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1005:13: warning: ‘is_dynptr_type_expected’ defined but not used [-Wunused-function] + 1005 | static bool is_dynptr_type_expected(struct bpf_verifier_env *env, struct bpf_reg_state *reg, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:976:13: warning: ‘is_dynptr_reg_valid_init’ defined but not used [-Wunused-function] + 976 | static bool is_dynptr_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:948:13: warning: ‘is_dynptr_reg_valid_uninit’ defined but not used [-Wunused-function] + 948 | static bool is_dynptr_reg_valid_uninit(struct bpf_verifier_env *env, struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:828:12: warning: ‘unmark_stack_slots_dynptr’ defined but not used [-Wunused-function] + 828 | static int unmark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:753:12: warning: ‘mark_stack_slots_dynptr’ defined but not used [-Wunused-function] + 753 | static int mark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:743:13: warning: ‘mark_dynptr_cb_reg’ defined but not used [-Wunused-function] + 743 | static void mark_dynptr_cb_reg(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:700:27: warning: ‘get_dynptr_type_flag’ defined but not used [-Wunused-function] + 700 | static enum bpf_type_flag get_dynptr_type_flag(enum bpf_dynptr_type type) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:604:13: warning: ‘is_atomic_load_insn’ defined but not used [-Wunused-function] + 604 | static bool is_atomic_load_insn(const struct bpf_insn *insn) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:597:13: warning: ‘is_cmpxchg_insn’ defined but not used [-Wunused-function] + 597 | static bool is_cmpxchg_insn(const struct bpf_insn *insn) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:582:13: warning: ‘helper_multiple_ref_obj_use’ defined but not used [-Wunused-function] + 582 | static bool helper_multiple_ref_obj_use(enum bpf_func_id func_id, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:574:13: warning: ‘is_storage_get_function’ defined but not used [-Wunused-function] + 574 | static bool is_storage_get_function(enum bpf_func_id func_id) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:569:13: warning: ‘is_may_goto_insn_at’ defined but not used [-Wunused-function] + 569 | static bool is_may_goto_insn_at(struct bpf_verifier_env *env, int insn_idx) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:549:13: warning: ‘is_async_cb_sleepable’ defined but not used [-Wunused-function] + 549 | static bool is_async_cb_sleepable(struct bpf_verifier_env *env, struct bpf_insn *insn) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:543:13: warning: ‘is_async_callback_calling_insn’ defined but not used [-Wunused-function] + 543 | static bool is_async_callback_calling_insn(struct bpf_insn *insn) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:537:13: warning: ‘is_sync_callback_calling_insn’ defined but not used [-Wunused-function] + 537 | static bool is_sync_callback_calling_insn(struct bpf_insn *insn) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:531:13: warning: ‘is_callback_calling_function’ defined but not used [-Wunused-function] + 531 | static bool is_callback_calling_function(enum bpf_func_id func_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:468:13: warning: ‘type_is_rdonly_mem’ defined but not used [-Wunused-function] + 468 | static bool type_is_rdonly_mem(u32 type) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:463:13: warning: ‘reg_may_point_to_spin_lock’ defined but not used [-Wunused-function] + 463 | static bool reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:458:13: warning: ‘subprog_is_exc_cb’ defined but not used [-Wunused-function] + 458 | static bool subprog_is_exc_cb(struct bpf_verifier_env *env, int subprog) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:449:13: warning: ‘mark_subprog_exc_cb’ defined but not used [-Wunused-function] + 449 | static void mark_subprog_exc_cb(struct bpf_verifier_env *env, int subprog) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:438:20: warning: ‘subprog_name’ defined but not used [-Wunused-function] + 438 | static const char *subprog_name(const struct bpf_verifier_env *env, int subprog) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:431:13: warning: ‘subprog_is_global’ defined but not used [-Wunused-function] + 431 | static bool subprog_is_global(const struct bpf_verifier_env *env, int subprog) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:397:13: warning: ‘reg_not_null’ defined but not used [-Wunused-function] + 397 | static bool reg_not_null(const struct bpf_reg_state *reg) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:376:13: warning: ‘verbose_invalid_scalar’ defined but not used [-Wunused-function] + 376 | static void verbose_invalid_scalar(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:263:13: warning: ‘bpf_pseudo_call’ defined but not used [-Wunused-function] + 263 | static bool bpf_pseudo_call(const struct bpf_insn *insn) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:249:13: warning: ‘bpf_map_key_store’ defined but not used [-Wunused-function] + 249 | static void bpf_map_key_store(struct bpf_insn_aux_data *aux, u64 state) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:244:12: warning: ‘bpf_map_key_immediate’ defined but not used [-Wunused-function] + 244 | static u64 bpf_map_key_immediate(const struct bpf_insn_aux_data *aux) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:239:13: warning: ‘bpf_map_key_unseen’ defined but not used [-Wunused-function] + 239 | static bool bpf_map_key_unseen(const struct bpf_insn_aux_data *aux) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:224:13: warning: ‘bpf_map_ptr_store’ defined but not used [-Wunused-function] + 224 | static void bpf_map_ptr_store(struct bpf_insn_aux_data *aux, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:214:13: warning: ‘bpf_map_ptr_poisoned’ defined but not used [-Wunused-function] + 214 | static bool bpf_map_ptr_poisoned(const struct bpf_insn_aux_data *aux) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:54:13: warning: ‘bpf_global_percpu_ma_set’ defined but not used [-Wunused-variable] + 54 | static bool bpf_global_percpu_ma_set; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:36:46: warning: ‘bpf_verifier_ops’ defined but not used [-Wunused-const-variable=] + 36 | static const struct bpf_verifier_ops * const bpf_verifier_ops[] = { + | ^~~~~~~~~~~~~~~~ +cc1: some warnings being treated as errors +make[5]: *** [../scripts/Makefile.build:287: kernel/bpf/verifier.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -300,14 +3043,8 @@ -In file included from ../include/linux/string.h:382, - from ../arch/x86/include/asm/page_32.h:18, - from ../arch/x86/include/asm/page.h:14, - from ../arch/x86/include/asm/thread_info.h:12, - from ../include/linux/thread_info.h:60, - from ../include/linux/spinlock.h:60, - from ../include/linux/mmzone.h:8, - from ../include/linux/gfp.h:7, - from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: -In function ‘fortify_memcpy_chk’, - inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: -../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:556: kernel/bpf] Error 2 +make[4]: *** Waiting for unfinished jobs.... +Warning: ../drivers/android/binderfs.c:236 function parameter 'file' not described in 'binder_ctl_ioctl' +Warning: ../drivers/android/binderfs.c:236 function parameter 'cmd' not described in 'binder_ctl_ioctl' +Warning: ../drivers/android/binderfs.c:236 function parameter 'arg' not described in 'binder_ctl_ioctl' +Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' +Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' +Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' @@ -323,7 +3059,0 @@ -Warning: ../drivers/android/binderfs.c:236 function parameter 'file' not described in 'binder_ctl_ioctl' -Warning: ../drivers/android/binderfs.c:236 function parameter 'cmd' not described in 'binder_ctl_ioctl' -Warning: ../drivers/android/binderfs.c:236 function parameter 'arg' not described in 'binder_ctl_ioctl' -../kernel/bpf/stream.c: In function ‘bpf_stream_vprintk’: -../kernel/bpf/stream.c:383:9: warning: function ‘bpf_stream_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 383 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt__str, data.bin_args); - | ^~~ @@ -343,3 +3072,0 @@ -Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' -Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' -Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' @@ -347 +3074,2 @@ -Warning: ../fs/gfs2/glock.c:1248 function parameter 'ip' not described in '__gfs2_holder_init' +make[3]: *** [../scripts/Makefile.build:556: kernel] Error 2 +make[3]: *** Waiting for unfinished jobs.... @@ -364,0 +3093 @@ +Warning: ../fs/gfs2/glock.c:1248 function parameter 'ip' not described in '__gfs2_holder_init' @@ -409,0 +3139,3 @@ +../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new +../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new +../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new @@ -415,3 +3147,3 @@ -../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new -../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new -../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new +make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2010: .] Error 2 +make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.lSV6NQKkk5 2025-10-29 13:01:45.729130916 -0700 +++ /tmp/tmp.Ckuc0kI5wK 2025-10-29 13:01:45.757130644 -0700 @@ -3,0 +4,3 @@ + 4 ../include/linux/btf_ids.h + 1 ../include/linux/build_bug.h + 3 ../include/linux/compiler.h @@ -5,0 +9 @@ + 1 ../include/linux/init.h @@ -10 +14 @@ - 1 ../kernel/bpf/stream.c + 754 ../kernel/bpf/verifier.c