========== build_32bit - FAILED ../arch/x86/power/hibernate.c:47: warning: Function parameter or struct member 'pfn' not described in 'pfn_is_nosave' ../arch/x86/power/hibernate.c:92: warning: Function parameter or struct member 'max_size' not described in 'arch_hibernation_header_save' ../arch/x86/mm/pgtable.c:623: warning: Function parameter or struct member 'reserve' not described in 'reserve_top_address' ../arch/x86/mm/pgtable.c:672: warning: Function parameter or struct member 'p4d' not described in 'p4d_set_huge' ../arch/x86/mm/pgtable.c:672: warning: Function parameter or struct member 'addr' not described in 'p4d_set_huge' ../arch/x86/mm/pgtable.c:672: warning: Function parameter or struct member 'prot' not described in 'p4d_set_huge' ../arch/x86/mm/pgtable.c:682: warning: Function parameter or struct member 'p4d' not described in 'p4d_clear_huge' ../arch/x86/mm/pgtable.c:699: warning: Function parameter or struct member 'pud' not described in 'pud_set_huge' ../arch/x86/mm/pgtable.c:699: warning: Function parameter or struct member 'addr' not described in 'pud_set_huge' ../arch/x86/mm/pgtable.c:699: warning: Function parameter or struct member 'prot' not described in 'pud_set_huge' ../arch/x86/mm/pgtable.c:725: warning: Function parameter or struct member 'pmd' not described in 'pmd_set_huge' ../arch/x86/mm/pgtable.c:725: warning: Function parameter or struct member 'addr' not described in 'pmd_set_huge' ../arch/x86/mm/pgtable.c:725: warning: Function parameter or struct member 'prot' not described in 'pmd_set_huge' ../arch/x86/mm/pgtable.c:752: warning: Function parameter or struct member 'pud' not described in 'pud_clear_huge' ../arch/x86/mm/pgtable.c:767: warning: Function parameter or struct member 'pmd' not described in 'pmd_clear_huge' In file included from ../include/trace/define_trace.h:119, 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:1136:48: note: in expansion of macro ‘cpu_possible_mask’ 1136 | #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:55:45: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 55 | "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:99:9: note: in expansion of macro ‘_BUG_FLAGS’ 99 | _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ | ^~~~~~~~~~ ../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:120: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:55:45: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 55 | "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:99:9: note: in expansion of macro ‘_BUG_FLAGS’ 99 | _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ | ^~~~~~~~~~ ../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); | ^~~~~~~~~~~~ ../ipc/sem.c:647: warning: expecting prototype for perform_atomic_semop[_slow](). Prototype was for perform_atomic_semop_slow() instead ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'boost_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'enabled' not described in 'lm3692x_led' ../drivers/misc/vmw_balloon.c:260: warning: Function parameter or struct member '5' not described in 'vmballoon_batch_entry' ../drivers/misc/vmw_balloon.c:260: warning: Excess struct member 'reserved' description in 'vmballoon_batch_entry' ../security/ipe/hooks.c:55: warning: Function parameter or struct member '__always_unused' not described in 'ipe_mmap_file' ../security/ipe/hooks.c:55: warning: Excess function parameter 'reqprot' description in 'ipe_mmap_file' ../security/ipe/hooks.c:83: warning: Function parameter or struct member '__always_unused' not described in 'ipe_file_mprotect' ../security/ipe/hooks.c:83: warning: Excess function parameter 'reqprot' description in 'ipe_file_mprotect' In file included from ../include/linux/string.h:392, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 207. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 207. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 207. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 207. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 207. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 207. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 207. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 207. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 207. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 207. ../security/landlock/ruleset.c:207: warning: Function parameter or struct member '' not described in 'insert_rule' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 207. Use of uninitialized value $parameterlist[2] in join or string at ../scripts/kernel-doc line 1724, line 207. ../security/landlock/ruleset.c:207: warning: Excess function parameter 'layers' description in 'insert_rule' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 686. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 686. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 686. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 686. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 686. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 686. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 686. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 686. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 686. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 686. ../security/landlock/ruleset.c:686: warning: Function parameter or struct member '' not described in 'landlock_init_layer_masks' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 686. Use of uninitialized value $parameterlist[2] in join or string at ../scripts/kernel-doc line 1724, line 686. ../security/landlock/ruleset.c:686: warning: Excess function parameter 'layer_masks' description in 'landlock_init_layer_masks' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 765. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 765. ../security/landlock/fs.c:765: warning: Function parameter or struct member '' not described in 'is_access_to_paths_allowed' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 765. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 765. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1724, line 765. Use of uninitialized value $parameterlist[7] in join or string at ../scripts/kernel-doc line 1724, line 765. ../security/landlock/fs.c:765: warning: Excess function parameter 'layer_masks_parent1' description in 'is_access_to_paths_allowed' ../security/landlock/fs.c:765: warning: Excess function parameter 'layer_masks_parent2' description in 'is_access_to_paths_allowed' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 1035. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 1035. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 1035. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 1035. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 1035. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 1035. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 1035. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 1035. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 1035. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 1035. ../security/landlock/fs.c:1035: warning: Function parameter or struct member '' not described in 'collect_domain_accesses' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 1035. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1724, line 1035. ../security/landlock/fs.c:1035: warning: Excess function parameter 'layer_masks_dom' description in 'collect_domain_accesses' ../drivers/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' ../drivers/regulator/pf9453-regulator.c:304: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * pf9453_regulator_enable_regmap for regmap users ../drivers/regulator/pf9453-regulator.c:329: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * pf9453_regulator_disable_regmap for regmap users ../drivers/regulator/pf9453-regulator.c:354: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * pf9453_regulator_set_voltage_sel_regmap for regmap users ../drivers/regulator/pf9453-regulator.c:421: warning: Function parameter or struct member 'ramp_delay' not described in 'pf9453_regulator_set_ramp_delay_regmap' ../kernel/power/swap.c:551: warning: Function parameter or struct member 'handle' not described in 'save_image' ../kernel/power/swap.c:551: warning: Function parameter or struct member 'snapshot' not described in 'save_image' ../kernel/power/swap.c:551: warning: Function parameter or struct member 'nr_to_write' not described in 'save_image' ../kernel/power/swap.c:930: warning: Function parameter or struct member 'nr_pages' not described in 'enough_swap' ../kernel/power/swap.c:1101: warning: Function parameter or struct member 'handle' not described in 'load_image' ../kernel/power/swap.c:1101: warning: Function parameter or struct member 'snapshot' not described in 'load_image' ../kernel/power/swap.c:1101: warning: Function parameter or struct member 'nr_to_read' not described in 'load_image' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'zone' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'gfp_mask' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'safe_needed' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'ca' not described in 'add_rtree_block' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'gfp_mask' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'safe_needed' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'ca' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'start' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'end' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'zone' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'clear_nosave_free' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'bm' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'gfp_mask' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'safe_needed' not described in 'memory_bm_create' ../kernel/power/snapshot.c:728: warning: Function parameter or struct member 'clear_nosave_free' not described in 'memory_bm_free' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bm' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'pfn' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'addr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bit_nr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'start_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'end_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'zone' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'pfn' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'zone' not described in 'saveable_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'pfn' not described in 'saveable_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 'dst' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 's_page' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'x' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'multiplier' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'base' not described in '__fraction' ../kernel/power/snapshot.c:1994: warning: Function parameter or struct member 'nr_highmem' not described in 'count_pages_for_highmem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_pages' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_highmem' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2035: warning: Function parameter or struct member 'safe_needed' not described in 'get_highmem_buffer' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'bm' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'nr_highmem' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'copy_bm' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_pages' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_highmem' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2305: warning: Function parameter or struct member 'bm' not described in 'mark_unsafe_pages' ../kernel/power/snapshot.c:2340: warning: Function parameter or struct member 'info' not described in 'load_header' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'page' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'ca' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'bm' not described in 'get_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'ca' not described in 'get_buffer' ../kernel/power/snapshot.c:2858: warning: Function parameter or struct member 'handle' not described in 'snapshot_write_finalize' ../drivers/usb/dwc2/core_intr.c:342: warning: Function parameter or struct member 'remotewakeup' not described in 'dwc2_wakeup_from_lpm_l1' ../arch/x86/kernel/apic/apic.c:2140: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2140: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/gpu/drm/scheduler/sched_main.c:397: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done' ../drivers/gpu/drm/radeon/radeon_cs.c:418: warning: Excess function parameter 'backoff' description in 'radeon_cs_parser_fini' ../drivers/watchdog/pcwd_usb.c:586: warning: Function parameter or struct member 'usb_pcwd' not described in 'usb_pcwd_delete' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'id' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:770: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_disconnect' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'timing0' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'timing1' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'timing2' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'dmach' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'pio_data' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'addr_data' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'sg_io' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'dma_read' not described in 'mxs_i2c_dev' In file included from ../include/linux/kernel.h:31, 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:479:25: note: in definition of macro ‘printk_index_wrap’ 479 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:560:9: note: in expansion of macro ‘printk’ 560 | 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:560:16: note: in expansion of macro ‘KERN_WARNING’ 560 | 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:479:25: note: in definition of macro ‘printk_index_wrap’ 479 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:560:9: note: in expansion of macro ‘printk’ 560 | 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:560:16: note: in expansion of macro ‘KERN_WARNING’ 560 | 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) | ^~~~~~~~~~~~~~ ../drivers/md/bcache/request.c:309: warning: Function parameter or struct member 'bch_data_insert' not described in 'CLOSURE_CALLBACK' ../drivers/md/bcache/request.c:309: warning: expecting prototype for bch_data_insert(). Prototype was for CLOSURE_CALLBACK() instead ../arch/x86/kernel/apm_32.c:903: warning: Function parameter or struct member 'dev' not described in 'apm_cpu_idle' ../arch/x86/kernel/apm_32.c:903: warning: Function parameter or struct member 'drv' not described in 'apm_cpu_idle' ../arch/x86/kernel/apm_32.c:903: warning: Function parameter or struct member 'index' not described in 'apm_cpu_idle' ../drivers/firmware/efi/libstub/efi-stub-helper.c:611: warning: Function parameter or struct member 'out' not described in 'efi_load_initrd' ../drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c:549: warning: Function parameter or struct member 'adev' not described in 'amdgpu_sdma_register_on_reset_callbacks' In file included from ../include/linux/string.h:392, 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:9250: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/audit.c: In function ‘audit_log_vformat’: ../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); | ^~~ ../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); | ^~~ ../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../kernel/kprobes.c:142: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424: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:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/dcn32_fpu.c: In function ‘dcn32_update_bw_bounding_box_fpu’: ../drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/dcn32_fpu.c:3375:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=] 3375 | } | ^ ../drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn321/dcn321_fpu.c: In function ‘dcn321_update_bw_bounding_box_fpu’: ../drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn321/dcn321_fpu.c:930:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=] 930 | } | ^ ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:4835:12: error: invalid storage class for function ‘mark_chain_precision_batch’ 4835 | static int mark_chain_precision_batch(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4840:13: error: invalid storage class for function ‘is_spillable_regtype’ 4840 | static bool is_spillable_regtype(enum bpf_reg_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4868:13: error: invalid storage class for function ‘register_is_null’ 4868 | static bool register_is_null(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4874:13: error: invalid storage class for function ‘is_reg_const’ 4874 | static bool is_reg_const(struct bpf_reg_state *reg, bool subreg32) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:4881:12: error: invalid storage class for function ‘reg_const_value’ 4881 | static u64 reg_const_value(struct bpf_reg_state *reg, bool subreg32) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4886:13: error: invalid storage class for function ‘__is_pointer_value’ 4886 | static bool __is_pointer_value(bool allow_ptr_leaks, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4895:13: error: invalid storage class for function ‘assign_scalar_id_before_mov’ 4895 | static void assign_scalar_id_before_mov(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4920:13: error: invalid storage class for function ‘copy_register_state’ 4920 | static void copy_register_state(struct bpf_reg_state *dst, const struct bpf_reg_state *src) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4930:13: error: invalid storage class for function ‘save_register_state’ 4930 | static void save_register_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4949:13: error: invalid storage class for function ‘is_bpf_st_mem’ 4949 | static bool is_bpf_st_mem(struct bpf_insn *insn) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4954:12: error: invalid storage class for function ‘get_reg_width’ 4954 | static int get_reg_width(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4960:13: error: invalid storage class for function ‘check_fastcall_stack_contract’ 4960 | static void check_fastcall_stack_contract(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4987:12: error: invalid storage class for function ‘check_stack_write_fixed_off’ 4987 | static int check_stack_write_fixed_off(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5132:12: error: invalid storage class for function ‘check_stack_write_var_off’ 5132 | static int check_stack_write_var_off(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5250:13: error: invalid storage class for function ‘mark_reg_stack_read’ 5250 | static void mark_reg_stack_read(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5291:12: error: invalid storage class for function ‘check_stack_read_fixed_off’ 5291 | static int check_stack_read_fixed_off(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5425:12: error: invalid storage class for function ‘check_stack_range_initialized’ 5425 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5431:30: error: invalid storage class for function ‘reg_state’ 5431 | static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~ ../kernel/bpf/verifier.c:5449:12: error: invalid storage class for function ‘check_stack_read_var_off’ 5449 | static int check_stack_read_var_off(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_stack_read_var_off’: ../kernel/bpf/verifier.c:5454:44: error: called object ‘func’ is not a function or function pointer 5454 | struct bpf_func_state *ptr_state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c:5460:15: error: implicit declaration of function ‘check_stack_range_initialized’ [-Wimplicit-function-declaration] 5460 | err = check_stack_range_initialized(env, ptr_regno, off, size, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:5481:12: error: invalid storage class for function ‘check_stack_read’ 5481 | static int check_stack_read(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_stack_read’: ../kernel/bpf/verifier.c:5486:40: error: called object ‘func’ is not a function or function pointer 5486 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:5538:12: error: invalid storage class for function ‘check_stack_write’ 5538 | static int check_stack_write(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_stack_write’: ../kernel/bpf/verifier.c:5543:40: error: called object ‘func’ is not a function or function pointer 5543 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:5561:12: error: invalid storage class for function ‘check_map_access_type’ 5561 | static int check_map_access_type(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5584:12: error: invalid storage class for function ‘__check_mem_access’ 5584 | static int __check_mem_access(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5620:12: error: invalid storage class for function ‘check_mem_region_access’ 5620 | static int check_mem_region_access(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5675:12: error: invalid storage class for function ‘__check_ptr_off_reg’ 5675 | static int __check_ptr_off_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5707:12: error: invalid storage class for function ‘check_ptr_off_reg’ 5707 | static int check_ptr_off_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5713:12: error: invalid storage class for function ‘map_kptr_match_type’ 5713 | static int map_kptr_match_type(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5789:13: error: invalid storage class for function ‘in_sleepable’ 5789 | static bool in_sleepable(struct bpf_verifier_env *env) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:5798:13: error: invalid storage class for function ‘in_rcu_cs’ 5798 | static bool in_rcu_cs(struct bpf_verifier_env *env) | ^~~~~~~~~ ../kernel/bpf/verifier.c:5822:13: error: invalid storage class for function ‘rcu_protected_object’ 5822 | static bool rcu_protected_object(const struct btf *btf, u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5829:27: error: invalid storage class for function ‘kptr_pointee_btf_record’ 5829 | static struct btf_record *kptr_pointee_btf_record(struct btf_field *kptr_field) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5842:13: error: invalid storage class for function ‘rcu_safe_kptr’ 5842 | static bool rcu_safe_kptr(const struct btf_field *field) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5850:12: error: invalid storage class for function ‘btf_ld_kptr_type’ 5850 | static u32 btf_ld_kptr_type(struct bpf_verifier_env *env, struct btf_field *kptr_field) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5873:12: error: invalid storage class for function ‘mark_uptr_ld_reg’ 5873 | static int mark_uptr_ld_reg(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5889:12: error: invalid storage class for function ‘check_map_kptr_access’ 5889 | static int check_map_kptr_access(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5950:12: error: invalid storage class for function ‘check_map_access’ 5950 | static int check_map_access(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6018:13: error: invalid storage class for function ‘may_access_direct_pkt_data’ 6018 | static bool may_access_direct_pkt_data(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6060:12: error: invalid storage class for function ‘check_packet_access’ 6060 | static int check_packet_access(struct bpf_verifier_env *env, u32 regno, int off, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6103:12: error: invalid storage class for function ‘check_ctx_access’ 6103 | static int check_ctx_access(struct bpf_verifier_env *env, int insn_idx, int off, int size, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6135:12: error: invalid storage class for function ‘check_flow_keys_access’ 6135 | static int check_flow_keys_access(struct bpf_verifier_env *env, int off, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6147:12: error: invalid storage class for function ‘check_sock_access’ 6147 | static int check_sock_access(struct bpf_verifier_env *env, int insn_idx, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6192:13: error: invalid storage class for function ‘is_pointer_value’ 6192 | static bool is_pointer_value(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6197:13: error: invalid storage class for function ‘is_ctx_reg’ 6197 | static bool is_ctx_reg(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~~ ../kernel/bpf/verifier.c:6204:13: error: invalid storage class for function ‘is_sk_reg’ 6204 | static bool is_sk_reg(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~ ../kernel/bpf/verifier.c:6211:13: error: invalid storage class for function ‘is_pkt_reg’ 6211 | static bool is_pkt_reg(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~~ ../kernel/bpf/verifier.c:6218:13: error: invalid storage class for function ‘is_flow_key_reg’ 6218 | static bool is_flow_key_reg(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6226:13: error: invalid storage class for function ‘is_arena_reg’ 6226 | static bool is_arena_reg(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:6236:13: error: invalid storage class for function ‘atomic_ptr_type_ok’ 6236 | static bool atomic_ptr_type_ok(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6262:13: error: invalid storage class for function ‘is_trusted_reg’ 6262 | static bool is_trusted_reg(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6286:13: error: invalid storage class for function ‘is_rcu_reg’ 6286 | static bool is_rcu_reg(const struct bpf_reg_state *reg) | ^~~~~~~~~~ ../kernel/bpf/verifier.c:6291:13: error: invalid storage class for function ‘clear_trusted_flags’ 6291 | static void clear_trusted_flags(enum bpf_type_flag *flag) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6296:12: error: invalid storage class for function ‘check_pkt_ptr_alignment’ 6296 | static int check_pkt_ptr_alignment(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6331:12: error: invalid storage class for function ‘check_generic_ptr_alignment’ 6331 | static int check_generic_ptr_alignment(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6355:12: error: invalid storage class for function ‘check_ptr_alignment’ 6355 | static int check_ptr_alignment(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6410:29: error: invalid storage class for function ‘bpf_enable_priv_stack’ 6410 | static enum priv_stack_mode bpf_enable_priv_stack(struct bpf_prog *prog) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6438:12: error: invalid storage class for function ‘round_up_stack_depth’ 6438 | static int round_up_stack_depth(struct bpf_verifier_env *env, int stack_depth) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6455:12: error: invalid storage class for function ‘check_max_stack_depth_subprog’ 6455 | static int check_max_stack_depth_subprog(struct bpf_verifier_env *env, int idx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6616:12: error: invalid storage class for function ‘check_max_stack_depth’ 6616 | static int check_max_stack_depth(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6673:12: error: invalid storage class for function ‘__check_buffer_access’ 6673 | static int __check_buffer_access(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6697:12: error: invalid storage class for function ‘check_tp_buffer_access’ 6697 | static int check_tp_buffer_access(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6713:12: error: invalid storage class for function ‘check_buffer_access’ 6713 | static int check_buffer_access(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6733:13: error: invalid storage class for function ‘zext_32_to_64’ 6733 | static void zext_32_to_64(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6742:13: error: invalid storage class for function ‘coerce_reg_to_size’ 6742 | static void coerce_reg_to_size(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6771:13: error: invalid storage class for function ‘set_sext64_default_val’ 6771 | static void set_sext64_default_val(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6790:13: error: invalid storage class for function ‘coerce_reg_to_size_sx’ 6790 | static void coerce_reg_to_size_sx(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6849:13: error: invalid storage class for function ‘set_sext32_default_val’ 6849 | static void set_sext32_default_val(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6864:13: error: invalid storage class for function ‘coerce_subreg_to_size_sx’ 6864 | static void coerce_subreg_to_size_sx(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6914:13: error: invalid storage class for function ‘bpf_map_is_rdonly’ 6914 | static bool bpf_map_is_rdonly(const struct bpf_map *map) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6934:12: error: invalid storage class for function ‘bpf_map_direct_read’ 6934 | static int bpf_map_direct_read(struct bpf_map *map, int off, int size, u64 *val, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7036:13: error: invalid storage class for function ‘type_is_rcu’ 7036 | static bool type_is_rcu(struct bpf_verifier_env *env, | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:7047:13: error: invalid storage class for function ‘type_is_rcu_or_null’ 7047 | static bool type_is_rcu_or_null(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7058:13: error: invalid storage class for function ‘type_is_trusted’ 7058 | static bool type_is_trusted(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7071:13: error: invalid storage class for function ‘type_is_trusted_or_null’ 7071 | static bool type_is_trusted_or_null(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7081:12: error: invalid storage class for function ‘check_ptr_to_btf_access’ 7081 | static int check_ptr_to_btf_access(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7231:12: error: invalid storage class for function ‘check_ptr_to_map_access’ 7231 | static int check_ptr_to_map_access(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7297:12: error: invalid storage class for function ‘check_stack_slot_within_bounds’ 7297 | static int check_stack_slot_within_bounds(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7319:12: error: invalid storage class for function ‘check_stack_access_within_bounds’ 7319 | static int check_stack_access_within_bounds( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_stack_access_within_bounds’: ../kernel/bpf/verifier.c:7326:40: error: called object ‘func’ is not a function or function pointer 7326 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:7379:13: error: invalid storage class for function ‘get_func_retval_range’ 7379 | static bool get_func_retval_range(struct bpf_prog *prog, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7396:12: error: invalid storage class for function ‘check_mem_access’ 7396 | static int check_mem_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7645:12: error: invalid storage class for function ‘save_aux_ptr_type’ 7645 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7648:12: error: invalid storage class for function ‘check_load_mem’ 7648 | static int check_load_mem(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_load_mem’: ../kernel/bpf/verifier.c:7674:22: error: implicit declaration of function ‘save_aux_ptr_type’ [-Wimplicit-function-declaration] 7674 | err = err ?: save_aux_ptr_type(env, src_reg_type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:7681:12: error: invalid storage class for function ‘check_store_reg’ 7681 | static int check_store_reg(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7709:12: error: invalid storage class for function ‘check_atomic_rmw’ 7709 | static int check_atomic_rmw(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7798:12: error: invalid storage class for function ‘check_atomic_load’ 7798 | static int check_atomic_load(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7817:12: error: invalid storage class for function ‘check_atomic_store’ 7817 | static int check_atomic_store(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7836:12: error: invalid storage class for function ‘check_atomic’ 7836 | static int check_atomic(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:7881:12: error: invalid storage class for function ‘check_stack_range_initialized’ 7881 | static int check_stack_range_initialized( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_stack_range_initialized’: ../kernel/bpf/verifier.c:7887:40: error: called object ‘func’ is not a function or function pointer 7887 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:8027:12: error: invalid storage class for function ‘check_helper_mem_access’ 8027 | static int check_helper_mem_access(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8124:12: error: invalid storage class for function ‘check_mem_size_reg’ 8124 | static int check_mem_size_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8174:12: error: invalid storage class for function ‘check_mem_reg’ 8174 | static int check_mem_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8202:12: error: invalid storage class for function ‘check_kfunc_mem_size_reg’ 8202 | static int check_kfunc_mem_size_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8257:12: error: invalid storage class for function ‘process_spin_lock’ 8257 | static int process_spin_lock(struct bpf_verifier_env *env, int regno, int flags) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8373:12: error: invalid storage class for function ‘process_timer_func’ 8373 | static int process_timer_func(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8410:12: error: invalid storage class for function ‘process_wq_func’ 8410 | static int process_wq_func(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8427:12: error: invalid storage class for function ‘process_kptr_func’ 8427 | static int process_kptr_func(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8500:12: error: invalid storage class for function ‘process_dynptr_func’ 8500 | static int process_dynptr_func(struct bpf_verifier_env *env, int regno, int insn_idx, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8580:12: error: invalid storage class for function ‘iter_ref_obj_id’ 8580 | static u32 iter_ref_obj_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int spi) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘iter_ref_obj_id’: ../kernel/bpf/verifier.c:8582:40: error: called object ‘func’ is not a function or function pointer 8582 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:8587:13: error: invalid storage class for function ‘is_iter_kfunc’ 8587 | static bool is_iter_kfunc(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8592:13: error: invalid storage class for function ‘is_iter_new_kfunc’ 8592 | static bool is_iter_new_kfunc(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8597:13: error: invalid storage class for function ‘is_iter_next_kfunc’ 8597 | static bool is_iter_next_kfunc(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8602:13: error: invalid storage class for function ‘is_iter_destroy_kfunc’ 8602 | static bool is_iter_destroy_kfunc(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8607:13: error: invalid storage class for function ‘is_kfunc_arg_iter’ 8607 | static bool is_kfunc_arg_iter(struct bpf_kfunc_call_arg_meta *meta, int arg_idx, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8620:12: error: invalid storage class for function ‘process_iter_arg’ 8620 | static int process_iter_arg(struct bpf_verifier_env *env, int regno, int insn_idx, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8709:35: error: invalid storage class for function ‘find_prev_entry’ 8709 | static struct bpf_verifier_state *find_prev_entry(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8733:13: error: invalid storage class for function ‘reset_idmap_scratch’ 8733 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8734:13: error: invalid storage class for function ‘regs_exact’ 8734 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8738:13: error: invalid storage class for function ‘maybe_widen_reg’ 8738 | static void maybe_widen_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘maybe_widen_reg’: ../kernel/bpf/verifier.c:8746:47: error: implicit declaration of function ‘regs_exact’ [-Wimplicit-function-declaration] 8746 | if (rold->precise || rcur->precise || regs_exact(rold, rcur, idmap)) | ^~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:8751:12: error: invalid storage class for function ‘widen_imprecise_scalars’ 8751 | static int widen_imprecise_scalars(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘widen_imprecise_scalars’: ../kernel/bpf/verifier.c:8758:9: error: implicit declaration of function ‘reset_idmap_scratch’ [-Wimplicit-function-declaration] 8758 | reset_idmap_scratch(env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:8783:30: error: invalid storage class for function ‘get_iter_from_state’ 8783 | static struct bpf_reg_state *get_iter_from_state(struct bpf_verifier_state *cur_st, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8870:12: error: invalid storage class for function ‘process_iter_next_call’ 8870 | static int process_iter_next_call(struct bpf_verifier_env *env, int insn_idx, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8925:13: error: invalid storage class for function ‘arg_type_is_mem_size’ 8925 | static bool arg_type_is_mem_size(enum bpf_arg_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8931:13: error: invalid storage class for function ‘arg_type_is_raw_mem’ 8931 | static bool arg_type_is_raw_mem(enum bpf_arg_type type) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8937:13: error: invalid storage class for function ‘arg_type_is_release’ 8937 | static bool arg_type_is_release(enum bpf_arg_type type) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8942:13: error: invalid storage class for function ‘arg_type_is_dynptr’ 8942 | static bool arg_type_is_dynptr(enum bpf_arg_type type) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8947:12: error: invalid storage class for function ‘resolve_map_arg_type’ 8947 | static int resolve_map_arg_type(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9088:12: error: invalid storage class for function ‘check_reg_type’ 9088 | static int check_reg_type(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9236:1: error: invalid storage class for function ‘reg_find_field_offset’ 9236 | reg_find_field_offset(const struct bpf_reg_state *reg, s32 off, u32 fields) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9252:12: error: invalid storage class for function ‘check_func_arg_reg_off’ 9252 | static int check_func_arg_reg_off(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9323:30: error: invalid storage class for function ‘get_dynptr_arg_reg’ 9323 | static struct bpf_reg_state *get_dynptr_arg_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9345:12: error: invalid storage class for function ‘dynptr_id’ 9345 | static int dynptr_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘dynptr_id’: ../kernel/bpf/verifier.c:9347:40: error: called object ‘func’ is not a function or function pointer 9347 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:9358:12: error: invalid storage class for function ‘dynptr_ref_obj_id’ 9358 | static int dynptr_ref_obj_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘dynptr_ref_obj_id’: ../kernel/bpf/verifier.c:9360:40: error: called object ‘func’ is not a function or function pointer 9360 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:9371:29: error: invalid storage class for function ‘dynptr_get_type’ 9371 | static enum bpf_dynptr_type dynptr_get_type(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘dynptr_get_type’: ../kernel/bpf/verifier.c:9374:40: error: called object ‘func’ is not a function or function pointer 9374 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:9389:12: error: invalid storage class for function ‘check_reg_const_str’ 9389 | static int check_reg_const_str(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9438:12: error: invalid storage class for function ‘get_constant_map_key’ 9438 | static int get_constant_map_key(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘get_constant_map_key’: ../kernel/bpf/verifier.c:9443:40: error: called object ‘func’ is not a function or function pointer 9443 | struct bpf_func_state *state = func(env, key); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:9498:13: error: invalid storage class for function ‘can_elide_value_nullness’ 9498 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9500:12: error: invalid storage class for function ‘check_func_arg’ 9500 | static int check_func_arg(struct bpf_verifier_env *env, u32 arg, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_func_arg’: ../kernel/bpf/verifier.c:9563:56: error: called object ‘func’ is not a function or function pointer 9563 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c:9648:21: error: implicit declaration of function ‘can_elide_value_nullness’ [-Wimplicit-function-declaration] 9648 | if (can_elide_value_nullness(meta->map_ptr->map_type)) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:9770:13: error: invalid storage class for function ‘may_update_sockmap’ 9770 | static bool may_update_sockmap(struct bpf_verifier_env *env, int func_id) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9808:13: error: invalid storage class for function ‘allow_tail_call_in_subprogs’ 9808 | static bool allow_tail_call_in_subprogs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9814:12: error: invalid storage class for function ‘check_map_func_compatibility’ 9814 | static int check_map_func_compatibility(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10065:13: error: invalid storage class for function ‘check_raw_mode_ok’ 10065 | static bool check_raw_mode_ok(const struct bpf_func_proto *fn) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10087:13: error: invalid storage class for function ‘check_args_pair_invalid’ 10087 | static bool check_args_pair_invalid(const struct bpf_func_proto *fn, int arg) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10102:13: error: invalid storage class for function ‘check_arg_pair_ok’ 10102 | static bool check_arg_pair_ok(const struct bpf_func_proto *fn) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10120:13: error: invalid storage class for function ‘check_btf_id_ok’ 10120 | static bool check_btf_id_ok(const struct bpf_func_proto *fn) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10139:12: error: invalid storage class for function ‘check_func_proto’ 10139 | static int check_func_proto(const struct bpf_func_proto *fn, int func_id) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10152:13: error: invalid storage class for function ‘clear_all_pkt_pointers’ 10152 | static void clear_all_pkt_pointers(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10168:13: error: invalid storage class for function ‘mark_pkt_end’ 10168 | static void mark_pkt_end(struct bpf_verifier_state *vstate, int regn, bool range_open) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:10189:12: error: invalid storage class for function ‘release_reference_nomark’ 10189 | static int release_reference_nomark(struct bpf_verifier_state *state, int ref_obj_id) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10209:12: error: invalid storage class for function ‘release_reference’ 10209 | static int release_reference(struct bpf_verifier_env *env, int ref_obj_id) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10228:13: error: invalid storage class for function ‘invalidate_non_owning_refs’ 10228 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10239:13: error: invalid storage class for function ‘clear_caller_saved_regs’ 10239 | static void clear_caller_saved_regs(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10256:12: error: invalid storage class for function ‘set_callee_state’ 10256 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10260:12: error: invalid storage class for function ‘setup_func_entry’ 10260 | static int setup_func_entry(struct bpf_verifier_env *env, int subprog, int callsite, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10308:12: error: invalid storage class for function ‘btf_check_func_arg_match’ 10308 | static int btf_check_func_arg_match(struct bpf_verifier_env *env, int subprog, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10403:12: error: invalid storage class for function ‘btf_check_subprog_call’ 10403 | static int btf_check_subprog_call(struct bpf_verifier_env *env, int subprog, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10431:12: error: invalid storage class for function ‘push_callback_call’ 10431 | static int push_callback_call(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10500:12: error: invalid storage class for function ‘check_func_call’ 10500 | static int check_func_call(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_func_call’: ../kernel/bpf/verifier.c:10560:57: error: ‘set_callee_state’ undeclared (first use in this function); did you mean ‘set_callee_state_fn’? 10560 | err = setup_func_entry(env, subprog, *insn_idx, set_callee_state, state); | ^~~~~~~~~~~~~~~~ | set_callee_state_fn ../kernel/bpf/verifier.c:10560:57: note: each undeclared identifier is reported only once for each function it appears in ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:10606:12: error: invalid storage class for function ‘set_callee_state’ 10606 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10620:12: error: invalid storage class for function ‘set_map_elem_callback_state’ 10620 | static int set_map_elem_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10646:12: error: invalid storage class for function ‘set_loop_callback_state’ 10646 | static int set_loop_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10668:12: error: invalid storage class for function ‘set_timer_callback_state’ 10668 | static int set_timer_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10698:12: error: invalid storage class for function ‘set_find_vma_callback_state’ 10698 | static int set_find_vma_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10726:12: error: invalid storage class for function ‘set_user_ringbuf_callback_state’ 10726 | static int set_user_ringbuf_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10749:12: error: invalid storage class for function ‘set_rbtree_add_callback_state’ 10749 | static int set_rbtree_add_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10781:13: error: invalid storage class for function ‘is_rbtree_lock_required_kfunc’ 10781 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10787:13: error: invalid storage class for function ‘in_rbtree_lock_required_cb’ 10787 | static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘in_rbtree_lock_required_cb’: ../kernel/bpf/verifier.c:10803:16: error: implicit declaration of function ‘is_rbtree_lock_required_kfunc’; did you mean ‘in_rbtree_lock_required_cb’? [-Wimplicit-function-declaration] 10803 | return is_rbtree_lock_required_kfunc(kfunc_btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | in_rbtree_lock_required_cb ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:10806:13: error: invalid storage class for function ‘retval_range_within’ 10806 | static bool retval_range_within(struct bpf_retval_range range, const struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10815:12: error: invalid storage class for function ‘prepare_func_exit’ 10815 | static int prepare_func_exit(struct bpf_verifier_env *env, int *insn_idx) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10906:12: error: invalid storage class for function ‘do_refine_retval_range’ 10906 | static int do_refine_retval_range(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10945:1: error: invalid storage class for function ‘record_func_map’ 10945 | record_func_map(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10991:1: error: invalid storage class for function ‘record_func_key’ 10991 | record_func_key(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11027:12: error: invalid storage class for function ‘check_reference_leak’ 11027 | static int check_reference_leak(struct bpf_verifier_env *env, bool exception_exit) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11054:12: error: invalid storage class for function ‘check_resource_leak’ 11054 | static int check_resource_leak(struct bpf_verifier_env *env, bool exception_exit, bool check_lock, const char *prefix) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11087:12: error: invalid storage class for function ‘check_bpf_snprintf_call’ 11087 | static int check_bpf_snprintf_call(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11125:12: error: invalid storage class for function ‘check_get_func_ip’ 11125 | static int check_get_func_ip(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11146:34: error: invalid storage class for function ‘cur_aux’ 11146 | static struct bpf_insn_aux_data *cur_aux(struct bpf_verifier_env *env) | ^~~~~~~ ../kernel/bpf/verifier.c:11151:13: error: invalid storage class for function ‘loop_flag_is_zero’ 11151 | static bool loop_flag_is_zero(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11163:13: error: invalid storage class for function ‘update_loop_inline_state’ 11163 | static void update_loop_inline_state(struct bpf_verifier_env *env, u32 subprogno) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11185:13: error: invalid storage class for function ‘can_elide_value_nullness’ 11185 | static bool can_elide_value_nullness(enum bpf_map_type type) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11196:12: error: invalid storage class for function ‘get_helper_proto’ 11196 | static int get_helper_proto(struct bpf_verifier_env *env, int func_id, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11209:12: error: invalid storage class for function ‘check_helper_call’ 11209 | static int check_helper_call(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11745:13: error: invalid storage class for function ‘__mark_btf_func_reg_size’ 11745 | static void __mark_btf_func_reg_size(struct bpf_verifier_env *env, struct bpf_reg_state *regs, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11766:13: error: invalid storage class for function ‘mark_btf_func_reg_size’ 11766 | static void mark_btf_func_reg_size(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11772:13: error: invalid storage class for function ‘is_kfunc_acquire’ 11772 | static bool is_kfunc_acquire(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11777:13: error: invalid storage class for function ‘is_kfunc_release’ 11777 | static bool is_kfunc_release(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11782:13: error: invalid storage class for function ‘is_kfunc_trusted_args’ 11782 | static bool is_kfunc_trusted_args(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11787:13: error: invalid storage class for function ‘is_kfunc_sleepable’ 11787 | static bool is_kfunc_sleepable(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11792:13: error: invalid storage class for function ‘is_kfunc_destructive’ 11792 | static bool is_kfunc_destructive(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11797:13: error: invalid storage class for function ‘is_kfunc_rcu’ 11797 | static bool is_kfunc_rcu(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:11802:13: error: invalid storage class for function ‘is_kfunc_rcu_protected’ 11802 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11807:13: error: invalid storage class for function ‘is_kfunc_arg_mem_size’ 11807 | static bool is_kfunc_arg_mem_size(const struct btf *btf, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11820:13: error: invalid storage class for function ‘is_kfunc_arg_const_mem_size’ 11820 | static bool is_kfunc_arg_const_mem_size(const struct btf *btf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11833:13: error: invalid storage class for function ‘is_kfunc_arg_optional’ 11833 | static bool is_kfunc_arg_optional(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11838:13: error: invalid storage class for function ‘is_kfunc_arg_constant’ 11838 | static bool is_kfunc_arg_constant(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11843:13: error: invalid storage class for function ‘is_kfunc_arg_ignore’ 11843 | static bool is_kfunc_arg_ignore(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11848:13: error: invalid storage class for function ‘is_kfunc_arg_map’ 11848 | static bool is_kfunc_arg_map(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11853:13: error: invalid storage class for function ‘is_kfunc_arg_alloc_obj’ 11853 | static bool is_kfunc_arg_alloc_obj(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11858:13: error: invalid storage class for function ‘is_kfunc_arg_uninit’ 11858 | static bool is_kfunc_arg_uninit(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11863:13: error: invalid storage class for function ‘is_kfunc_arg_refcounted_kptr’ 11863 | static bool is_kfunc_arg_refcounted_kptr(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11868:13: error: invalid storage class for function ‘is_kfunc_arg_nullable’ 11868 | static bool is_kfunc_arg_nullable(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11873:13: error: invalid storage class for function ‘is_kfunc_arg_const_str’ 11873 | static bool is_kfunc_arg_const_str(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11878:13: error: invalid storage class for function ‘is_kfunc_arg_irq_flag’ 11878 | static bool is_kfunc_arg_irq_flag(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11883:13: error: invalid storage class for function ‘is_kfunc_arg_prog’ 11883 | static bool is_kfunc_arg_prog(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11888:13: error: invalid storage class for function ‘is_kfunc_arg_scalar_with_name’ 11888 | static bool is_kfunc_arg_scalar_with_name(const struct btf *btf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11926:13: error: invalid storage class for function ‘__is_kfunc_ptr_arg_type’ 11926 | static bool __is_kfunc_ptr_arg_type(const struct btf *btf, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11943:13: error: invalid storage class for function ‘is_kfunc_arg_dynptr’ 11943 | static bool is_kfunc_arg_dynptr(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11948:13: error: invalid storage class for function ‘is_kfunc_arg_list_head’ 11948 | static bool is_kfunc_arg_list_head(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11953:13: error: invalid storage class for function ‘is_kfunc_arg_list_node’ 11953 | static bool is_kfunc_arg_list_node(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11958:13: error: invalid storage class for function ‘is_kfunc_arg_rbtree_root’ 11958 | static bool is_kfunc_arg_rbtree_root(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11963:13: error: invalid storage class for function ‘is_kfunc_arg_rbtree_node’ 11963 | static bool is_kfunc_arg_rbtree_node(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11968:13: error: invalid storage class for function ‘is_kfunc_arg_wq’ 11968 | static bool is_kfunc_arg_wq(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11973:13: error: invalid storage class for function ‘is_kfunc_arg_res_spin_lock’ 11973 | static bool is_kfunc_arg_res_spin_lock(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11978:13: error: invalid storage class for function ‘is_rbtree_node_type’ 11978 | static bool is_rbtree_node_type(const struct btf_type *t) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11983:13: error: invalid storage class for function ‘is_list_node_type’ 11983 | static bool is_list_node_type(const struct btf_type *t) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11988:13: error: invalid storage class for function ‘is_kfunc_arg_callback’ 11988 | static bool is_kfunc_arg_callback(struct bpf_verifier_env *env, const struct btf *btf, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12001:13: error: invalid storage class for function ‘__btf_type_is_scalar_struct’ 12001 | static bool __btf_type_is_scalar_struct(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12211:13: error: invalid storage class for function ‘is_kfunc_ret_null’ 12211 | static bool is_kfunc_ret_null(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12221:13: error: invalid storage class for function ‘is_kfunc_bpf_rcu_read_lock’ 12221 | static bool is_kfunc_bpf_rcu_read_lock(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12226:13: error: invalid storage class for function ‘is_kfunc_bpf_rcu_read_unlock’ 12226 | static bool is_kfunc_bpf_rcu_read_unlock(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12231:13: error: invalid storage class for function ‘is_kfunc_bpf_preempt_disable’ 12231 | static bool is_kfunc_bpf_preempt_disable(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12236:13: error: invalid storage class for function ‘is_kfunc_bpf_preempt_enable’ 12236 | static bool is_kfunc_bpf_preempt_enable(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12242:1: error: invalid storage class for function ‘get_kfunc_ptr_arg_type’ 12242 | get_kfunc_ptr_arg_type(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12337:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_btf_id’ 12337 | static int process_kf_arg_ptr_to_btf_id(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12409:12: error: invalid storage class for function ‘process_irq_flag’ 12409 | static int process_irq_flag(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12463:12: error: invalid storage class for function ‘ref_set_non_owning’ 12463 | static int ref_set_non_owning(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12484:12: error: invalid storage class for function ‘ref_convert_owning_non_owning’ 12484 | static int ref_convert_owning_non_owning(struct bpf_verifier_env *env, u32 ref_obj_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12561:12: error: invalid storage class for function ‘check_reg_allocation_locked’ 12561 | static int check_reg_allocation_locked(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12590:13: error: invalid storage class for function ‘is_bpf_list_api_kfunc’ 12590 | static bool is_bpf_list_api_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12600:13: error: invalid storage class for function ‘is_bpf_rbtree_api_kfunc’ 12600 | static bool is_bpf_rbtree_api_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12610:13: error: invalid storage class for function ‘is_bpf_iter_num_api_kfunc’ 12610 | static bool is_bpf_iter_num_api_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12617:13: error: invalid storage class for function ‘is_bpf_graph_api_kfunc’ 12617 | static bool is_bpf_graph_api_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12623:13: error: invalid storage class for function ‘is_bpf_res_spin_lock_kfunc’ 12623 | static bool is_bpf_res_spin_lock_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12631:13: error: invalid storage class for function ‘kfunc_spin_allowed’ 12631 | static bool kfunc_spin_allowed(u32 btf_id) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12637:13: error: invalid storage class for function ‘is_sync_callback_calling_kfunc’ 12637 | static bool is_sync_callback_calling_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12642:13: error: invalid storage class for function ‘is_async_callback_calling_kfunc’ 12642 | static bool is_async_callback_calling_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12647:13: error: invalid storage class for function ‘is_bpf_throw_kfunc’ 12647 | static bool is_bpf_throw_kfunc(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12653:13: error: invalid storage class for function ‘is_bpf_wq_set_callback_impl_kfunc’ 12653 | static bool is_bpf_wq_set_callback_impl_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12658:13: error: invalid storage class for function ‘is_callback_calling_kfunc’ 12658 | static bool is_callback_calling_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12664:13: error: invalid storage class for function ‘is_rbtree_lock_required_kfunc’ 12664 | static bool is_rbtree_lock_required_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12669:13: error: invalid storage class for function ‘check_kfunc_is_graph_root_api’ 12669 | static bool check_kfunc_is_graph_root_api(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12694:13: error: invalid storage class for function ‘check_kfunc_is_graph_node_api’ 12694 | static bool check_kfunc_is_graph_node_api(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12724:1: error: invalid storage class for function ‘__process_kf_arg_ptr_to_graph_root’ 12724 | __process_kf_arg_ptr_to_graph_root(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12774:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_list_head’ 12774 | static int process_kf_arg_ptr_to_list_head(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12782:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_rbtree_root’ 12782 | static int process_kf_arg_ptr_to_rbtree_root(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12791:1: error: invalid storage class for function ‘__process_kf_arg_ptr_to_graph_node’ 12791 | __process_kf_arg_ptr_to_graph_node(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12855:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_list_node’ 12855 | static int process_kf_arg_ptr_to_list_node(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12864:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_rbtree_node’ 12864 | static int process_kf_arg_ptr_to_rbtree_node(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12879:13: error: invalid storage class for function ‘check_css_task_iter_allowlist’ 12879 | static bool check_css_task_iter_allowlist(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12895:12: error: invalid storage class for function ‘check_kfunc_args’ 12895 | static int check_kfunc_args(struct bpf_verifier_env *env, struct bpf_kfunc_call_arg_meta *meta, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13412:12: error: invalid storage class for function ‘fetch_kfunc_meta’ 13412 | static int fetch_kfunc_meta(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13454:12: error: invalid storage class for function ‘check_return_code’ 13454 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13456:12: error: invalid storage class for function ‘check_kfunc_call’ 13456 | static int check_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_kfunc_call’: ../kernel/bpf/verifier.c:13657:31: error: implicit declaration of function ‘check_return_code’ [-Wimplicit-function-declaration] 13657 | err = check_return_code(env, BPF_REG_1, "R1"); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:13952:13: error: invalid storage class for function ‘check_reg_sane_offset’ 13952 | static bool check_reg_sane_offset(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13995:12: error: invalid storage class for function ‘retrieve_ptr_limit’ 13995 | static int retrieve_ptr_limit(const struct bpf_reg_state *ptr_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14026:13: error: invalid storage class for function ‘can_skip_alu_sanitation’ 14026 | static bool can_skip_alu_sanitation(const struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14032:12: error: invalid storage class for function ‘update_alu_sanitation_state’ 14032 | static int update_alu_sanitation_state(struct bpf_insn_aux_data *aux, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14049:12: error: invalid storage class for function ‘sanitize_val_alu’ 14049 | static int sanitize_val_alu(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14060:13: error: invalid storage class for function ‘sanitize_needed’ 14060 | static bool sanitize_needed(u8 opcode) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14071:1: error: invalid storage class for function ‘sanitize_speculative_path’ 14071 | sanitize_speculative_path(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14091:12: error: invalid storage class for function ‘sanitize_ptr_alu’ 14091 | static int sanitize_ptr_alu(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14187:13: error: invalid storage class for function ‘sanitize_mark_insn_seen’ 14187 | static void sanitize_mark_insn_seen(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14200:12: error: invalid storage class for function ‘sanitize_err’ 14200 | static int sanitize_err(struct bpf_verifier_env *env, | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:14249:12: error: invalid storage class for function ‘check_stack_access_for_ptr_arithmetic’ 14249 | static int check_stack_access_for_ptr_arithmetic( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14273:12: error: invalid storage class for function ‘sanitize_check_bounds’ 14273 | static int sanitize_check_bounds(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14310:12: error: invalid storage class for function ‘adjust_ptr_min_max_vals’ 14310 | static int adjust_ptr_min_max_vals(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14538:13: error: invalid storage class for function ‘scalar32_min_max_add’ 14538 | static void scalar32_min_max_add(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14558:13: error: invalid storage class for function ‘scalar_min_max_add’ 14558 | static void scalar_min_max_add(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14578:13: error: invalid storage class for function ‘scalar32_min_max_sub’ 14578 | static void scalar32_min_max_sub(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14603:13: error: invalid storage class for function ‘scalar_min_max_sub’ 14603 | static void scalar_min_max_sub(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14628:13: error: invalid storage class for function ‘scalar32_min_max_mul’ 14628 | static void scalar32_min_max_mul(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14656:13: error: invalid storage class for function ‘scalar_min_max_mul’ 14656 | static void scalar_min_max_mul(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14684:13: error: invalid storage class for function ‘scalar32_min_max_and’ 14684 | static void scalar32_min_max_and(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14715:13: error: invalid storage class for function ‘scalar_min_max_and’ 14715 | static void scalar_min_max_and(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14747:13: error: invalid storage class for function ‘scalar32_min_max_or’ 14747 | static void scalar32_min_max_or(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14778:13: error: invalid storage class for function ‘scalar_min_max_or’ 14778 | static void scalar_min_max_or(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14810:13: error: invalid storage class for function ‘scalar32_min_max_xor’ 14810 | static void scalar32_min_max_xor(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14838:13: error: invalid storage class for function ‘scalar_min_max_xor’ 14838 | static void scalar_min_max_xor(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14868:13: error: invalid storage class for function ‘__scalar32_min_max_lsh’ 14868 | static void __scalar32_min_max_lsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14886:13: error: invalid storage class for function ‘scalar32_min_max_lsh’ 14886 | static void scalar32_min_max_lsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14904:13: error: invalid storage class for function ‘__scalar64_min_max_lsh’ 14904 | static void __scalar64_min_max_lsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14934:13: error: invalid storage class for function ‘scalar_min_max_lsh’ 14934 | static void scalar_min_max_lsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14949:13: error: invalid storage class for function ‘scalar32_min_max_rsh’ 14949 | static void scalar32_min_max_rsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14981:13: error: invalid storage class for function ‘scalar_min_max_rsh’ 14981 | static void scalar_min_max_rsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15015:13: error: invalid storage class for function ‘scalar32_min_max_arsh’ 15015 | static void scalar32_min_max_arsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15038:13: error: invalid storage class for function ‘scalar_min_max_arsh’ 15038 | static void scalar_min_max_arsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15065:13: error: invalid storage class for function ‘is_safe_to_compute_dst_reg_range’ 15065 | static bool is_safe_to_compute_dst_reg_range(struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15109:12: error: invalid storage class for function ‘adjust_scalar_min_max_vals’ 15109 | static int adjust_scalar_min_max_vals(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15206:12: error: invalid storage class for function ‘adjust_reg_min_max_vals’ 15206 | static int adjust_reg_min_max_vals(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15341:12: error: invalid storage class for function ‘check_alu_op’ 15341 | static int check_alu_op(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:15580:13: error: invalid storage class for function ‘find_good_pkt_pointers’ 15580 | static void find_good_pkt_pointers(struct bpf_verifier_state *vstate, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15662:12: error: invalid storage class for function ‘is_scalar_branch_taken’ 15662 | static int is_scalar_branch_taken(struct bpf_reg_state *reg1, struct bpf_reg_state *reg2, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15790:12: error: invalid storage class for function ‘flip_opcode’ 15790 | static int flip_opcode(u32 opcode) | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:15811:12: error: invalid storage class for function ‘is_pkt_ptr_branch_taken’ 15811 | static int is_pkt_ptr_branch_taken(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15858:12: error: invalid storage class for function ‘is_branch_taken’ 15858 | static int is_branch_taken(struct bpf_reg_state *reg1, struct bpf_reg_state *reg2, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15903:11: error: invalid storage class for function ‘rev_opcode’ 15903 | static u8 rev_opcode(u8 opcode) | ^~~~~~~~~~ ../kernel/bpf/verifier.c:15926:13: error: invalid storage class for function ‘regs_refine_cond_op’ 15926 | static void regs_refine_cond_op(struct bpf_reg_state *reg1, struct bpf_reg_state *reg2, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16098:12: error: invalid storage class for function ‘reg_set_min_max’ 16098 | static int reg_set_min_max(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16131:13: error: invalid storage class for function ‘mark_ptr_or_null_reg’ 16131 | static void mark_ptr_or_null_reg(struct bpf_func_state *state, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16181:13: error: invalid storage class for function ‘mark_ptr_or_null_regs’ 16181 | static void mark_ptr_or_null_regs(struct bpf_verifier_state *vstate, u32 regno, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16201:13: error: invalid storage class for function ‘try_match_pkt_pointers’ 16201 | static bool try_match_pkt_pointers(const struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16306:13: error: invalid storage class for function ‘__collect_linked_regs’ 16306 | static void __collect_linked_regs(struct linked_regs *reg_set, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16328:13: error: invalid storage class for function ‘collect_linked_regs’ 16328 | static void collect_linked_regs(struct bpf_verifier_state *vstate, u32 id, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16354:13: error: invalid storage class for function ‘sync_linked_regs’ 16354 | static void sync_linked_regs(struct bpf_verifier_state *vstate, struct bpf_reg_state *known_reg, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16399:12: error: invalid storage class for function ‘check_cond_jmp_op’ 16399 | static int check_cond_jmp_op(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16639:12: error: invalid storage class for function ‘check_ld_imm’ 16639 | static int check_ld_imm(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:16735:13: error: invalid storage class for function ‘may_access_skb’ 16735 | static bool may_access_skb(enum bpf_prog_type type) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16762:12: error: invalid storage class for function ‘check_ld_abs’ 16762 | static int check_ld_abs(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:16832:12: error: invalid storage class for function ‘check_return_code’ 16832 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17032:13: error: invalid storage class for function ‘mark_subprog_changes_pkt_data’ 17032 | static void mark_subprog_changes_pkt_data(struct bpf_verifier_env *env, int off) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17040:13: error: invalid storage class for function ‘mark_subprog_might_sleep’ 17040 | static void mark_subprog_might_sleep(struct bpf_verifier_env *env, int off) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17054:13: error: invalid storage class for function ‘merge_callee_effects’ 17054 | static void merge_callee_effects(struct bpf_verifier_env *env, int t, int w) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17104:13: error: invalid storage class for function ‘mark_prune_point’ 17104 | static void mark_prune_point(struct bpf_verifier_env *env, int idx) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17109:13: error: invalid storage class for function ‘is_prune_point’ 17109 | static bool is_prune_point(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17114:13: error: invalid storage class for function ‘mark_force_checkpoint’ 17114 | static void mark_force_checkpoint(struct bpf_verifier_env *env, int idx) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17119:13: error: invalid storage class for function ‘is_force_checkpoint’ 17119 | static bool is_force_checkpoint(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17124:13: error: invalid storage class for function ‘mark_calls_callback’ 17124 | static void mark_calls_callback(struct bpf_verifier_env *env, int idx) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17129:13: error: invalid storage class for function ‘calls_callback’ 17129 | static bool calls_callback(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17144:12: error: invalid storage class for function ‘push_insn’ 17144 | static int push_insn(int t, int w, int e, struct bpf_verifier_env *env) | ^~~~~~~~~ ../kernel/bpf/verifier.c:17192:12: error: invalid storage class for function ‘visit_func_call_insn’ 17192 | static int visit_func_call_insn(int t, struct bpf_insn *insns, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17224:13: error: invalid storage class for function ‘verifier_inlines_helper_call’ 17224 | static bool verifier_inlines_helper_call(struct bpf_verifier_env *env, s32 imm) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17245:13: error: invalid storage class for function ‘get_call_summary’ 17245 | static bool get_call_summary(struct bpf_verifier_env *env, struct bpf_insn *call, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17360:13: error: invalid storage class for function ‘mark_fastcall_pattern_for_call’ 17360 | static void mark_fastcall_pattern_for_call(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17447:12: error: invalid storage class for function ‘mark_fastcall_patterns’ 17447 | static int mark_fastcall_patterns(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17480:12: error: invalid storage class for function ‘visit_insn’ 17480 | static int visit_insn(int t, struct bpf_verifier_env *env) | ^~~~~~~~~~ ../kernel/bpf/verifier.c:17600:12: error: invalid storage class for function ‘check_cfg’ 17600 | static int check_cfg(struct bpf_verifier_env *env) | ^~~~~~~~~ ../kernel/bpf/verifier.c:17694:12: error: invalid storage class for function ‘check_abnormal_return’ 17694 | static int check_abnormal_return(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17715:12: error: invalid storage class for function ‘check_btf_func_early’ 17715 | static int check_btf_func_early(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17817:12: error: invalid storage class for function ‘check_btf_func’ 17817 | static int check_btf_func(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17892:13: error: invalid storage class for function ‘adjust_btf_func’ 17892 | static void adjust_btf_func(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17908:12: error: invalid storage class for function ‘check_btf_line’ 17908 | static int check_btf_line(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18036:12: error: invalid storage class for function ‘check_core_relo’ 18036 | static int check_core_relo(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18105:12: error: invalid storage class for function ‘check_btf_info_early’ 18105 | static int check_btf_info_early(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18133:12: error: invalid storage class for function ‘check_btf_info’ 18133 | static int check_btf_info(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18161:13: error: invalid storage class for function ‘range_within’ 18161 | static bool range_within(const struct bpf_reg_state *old, | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:18184:13: error: invalid storage class for function ‘check_ids’ 18184 | static bool check_ids(u32 old_id, u32 cur_id, struct bpf_idmap *idmap) | ^~~~~~~~~ ../kernel/bpf/verifier.c:18217:13: error: invalid storage class for function ‘check_scalar_ids’ 18217 | static bool check_scalar_ids(u32 old_id, u32 cur_id, struct bpf_idmap *idmap) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18225:13: error: invalid storage class for function ‘clean_func_state’ 18225 | static void clean_func_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18254:13: error: invalid storage class for function ‘clean_verifier_state’ 18254 | static void clean_verifier_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18299:13: error: invalid storage class for function ‘clean_live_states’ 18299 | static void clean_live_states(struct bpf_verifier_env *env, int insn, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18321:13: error: invalid storage class for function ‘regs_exact’ 18321 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:18337:13: error: invalid storage class for function ‘regsafe’ 18337 | static bool regsafe(struct bpf_verifier_env *env, struct bpf_reg_state *rold, | ^~~~~~~ ../kernel/bpf/verifier.c:18467:19: error: invalid storage class for function ‘unbound_reg_init’ 18467 | static __init int unbound_reg_init(void) | ^~~~~~~~~~~~~~~~ In file included from ../include/uapi/linux/filter.h:9, from ../include/linux/bpf.h:8, from ../include/linux/bpf-cgroup.h:5, from ../kernel/bpf/verifier.c:7: ../include/linux/compiler.h:286:52: error: initializer element is not constant 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:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18473:1: note: in expansion of macro ‘late_initcall’ 18473 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18475:13: error: invalid storage class for function ‘is_stack_all_misc’ 18475 | static bool is_stack_all_misc(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18490:30: error: invalid storage class for function ‘scalar_reg_for_stack’ 18490 | static struct bpf_reg_state *scalar_reg_for_stack(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18502:13: error: invalid storage class for function ‘stacksafe’ 18502 | static bool stacksafe(struct bpf_verifier_env *env, struct bpf_func_state *old, | ^~~~~~~~~ ../kernel/bpf/verifier.c:18634:13: error: invalid storage class for function ‘refsafe’ 18634 | static bool refsafe(struct bpf_verifier_state *old, struct bpf_verifier_state *cur, | ^~~~~~~ ../kernel/bpf/verifier.c:18707:13: error: invalid storage class for function ‘func_states_equal’ 18707 | static bool func_states_equal(struct bpf_verifier_env *env, struct bpf_func_state *old, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18728:13: error: invalid storage class for function ‘reset_idmap_scratch’ 18728 | static void reset_idmap_scratch(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18734:13: error: invalid storage class for function ‘states_equal’ 18734 | static bool states_equal(struct bpf_verifier_env *env, | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:18777:12: error: invalid storage class for function ‘propagate_liveness_reg’ 18777 | static int propagate_liveness_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18810:12: error: invalid storage class for function ‘propagate_liveness’ 18810 | static int propagate_liveness(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18857:12: error: invalid storage class for function ‘propagate_precision’ 18857 | static int propagate_precision(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18913:13: error: invalid storage class for function ‘states_maybe_looping’ 18913 | static bool states_maybe_looping(struct bpf_verifier_state *old, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18931:13: error: invalid storage class for function ‘is_iter_next_insn’ 18931 | static bool is_iter_next_insn(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18994:13: error: invalid storage class for function ‘iter_active_depths_differ’ 18994 | static bool iter_active_depths_differ(struct bpf_verifier_state *old, struct bpf_verifier_state *cur) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19018:12: error: invalid storage class for function ‘is_state_visited’ 19018 | static int is_state_visited(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘is_state_visited’: ../kernel/bpf/verifier.c:19123:55: error: called object ‘func’ is not a function or function pointer 19123 | iter_state = &func(env, iter_reg)->stack[spi].spilled_ptr; | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c:19111:45: warning: variable ‘spi’ set but not used [-Wunused-but-set-variable] 19111 | int spi; | ^~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:19349:13: error: invalid storage class for function ‘reg_type_mismatch_ok’ 19349 | static bool reg_type_mismatch_ok(enum bpf_reg_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19377:13: error: invalid storage class for function ‘reg_type_mismatch’ 19377 | static bool reg_type_mismatch(enum bpf_reg_type src, enum bpf_reg_type prev) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19383:12: error: invalid storage class for function ‘save_aux_ptr_type’ 19383 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19421:12: error: invalid storage class for function ‘do_check’ 19421 | static int do_check(struct bpf_verifier_env *env) | ^~~~~~~~ ../kernel/bpf/verifier.c:19732:12: error: invalid storage class for function ‘find_btf_percpu_datasec’ 19732 | static int find_btf_percpu_datasec(struct btf *btf) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19768:12: error: invalid storage class for function ‘__add_used_btf’ 19768 | static int __add_used_btf(struct bpf_verifier_env *env, struct btf *btf) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19800:12: error: invalid storage class for function ‘__check_pseudo_btf_id’ 19800 | static int __check_pseudo_btf_id(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19883:12: error: invalid storage class for function ‘check_pseudo_btf_id’ 19883 | static int check_pseudo_btf_id(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19918:13: error: invalid storage class for function ‘is_tracing_prog_type’ 19918 | static bool is_tracing_prog_type(enum bpf_prog_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19932:13: error: invalid storage class for function ‘bpf_map_is_cgroup_storage’ 19932 | static bool bpf_map_is_cgroup_storage(struct bpf_map *map) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19938:12: error: invalid storage class for function ‘check_map_prog_compatibility’ 19938 | static int check_map_prog_compatibility(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20049:12: error: invalid storage class for function ‘__add_used_map’ 20049 | static int __add_used_map(struct bpf_verifier_env *env, struct bpf_map *map) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20087:12: error: invalid storage class for function ‘add_used_map’ 20087 | static int add_used_map(struct bpf_verifier_env *env, int fd) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:20108:12: error: invalid storage class for function ‘resolve_pseudo_ldimm64’ 20108 | static int resolve_pseudo_ldimm64(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20251:13: error: invalid storage class for function ‘release_maps’ 20251 | static void release_maps(struct bpf_verifier_env *env) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:20258:13: error: invalid storage class for function ‘release_btfs’ 20258 | static void release_btfs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:20264:13: error: invalid storage class for function ‘convert_pseudo_ld_imm64’ 20264 | static void convert_pseudo_ld_imm64(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20283:13: error: invalid storage class for function ‘adjust_insn_aux_data’ 20283 | static void adjust_insn_aux_data(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20315:13: error: invalid storage class for function ‘adjust_subprog_starts’ 20315 | static void adjust_subprog_starts(struct bpf_verifier_env *env, u32 off, u32 len) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20329:13: error: invalid storage class for function ‘adjust_poke_descs’ 20329 | static void adjust_poke_descs(struct bpf_prog *prog, u32 off, u32 len) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20343:25: error: invalid storage class for function ‘bpf_patch_insn_data’ 20343 | static struct bpf_prog *bpf_patch_insn_data(struct bpf_verifier_env *env, u32 off, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20375:12: error: invalid storage class for function ‘adjust_jmp_off’ 20375 | static int adjust_jmp_off(struct bpf_prog *prog, u32 tgt_idx, u32 delta) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20409:12: error: invalid storage class for function ‘adjust_subprog_starts_after_remove’ 20409 | static int adjust_subprog_starts_after_remove(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20465:12: error: invalid storage class for function ‘bpf_adj_linfo_after_remove’ 20465 | static int bpf_adj_linfo_after_remove(struct bpf_verifier_env *env, u32 off, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20529:12: error: invalid storage class for function ‘verifier_remove_insns’ 20529 | static int verifier_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20567:13: error: invalid storage class for function ‘sanitize_dead_code’ 20567 | static void sanitize_dead_code(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20583:13: error: invalid storage class for function ‘insn_is_cond_jump’ 20583 | static bool insn_is_cond_jump(u8 code) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20597:13: error: invalid storage class for function ‘opt_hard_wire_dead_code_branches’ 20597 | static void opt_hard_wire_dead_code_branches(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20623:12: error: invalid storage class for function ‘opt_remove_dead_code’ 20623 | static int opt_remove_dead_code(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20650:12: error: invalid storage class for function ‘opt_remove_nops’ 20650 | static int opt_remove_nops(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20675:12: error: invalid storage class for function ‘opt_subreg_zext_lo32_rnd_hi32’ 20675 | static int opt_subreg_zext_lo32_rnd_hi32(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20778:12: error: invalid storage class for function ‘convert_ctx_accesses’ 20778 | static int convert_ctx_accesses(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21049:12: error: invalid storage class for function ‘jit_subprogs’ 21049 | static int jit_subprogs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:21312:12: error: invalid storage class for function ‘fixup_call_args’ 21312 | static int fixup_call_args(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21364:13: error: invalid storage class for function ‘specialize_kfunc’ 21364 | static void specialize_kfunc(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21406:13: error: invalid storage class for function ‘__fixup_collection_insert_kfunc’ 21406 | static void __fixup_collection_insert_kfunc(struct bpf_insn_aux_data *insn_aux, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21423:12: error: invalid storage class for function ‘fixup_kfunc_call’ 21423 | static int fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21531:12: error: invalid storage class for function ‘add_hidden_subprog’ 21531 | static int add_hidden_subprog(struct bpf_verifier_env *env, struct bpf_insn *patch, int len) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21560:12: error: invalid storage class for function ‘do_misc_fixups’ 21560 | static int do_misc_fixups(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22487:25: error: invalid storage class for function ‘inline_bpf_loop’ 22487 | static struct bpf_prog *inline_bpf_loop(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22563:13: error: invalid storage class for function ‘is_bpf_loop_call’ 22563 | static bool is_bpf_loop_call(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22579:12: error: invalid storage class for function ‘optimize_bpf_loop’ 22579 | static int optimize_bpf_loop(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22627:12: error: invalid storage class for function ‘remove_fastcall_spills_fills’ 22627 | static int remove_fastcall_spills_fills(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22658:13: error: invalid storage class for function ‘free_states’ 22658 | static void free_states(struct bpf_verifier_env *env) | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:22686:12: error: invalid storage class for function ‘do_check_common’ 22686 | static int do_check_common(struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22841:12: error: invalid storage class for function ‘do_check_subprogs’ 22841 | static int do_check_subprogs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22891:12: error: invalid storage class for function ‘do_check_main’ 22891 | static int do_check_main(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22903:13: error: invalid storage class for function ‘print_verification_stats’ 22903 | static void print_verification_stats(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22936:12: error: invalid storage class for function ‘check_struct_ops_btf_id’ 22936 | static int check_struct_ops_btf_id(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23047:12: error: invalid storage class for function ‘check_attach_modify_return’ 23047 | static int check_attach_modify_return(unsigned long addr, const char *func_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23072:12: error: invalid storage class for function ‘check_non_sleepable_error_inject’ 23072 | static int check_non_sleepable_error_inject(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23454:13: error: invalid storage class for function ‘can_be_sleepable’ 23454 | static bool can_be_sleepable(struct bpf_prog *prog) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23472:12: error: invalid storage class for function ‘check_attach_btf_id’ 23472 | static int check_attach_btf_id(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23575:12: error: invalid storage class for function ‘add_fd_from_fd_array’ 23575 | static int add_fd_from_fd_array(struct bpf_verifier_env *env, int fd) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23602:12: error: invalid storage class for function ‘process_fd_array’ 23602 | static int process_fd_array(struct bpf_verifier_env *env, union bpf_attr *attr, bpfptr_t uattr) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23637:13: error: invalid storage class for function ‘can_fallthrough’ 23637 | static bool can_fallthrough(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23651:13: error: invalid storage class for function ‘can_jump’ 23651 | static bool can_jump(struct bpf_insn *insn) | ^~~~~~~~ ../kernel/bpf/verifier.c:23678:12: error: invalid storage class for function ‘insn_successors’ 23678 | static int insn_successors(struct bpf_prog *prog, u32 idx, u32 succ[2]) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23709:13: error: invalid storage class for function ‘compute_insn_live_regs’ 23709 | static void compute_insn_live_regs(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23846:12: error: invalid storage class for function ‘compute_live_registers’ 23846 | static int compute_live_registers(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24199:1: error: expected declaration or statement at end of input 24199 | } | ^ ../kernel/bpf/verifier.c: At top level: ../kernel/bpf/verifier.c:200:12: warning: ‘release_reference_nomark’ declared ‘static’ but never defined [-Wunused-function] 200 | static int release_reference_nomark(struct bpf_verifier_state *state, int ref_obj_id); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:201:12: warning: ‘release_reference’ used but never defined 201 | static int release_reference(struct bpf_verifier_env *env, int ref_obj_id); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:202:13: warning: ‘invalidate_non_owning_refs’ used but never defined 202 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:203:13: warning: ‘in_rbtree_lock_required_cb’ used but never defined 203 | static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:204:12: warning: ‘ref_set_non_owning’ used but never defined 204 | static int ref_set_non_owning(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:206:13: warning: ‘specialize_kfunc’ used but never defined 206 | static void specialize_kfunc(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:208:13: warning: ‘is_trusted_reg’ used but never defined 208 | static bool is_trusted_reg(const struct bpf_reg_state *reg); | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:505:13: warning: ‘is_sync_callback_calling_kfunc’ used but never defined 505 | static bool is_sync_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:506:13: warning: ‘is_async_callback_calling_kfunc’ used but never defined 506 | static bool is_async_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:507:13: warning: ‘is_callback_calling_kfunc’ used but never defined 507 | static bool is_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:508:13: warning: ‘is_bpf_throw_kfunc’ used but never defined 508 | static bool is_bpf_throw_kfunc(struct bpf_insn *insn); | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:510:13: warning: ‘is_bpf_wq_set_callback_impl_kfunc’ used but never defined 510 | static bool is_bpf_wq_set_callback_impl_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1016:13: warning: ‘in_rcu_cs’ used but never defined 1016 | static bool in_rcu_cs(struct bpf_verifier_env *env); | ^~~~~~~~~ ../kernel/bpf/verifier.c:1018:13: warning: ‘is_kfunc_rcu_protected’ used but never defined 1018 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta); | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4144:13: warning: ‘calls_callback’ used but never defined 4144 | static bool calls_callback(struct bpf_verifier_env *env, int insn_idx); | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23933:5: warning: ‘bpf_check’ defined but not used [-Wunused-function] 23933 | int bpf_check(struct bpf_prog **prog, union bpf_attr *attr, bpfptr_t uattr, __u32 uattr_size) | ^~~~~~~~~ ../kernel/bpf/verifier.c:21364:13: warning: ‘specialize_kfunc’ defined but not used [-Wunused-function] 21364 | static void specialize_kfunc(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12664:13: warning: ‘is_rbtree_lock_required_kfunc’ defined but not used [-Wunused-function] 12664 | static bool is_rbtree_lock_required_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12658:13: warning: ‘is_callback_calling_kfunc’ defined but not used [-Wunused-function] 12658 | static bool is_callback_calling_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11802:13: warning: ‘is_kfunc_rcu_protected’ defined but not used [-Wunused-function] 11802 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10606:12: warning: ‘set_callee_state’ defined but not used [-Wunused-function] 10606 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10579:5: warning: ‘map_set_for_each_callback_args’ defined but not used [-Wunused-function] 10579 | int map_set_for_each_callback_args(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10228:13: warning: ‘invalidate_non_owning_refs’ defined but not used [-Wunused-function] 10228 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/verifier.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:461: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'offset' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'skip_size' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'fixup_data' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'node' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'offset' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'sender_uaddr' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'length' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'node' not described in 'binder_sg_copy' ../drivers/android/binder.c:4013: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' In file included from ../include/linux/string.h:392, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/coda/upcall.c: In function ‘venus_setattr’: ../fs/coda/upcall.c:115:27: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable] 115 | union outputArgs *outp; | ^~~~ ../fs/coda/upcall.c: In function ‘venus_close’: ../fs/coda/upcall.c:164:27: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable] 164 | union outputArgs *outp; | ^~~~ ../fs/coda/upcall.c: In function ‘venus_rename’: ../fs/coda/upcall.c:238:27: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable] 238 | union outputArgs *outp; | ^~~~ ../fs/coda/upcall.c: In function ‘venus_rmdir’: ../fs/coda/upcall.c:306:27: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable] 306 | union outputArgs *outp; | ^~~~ ../fs/coda/upcall.c: In function ‘venus_remove’: ../fs/coda/upcall.c:329:27: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable] 329 | union outputArgs *outp; | ^~~~ ../fs/coda/upcall.c: In function ‘venus_link’: ../fs/coda/upcall.c:383:27: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable] 383 | union outputArgs *outp; | ^~~~ ../fs/coda/upcall.c: In function ‘venus_symlink’: ../fs/coda/upcall.c:410:27: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable] 410 | union outputArgs *outp; | ^~~~ ../fs/coda/upcall.c: In function ‘venus_fsync’: ../fs/coda/upcall.c:443:27: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable] 443 | union outputArgs *outp; | ^~~~ ../fs/coda/upcall.c: In function ‘venus_access’: ../fs/coda/upcall.c:459:27: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable] 459 | union outputArgs *outp; | ^~~~ ../fs/coda/upcall.c: In function ‘venus_access_intent’: ../fs/coda/upcall.c:577:27: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable] 577 | union outputArgs *outp; | ^~~~ ../drivers/video/fbdev/i810/i810_main.c: In function ‘decode_var’: ../drivers/video/fbdev/i810/i810_main.c:1140:32: warning: variable ‘vyres’ set but not used [-Wunused-but-set-variable] 1140 | u32 xres, yres, vxres, vyres; | ^~~~~ ../drivers/video/fbdev/i810/i810_accel.c:60: warning: Function parameter or struct member 'info' not described in 'wait_for_space' ../drivers/video/fbdev/i810/i810_accel.c:60: warning: Excess function parameter 'par' description in 'wait_for_space' ../drivers/video/fbdev/i810/i810_accel.c:91: warning: Function parameter or struct member 'info' not described in 'wait_for_engine_idle' ../drivers/video/fbdev/i810/i810_accel.c:91: warning: Excess function parameter 'par' description in 'wait_for_engine_idle' ../drivers/video/fbdev/i810/i810_accel.c:164: warning: Function parameter or struct member 'info' not described in 'source_copy_blit' ../drivers/video/fbdev/i810/i810_accel.c:164: warning: Excess function parameter 'from' description in 'source_copy_blit' ../drivers/video/fbdev/i810/i810_accel.c:164: warning: Excess function parameter 'where' description in 'source_copy_blit' ../drivers/video/fbdev/i810/i810_accel.c:164: warning: Excess function parameter 'par' description in 'source_copy_blit' ../drivers/video/fbdev/i810/i810_accel.c:198: warning: Function parameter or struct member 'info' not described in 'color_blit' ../drivers/video/fbdev/i810/i810_accel.c:198: warning: Excess function parameter 'where' description in 'color_blit' ../drivers/video/fbdev/i810/i810_accel.c:198: warning: Excess function parameter 'par' description in 'color_blit' ../drivers/video/fbdev/i810/i810_accel.c:239: warning: Function parameter or struct member 'info' not described in 'mono_src_copy_imm_blit' ../drivers/video/fbdev/i810/i810_accel.c:239: warning: Excess function parameter 'par' description in 'mono_src_copy_imm_blit' ../drivers/video/fbdev/i810/i810_accel.c:436: warning: Function parameter or struct member 'info' not described in 'i810fb_init_ringbuffer' ../drivers/video/fbdev/i810/i810_accel.c:436: warning: Excess function parameter 'par' description in 'i810fb_init_ringbuffer' ../drivers/video/fbdev/i810/i810_gtf.c:126: warning: Function parameter or struct member 'xres' not described in 'i810fb_encode_registers' ../drivers/video/fbdev/i810/i810_gtf.c:126: warning: Function parameter or struct member 'yres' not described in 'i810fb_encode_registers' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:197: warning: Excess struct member 'buf' description in 'panthor_fw_section' ../drivers/gpu/drm/panthor/panthor_fw.c:197: warning: Excess struct member 'size' description in 'panthor_fw_section' ../drivers/gpu/drm/panthor/panthor_fw.c:267: warning: Excess struct member 'ping_work' description in 'panthor_fw' ../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'runnable' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'idle' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'waiting' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'has_ref' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'in_progress' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'stopped_groups' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'mem' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'input' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'output' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'input_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'output_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'gpu_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'ref' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'gt' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'sync64' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'bo' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'offset' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'kmap' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'lock' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'id' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'last_fence' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'in_flight_jobs' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'slots' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'slot_count' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:699: warning: Excess struct member 'data' description in 'panthor_group' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'size' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'latest_flush' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'end' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'mask' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'slot' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:1762: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:1762: warning: Function parameter or struct member 'events' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:2655: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../fs/ufs/inode.c:376: warning: Function parameter or struct member 'inode' not described in 'ufs_getfrag_block' ../fs/ufs/inode.c:376: warning: Function parameter or struct member 'fragment' not described in 'ufs_getfrag_block' ../fs/ufs/inode.c:376: warning: Function parameter or struct member 'bh_result' not described in 'ufs_getfrag_block' ../fs/ufs/inode.c:376: warning: Function parameter or struct member 'create' not described in 'ufs_getfrag_block' ../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 378 | 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:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 434 | 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:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 476 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ make[3]: *** [../scripts/Makefile.build:461: kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/hwmon/aht10.c:224: warning: Function parameter or struct member 'data' not described in 'aht10_interval_write' ../drivers/hwmon/aht10.c:224: warning: Function parameter or struct member 'val' not described in 'aht10_interval_write' ../drivers/hwmon/aht10.c:235: warning: Function parameter or struct member 'data' not described in 'aht10_interval_read' ../drivers/hwmon/aht10.c:235: warning: Function parameter or struct member 'val' not described in 'aht10_interval_read' ../drivers/hwmon/aht10.c:244: warning: Function parameter or struct member 'data' not described in 'aht10_temperature1_read' ../drivers/hwmon/aht10.c:244: warning: Function parameter or struct member 'val' not described in 'aht10_temperature1_read' ../drivers/hwmon/aht10.c:259: warning: Function parameter or struct member 'data' not described in 'aht10_humidity1_read' ../drivers/hwmon/aht10.c:259: warning: Function parameter or struct member 'val' not described in 'aht10_humidity1_read' ../drivers/hid/hid-steam.c: In function ‘steam_client_ll_close’: ../drivers/hid/hid-steam.c:1153:14: warning: variable ‘connected’ set but not used [-Wunused-but-set-variable] 1153 | bool connected; | ^~~~~~~~~ In file included from ../include/linux/string.h:392, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/gfs2/glock.c:1266: warning: Function parameter or struct member 'ip' not described in '__gfs2_holder_init' ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' In file included from ../include/linux/string.h:392, 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:992: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:3676: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:3842: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:3924: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:4680: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:4751: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:4820: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/gfs2/super.c:735: warning: Function parameter or struct member 'who' not described in 'gfs2_freeze_super' ../fs/gfs2/super.c:803: warning: Function parameter or struct member 'who' not described in 'gfs2_thaw_super' ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2011: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 In file included from ../include/trace/define_trace.h:119, 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:1136:48: note: in expansion of macro ‘cpu_possible_mask’ 1136 | #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:55:45: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 55 | "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:99:9: note: in expansion of macro ‘_BUG_FLAGS’ 99 | _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ | ^~~~~~~~~~ ../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:120: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:55:45: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 55 | "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:99:9: note: in expansion of macro ‘_BUG_FLAGS’ 99 | _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ | ^~~~~~~~~~ ../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); | ^~~~~~~~~~~~ ../ipc/sem.c:647: warning: expecting prototype for perform_atomic_semop[_slow](). Prototype was for perform_atomic_semop_slow() instead ../security/ipe/hooks.c:55: warning: Function parameter or struct member '__always_unused' not described in 'ipe_mmap_file' ../security/ipe/hooks.c:55: warning: Excess function parameter 'reqprot' description in 'ipe_mmap_file' ../security/ipe/hooks.c:83: warning: Function parameter or struct member '__always_unused' not described in 'ipe_file_mprotect' ../security/ipe/hooks.c:83: warning: Excess function parameter 'reqprot' description in 'ipe_file_mprotect' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 207. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 207. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 207. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 207. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 207. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 207. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 207. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 207. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 207. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 207. ../security/landlock/ruleset.c:207: warning: Function parameter or struct member '' not described in 'insert_rule' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 207. Use of uninitialized value $parameterlist[2] in join or string at ../scripts/kernel-doc line 1724, line 207. ../security/landlock/ruleset.c:207: warning: Excess function parameter 'layers' description in 'insert_rule' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 686. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 686. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 686. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 686. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 686. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 686. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 686. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 686. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 686. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 686. ../security/landlock/ruleset.c:686: warning: Function parameter or struct member '' not described in 'landlock_init_layer_masks' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 686. Use of uninitialized value $parameterlist[2] in join or string at ../scripts/kernel-doc line 1724, line 686. ../security/landlock/ruleset.c:686: warning: Excess function parameter 'layer_masks' description in 'landlock_init_layer_masks' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 765. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 765. ../security/landlock/fs.c:765: warning: Function parameter or struct member '' not described in 'is_access_to_paths_allowed' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 765. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 765. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1724, line 765. Use of uninitialized value $parameterlist[7] in join or string at ../scripts/kernel-doc line 1724, line 765. ../security/landlock/fs.c:765: warning: Excess function parameter 'layer_masks_parent1' description in 'is_access_to_paths_allowed' ../security/landlock/fs.c:765: warning: Excess function parameter 'layer_masks_parent2' description in 'is_access_to_paths_allowed' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 1035. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 1035. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 1035. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 1035. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 1035. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 1035. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 1035. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 1035. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 1035. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 1035. ../security/landlock/fs.c:1035: warning: Function parameter or struct member '' not described in 'collect_domain_accesses' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 1035. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1724, line 1035. ../security/landlock/fs.c:1035: warning: Excess function parameter 'layer_masks_dom' description in 'collect_domain_accesses' In file included from ../include/linux/string.h:392, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'zone' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'gfp_mask' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'safe_needed' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'ca' not described in 'add_rtree_block' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'gfp_mask' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'safe_needed' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'ca' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'start' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'end' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'zone' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'clear_nosave_free' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'bm' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'gfp_mask' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'safe_needed' not described in 'memory_bm_create' ../kernel/power/snapshot.c:728: warning: Function parameter or struct member 'clear_nosave_free' not described in 'memory_bm_free' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bm' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'pfn' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'addr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bit_nr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'start_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'end_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'zone' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'pfn' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'zone' not described in 'saveable_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'pfn' not described in 'saveable_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 'dst' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 's_page' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'x' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'multiplier' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'base' not described in '__fraction' ../kernel/power/snapshot.c:1994: warning: Function parameter or struct member 'nr_highmem' not described in 'count_pages_for_highmem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_pages' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_highmem' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2035: warning: Function parameter or struct member 'safe_needed' not described in 'get_highmem_buffer' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'bm' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'nr_highmem' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'copy_bm' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_pages' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_highmem' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2305: warning: Function parameter or struct member 'bm' not described in 'mark_unsafe_pages' ../kernel/power/snapshot.c:2340: warning: Function parameter or struct member 'info' not described in 'load_header' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'page' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'ca' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'bm' not described in 'get_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'ca' not described in 'get_buffer' ../kernel/power/snapshot.c:2858: warning: Function parameter or struct member 'handle' not described in 'snapshot_write_finalize' ../arch/x86/kernel/apic/apic.c:2140: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2140: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/gpu/drm/scheduler/sched_main.c:397: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done' ../drivers/watchdog/pcwd_usb.c:586: warning: Function parameter or struct member 'usb_pcwd' not described in 'usb_pcwd_delete' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'id' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:770: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_disconnect' In file included from ../include/linux/kernel.h:31, 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:479:25: note: in definition of macro ‘printk_index_wrap’ 479 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:560:9: note: in expansion of macro ‘printk’ 560 | 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:560:16: note: in expansion of macro ‘KERN_WARNING’ 560 | 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:479:25: note: in definition of macro ‘printk_index_wrap’ 479 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:560:9: note: in expansion of macro ‘printk’ 560 | 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:560:16: note: in expansion of macro ‘KERN_WARNING’ 560 | 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) | ^~~~~~~~~~~~~~ In file included from ../include/linux/string.h:392, 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:9250: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../kernel/audit.c: In function ‘audit_log_vformat’: ../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); | ^~~ ../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); | ^~~ ../kernel/kprobes.c:142: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424: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:392, 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/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ^~~ ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'offset' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'skip_size' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'fixup_data' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'node' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'offset' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'sender_uaddr' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'length' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'node' not described in 'binder_sg_copy' ../drivers/android/binder.c:4013: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 378 | 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:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 434 | 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:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 476 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' In file included from ../include/linux/string.h:392, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../fs/gfs2/glock.c:1266: warning: Function parameter or struct member 'ip' not described in '__gfs2_holder_init' ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ In file included from ../include/linux/string.h:392, 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:992: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:3676: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:3842: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:3924: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:4680: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:4751: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:4820: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/hid/hid-steam.c: In function ‘steam_client_ll_close’: ../drivers/hid/hid-steam.c:1153:14: warning: variable ‘connected’ set but not used [-Wunused-but-set-variable] 1153 | bool connected; | ^~~~~~~~~ ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' In file included from ../include/trace/define_trace.h:119, 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:1136:48: note: in expansion of macro ‘cpu_possible_mask’ 1136 | #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:55:45: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 55 | "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:99:9: note: in expansion of macro ‘_BUG_FLAGS’ 99 | _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ | ^~~~~~~~~~ ../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:120: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:55:45: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 55 | "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:99:9: note: in expansion of macro ‘_BUG_FLAGS’ 99 | _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ | ^~~~~~~~~~ ../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); | ^~~~~~~~~~~~ ../ipc/sem.c:647: warning: expecting prototype for perform_atomic_semop[_slow](). Prototype was for perform_atomic_semop_slow() instead Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 207. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 207. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 207. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 207. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 207. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 207. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 207. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 207. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 207. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 207. ../security/landlock/ruleset.c:207: warning: Function parameter or struct member '' not described in 'insert_rule' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 207. Use of uninitialized value $parameterlist[2] in join or string at ../scripts/kernel-doc line 1724, line 207. ../security/landlock/ruleset.c:207: warning: Excess function parameter 'layers' description in 'insert_rule' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 686. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 686. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 686. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 686. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 686. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 686. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 686. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 686. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 686. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 686. ../security/landlock/ruleset.c:686: warning: Function parameter or struct member '' not described in 'landlock_init_layer_masks' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 686. Use of uninitialized value $parameterlist[2] in join or string at ../scripts/kernel-doc line 1724, line 686. ../security/landlock/ruleset.c:686: warning: Excess function parameter 'layer_masks' description in 'landlock_init_layer_masks' ../security/ipe/hooks.c:55: warning: Function parameter or struct member '__always_unused' not described in 'ipe_mmap_file' ../security/ipe/hooks.c:55: warning: Excess function parameter 'reqprot' description in 'ipe_mmap_file' ../security/ipe/hooks.c:83: warning: Function parameter or struct member '__always_unused' not described in 'ipe_file_mprotect' ../security/ipe/hooks.c:83: warning: Excess function parameter 'reqprot' description in 'ipe_file_mprotect' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 765. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 765. ../security/landlock/fs.c:765: warning: Function parameter or struct member '' not described in 'is_access_to_paths_allowed' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 765. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 765. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 765. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 765. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 765. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1724, line 765. Use of uninitialized value $parameterlist[7] in join or string at ../scripts/kernel-doc line 1724, line 765. ../security/landlock/fs.c:765: warning: Excess function parameter 'layer_masks_parent1' description in 'is_access_to_paths_allowed' ../security/landlock/fs.c:765: warning: Excess function parameter 'layer_masks_parent2' description in 'is_access_to_paths_allowed' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1450, line 1035. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 1035. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1402, line 1035. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1506, line 1035. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1534, line 1035. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1544, line 1035. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1544, line 1035. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1545, line 1035. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1547, line 1035. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1548, line 1035. ../security/landlock/fs.c:1035: warning: Function parameter or struct member '' not described in 'collect_domain_accesses' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1563, line 1035. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1724, line 1035. ../security/landlock/fs.c:1035: warning: Excess function parameter 'layer_masks_dom' description in 'collect_domain_accesses' In file included from ../include/linux/string.h:392, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'zone' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'gfp_mask' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'safe_needed' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'ca' not described in 'add_rtree_block' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'gfp_mask' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'safe_needed' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'ca' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'start' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'end' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'zone' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'clear_nosave_free' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'bm' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'gfp_mask' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'safe_needed' not described in 'memory_bm_create' ../kernel/power/snapshot.c:728: warning: Function parameter or struct member 'clear_nosave_free' not described in 'memory_bm_free' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bm' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'pfn' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'addr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bit_nr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'start_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'end_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'zone' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'pfn' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'zone' not described in 'saveable_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'pfn' not described in 'saveable_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 'dst' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 's_page' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'x' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'multiplier' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'base' not described in '__fraction' ../kernel/power/snapshot.c:1994: warning: Function parameter or struct member 'nr_highmem' not described in 'count_pages_for_highmem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_pages' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_highmem' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2035: warning: Function parameter or struct member 'safe_needed' not described in 'get_highmem_buffer' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'bm' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'nr_highmem' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'copy_bm' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_pages' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_highmem' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2305: warning: Function parameter or struct member 'bm' not described in 'mark_unsafe_pages' ../kernel/power/snapshot.c:2340: warning: Function parameter or struct member 'info' not described in 'load_header' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'page' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'ca' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'bm' not described in 'get_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'ca' not described in 'get_buffer' ../kernel/power/snapshot.c:2858: warning: Function parameter or struct member 'handle' not described in 'snapshot_write_finalize' ../arch/x86/kernel/apic/apic.c:2140: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2140: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/gpu/drm/scheduler/sched_main.c:397: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done' ../drivers/watchdog/pcwd_usb.c:586: warning: Function parameter or struct member 'usb_pcwd' not described in 'usb_pcwd_delete' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'id' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:770: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_disconnect' In file included from ../include/linux/string.h:392, 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:9250: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/audit.c: In function ‘audit_log_vformat’: ../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); | ^~~ ../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); | ^~~ ../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../kernel/kprobes.c:142: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' In file included from ../include/linux/kernel.h:31, 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:479:25: note: in definition of macro ‘printk_index_wrap’ 479 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:560:9: note: in expansion of macro ‘printk’ 560 | 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:560:16: note: in expansion of macro ‘KERN_WARNING’ 560 | 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:479:25: note: in definition of macro ‘printk_index_wrap’ 479 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:560:9: note: in expansion of macro ‘printk’ 560 | 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:560:16: note: in expansion of macro ‘KERN_WARNING’ 560 | 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) | ^~~~~~~~~~~~~~ In file included from ../include/linux/string.h:392, 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/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424: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:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'offset' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'skip_size' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'fixup_data' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'node' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'offset' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'sender_uaddr' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'length' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'node' not described in 'binder_sg_copy' ../drivers/android/binder.c:4013: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 378 | 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:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 434 | 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:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 476 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:4835:12: error: invalid storage class for function ‘mark_chain_precision_batch’ 4835 | static int mark_chain_precision_batch(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4840:13: error: invalid storage class for function ‘is_spillable_regtype’ 4840 | static bool is_spillable_regtype(enum bpf_reg_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4868:13: error: invalid storage class for function ‘register_is_null’ 4868 | static bool register_is_null(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4874:13: error: invalid storage class for function ‘is_reg_const’ 4874 | static bool is_reg_const(struct bpf_reg_state *reg, bool subreg32) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:4881:12: error: invalid storage class for function ‘reg_const_value’ 4881 | static u64 reg_const_value(struct bpf_reg_state *reg, bool subreg32) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4886:13: error: invalid storage class for function ‘__is_pointer_value’ 4886 | static bool __is_pointer_value(bool allow_ptr_leaks, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4895:13: error: invalid storage class for function ‘assign_scalar_id_before_mov’ 4895 | static void assign_scalar_id_before_mov(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4920:13: error: invalid storage class for function ‘copy_register_state’ 4920 | static void copy_register_state(struct bpf_reg_state *dst, const struct bpf_reg_state *src) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4930:13: error: invalid storage class for function ‘save_register_state’ 4930 | static void save_register_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4949:13: error: invalid storage class for function ‘is_bpf_st_mem’ 4949 | static bool is_bpf_st_mem(struct bpf_insn *insn) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4954:12: error: invalid storage class for function ‘get_reg_width’ 4954 | static int get_reg_width(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4960:13: error: invalid storage class for function ‘check_fastcall_stack_contract’ 4960 | static void check_fastcall_stack_contract(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4987:12: error: invalid storage class for function ‘check_stack_write_fixed_off’ 4987 | static int check_stack_write_fixed_off(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5132:12: error: invalid storage class for function ‘check_stack_write_var_off’ 5132 | static int check_stack_write_var_off(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5250:13: error: invalid storage class for function ‘mark_reg_stack_read’ 5250 | static void mark_reg_stack_read(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5291:12: error: invalid storage class for function ‘check_stack_read_fixed_off’ 5291 | static int check_stack_read_fixed_off(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5425:12: error: invalid storage class for function ‘check_stack_range_initialized’ 5425 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5431:30: error: invalid storage class for function ‘reg_state’ 5431 | static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~ ../kernel/bpf/verifier.c:5449:12: error: invalid storage class for function ‘check_stack_read_var_off’ 5449 | static int check_stack_read_var_off(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_stack_read_var_off’: ../kernel/bpf/verifier.c:5454:44: error: called object ‘func’ is not a function or function pointer 5454 | struct bpf_func_state *ptr_state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c:5460:15: error: implicit declaration of function ‘check_stack_range_initialized’ [-Wimplicit-function-declaration] 5460 | err = check_stack_range_initialized(env, ptr_regno, off, size, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:5481:12: error: invalid storage class for function ‘check_stack_read’ 5481 | static int check_stack_read(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_stack_read’: ../kernel/bpf/verifier.c:5486:40: error: called object ‘func’ is not a function or function pointer 5486 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:5538:12: error: invalid storage class for function ‘check_stack_write’ 5538 | static int check_stack_write(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_stack_write’: ../kernel/bpf/verifier.c:5543:40: error: called object ‘func’ is not a function or function pointer 5543 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:5561:12: error: invalid storage class for function ‘check_map_access_type’ 5561 | static int check_map_access_type(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5584:12: error: invalid storage class for function ‘__check_mem_access’ 5584 | static int __check_mem_access(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5620:12: error: invalid storage class for function ‘check_mem_region_access’ 5620 | static int check_mem_region_access(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5675:12: error: invalid storage class for function ‘__check_ptr_off_reg’ 5675 | static int __check_ptr_off_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5707:12: error: invalid storage class for function ‘check_ptr_off_reg’ 5707 | static int check_ptr_off_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5713:12: error: invalid storage class for function ‘map_kptr_match_type’ 5713 | static int map_kptr_match_type(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5789:13: error: invalid storage class for function ‘in_sleepable’ 5789 | static bool in_sleepable(struct bpf_verifier_env *env) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:5798:13: error: invalid storage class for function ‘in_rcu_cs’ 5798 | static bool in_rcu_cs(struct bpf_verifier_env *env) | ^~~~~~~~~ ../kernel/bpf/verifier.c:5822:13: error: invalid storage class for function ‘rcu_protected_object’ 5822 | static bool rcu_protected_object(const struct btf *btf, u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5829:27: error: invalid storage class for function ‘kptr_pointee_btf_record’ 5829 | static struct btf_record *kptr_pointee_btf_record(struct btf_field *kptr_field) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5842:13: error: invalid storage class for function ‘rcu_safe_kptr’ 5842 | static bool rcu_safe_kptr(const struct btf_field *field) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5850:12: error: invalid storage class for function ‘btf_ld_kptr_type’ 5850 | static u32 btf_ld_kptr_type(struct bpf_verifier_env *env, struct btf_field *kptr_field) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5873:12: error: invalid storage class for function ‘mark_uptr_ld_reg’ 5873 | static int mark_uptr_ld_reg(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5889:12: error: invalid storage class for function ‘check_map_kptr_access’ 5889 | static int check_map_kptr_access(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5950:12: error: invalid storage class for function ‘check_map_access’ 5950 | static int check_map_access(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6018:13: error: invalid storage class for function ‘may_access_direct_pkt_data’ 6018 | static bool may_access_direct_pkt_data(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6060:12: error: invalid storage class for function ‘check_packet_access’ 6060 | static int check_packet_access(struct bpf_verifier_env *env, u32 regno, int off, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6103:12: error: invalid storage class for function ‘check_ctx_access’ 6103 | static int check_ctx_access(struct bpf_verifier_env *env, int insn_idx, int off, int size, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6135:12: error: invalid storage class for function ‘check_flow_keys_access’ 6135 | static int check_flow_keys_access(struct bpf_verifier_env *env, int off, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6147:12: error: invalid storage class for function ‘check_sock_access’ 6147 | static int check_sock_access(struct bpf_verifier_env *env, int insn_idx, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6192:13: error: invalid storage class for function ‘is_pointer_value’ 6192 | static bool is_pointer_value(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6197:13: error: invalid storage class for function ‘is_ctx_reg’ 6197 | static bool is_ctx_reg(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~~ ../kernel/bpf/verifier.c:6204:13: error: invalid storage class for function ‘is_sk_reg’ 6204 | static bool is_sk_reg(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~ ../kernel/bpf/verifier.c:6211:13: error: invalid storage class for function ‘is_pkt_reg’ 6211 | static bool is_pkt_reg(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~~ ../kernel/bpf/verifier.c:6218:13: error: invalid storage class for function ‘is_flow_key_reg’ 6218 | static bool is_flow_key_reg(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6226:13: error: invalid storage class for function ‘is_arena_reg’ 6226 | static bool is_arena_reg(struct bpf_verifier_env *env, int regno) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:6236:13: error: invalid storage class for function ‘atomic_ptr_type_ok’ 6236 | static bool atomic_ptr_type_ok(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6262:13: error: invalid storage class for function ‘is_trusted_reg’ 6262 | static bool is_trusted_reg(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6286:13: error: invalid storage class for function ‘is_rcu_reg’ 6286 | static bool is_rcu_reg(const struct bpf_reg_state *reg) | ^~~~~~~~~~ ../kernel/bpf/verifier.c:6291:13: error: invalid storage class for function ‘clear_trusted_flags’ 6291 | static void clear_trusted_flags(enum bpf_type_flag *flag) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6296:12: error: invalid storage class for function ‘check_pkt_ptr_alignment’ 6296 | static int check_pkt_ptr_alignment(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6331:12: error: invalid storage class for function ‘check_generic_ptr_alignment’ 6331 | static int check_generic_ptr_alignment(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6355:12: error: invalid storage class for function ‘check_ptr_alignment’ 6355 | static int check_ptr_alignment(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6410:29: error: invalid storage class for function ‘bpf_enable_priv_stack’ 6410 | static enum priv_stack_mode bpf_enable_priv_stack(struct bpf_prog *prog) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6438:12: error: invalid storage class for function ‘round_up_stack_depth’ 6438 | static int round_up_stack_depth(struct bpf_verifier_env *env, int stack_depth) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6455:12: error: invalid storage class for function ‘check_max_stack_depth_subprog’ 6455 | static int check_max_stack_depth_subprog(struct bpf_verifier_env *env, int idx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6616:12: error: invalid storage class for function ‘check_max_stack_depth’ 6616 | static int check_max_stack_depth(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6673:12: error: invalid storage class for function ‘__check_buffer_access’ 6673 | static int __check_buffer_access(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6697:12: error: invalid storage class for function ‘check_tp_buffer_access’ 6697 | static int check_tp_buffer_access(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6713:12: error: invalid storage class for function ‘check_buffer_access’ 6713 | static int check_buffer_access(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6733:13: error: invalid storage class for function ‘zext_32_to_64’ 6733 | static void zext_32_to_64(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6742:13: error: invalid storage class for function ‘coerce_reg_to_size’ 6742 | static void coerce_reg_to_size(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6771:13: error: invalid storage class for function ‘set_sext64_default_val’ 6771 | static void set_sext64_default_val(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6790:13: error: invalid storage class for function ‘coerce_reg_to_size_sx’ 6790 | static void coerce_reg_to_size_sx(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6849:13: error: invalid storage class for function ‘set_sext32_default_val’ 6849 | static void set_sext32_default_val(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6864:13: error: invalid storage class for function ‘coerce_subreg_to_size_sx’ 6864 | static void coerce_subreg_to_size_sx(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6914:13: error: invalid storage class for function ‘bpf_map_is_rdonly’ 6914 | static bool bpf_map_is_rdonly(const struct bpf_map *map) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6934:12: error: invalid storage class for function ‘bpf_map_direct_read’ 6934 | static int bpf_map_direct_read(struct bpf_map *map, int off, int size, u64 *val, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7036:13: error: invalid storage class for function ‘type_is_rcu’ 7036 | static bool type_is_rcu(struct bpf_verifier_env *env, | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:7047:13: error: invalid storage class for function ‘type_is_rcu_or_null’ 7047 | static bool type_is_rcu_or_null(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7058:13: error: invalid storage class for function ‘type_is_trusted’ 7058 | static bool type_is_trusted(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7071:13: error: invalid storage class for function ‘type_is_trusted_or_null’ 7071 | static bool type_is_trusted_or_null(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7081:12: error: invalid storage class for function ‘check_ptr_to_btf_access’ 7081 | static int check_ptr_to_btf_access(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7231:12: error: invalid storage class for function ‘check_ptr_to_map_access’ 7231 | static int check_ptr_to_map_access(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7297:12: error: invalid storage class for function ‘check_stack_slot_within_bounds’ 7297 | static int check_stack_slot_within_bounds(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7319:12: error: invalid storage class for function ‘check_stack_access_within_bounds’ 7319 | static int check_stack_access_within_bounds( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_stack_access_within_bounds’: ../kernel/bpf/verifier.c:7326:40: error: called object ‘func’ is not a function or function pointer 7326 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:7379:13: error: invalid storage class for function ‘get_func_retval_range’ 7379 | static bool get_func_retval_range(struct bpf_prog *prog, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7396:12: error: invalid storage class for function ‘check_mem_access’ 7396 | static int check_mem_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7645:12: error: invalid storage class for function ‘save_aux_ptr_type’ 7645 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7648:12: error: invalid storage class for function ‘check_load_mem’ 7648 | static int check_load_mem(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_load_mem’: ../kernel/bpf/verifier.c:7674:22: error: implicit declaration of function ‘save_aux_ptr_type’ [-Wimplicit-function-declaration] 7674 | err = err ?: save_aux_ptr_type(env, src_reg_type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:7681:12: error: invalid storage class for function ‘check_store_reg’ 7681 | static int check_store_reg(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7709:12: error: invalid storage class for function ‘check_atomic_rmw’ 7709 | static int check_atomic_rmw(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7798:12: error: invalid storage class for function ‘check_atomic_load’ 7798 | static int check_atomic_load(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7817:12: error: invalid storage class for function ‘check_atomic_store’ 7817 | static int check_atomic_store(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7836:12: error: invalid storage class for function ‘check_atomic’ 7836 | static int check_atomic(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:7881:12: error: invalid storage class for function ‘check_stack_range_initialized’ 7881 | static int check_stack_range_initialized( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_stack_range_initialized’: ../kernel/bpf/verifier.c:7887:40: error: called object ‘func’ is not a function or function pointer 7887 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:8027:12: error: invalid storage class for function ‘check_helper_mem_access’ 8027 | static int check_helper_mem_access(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8124:12: error: invalid storage class for function ‘check_mem_size_reg’ 8124 | static int check_mem_size_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8174:12: error: invalid storage class for function ‘check_mem_reg’ 8174 | static int check_mem_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8202:12: error: invalid storage class for function ‘check_kfunc_mem_size_reg’ 8202 | static int check_kfunc_mem_size_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8257:12: error: invalid storage class for function ‘process_spin_lock’ 8257 | static int process_spin_lock(struct bpf_verifier_env *env, int regno, int flags) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8373:12: error: invalid storage class for function ‘process_timer_func’ 8373 | static int process_timer_func(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8410:12: error: invalid storage class for function ‘process_wq_func’ 8410 | static int process_wq_func(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8427:12: error: invalid storage class for function ‘process_kptr_func’ 8427 | static int process_kptr_func(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8500:12: error: invalid storage class for function ‘process_dynptr_func’ 8500 | static int process_dynptr_func(struct bpf_verifier_env *env, int regno, int insn_idx, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8580:12: error: invalid storage class for function ‘iter_ref_obj_id’ 8580 | static u32 iter_ref_obj_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int spi) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘iter_ref_obj_id’: ../kernel/bpf/verifier.c:8582:40: error: called object ‘func’ is not a function or function pointer 8582 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:8587:13: error: invalid storage class for function ‘is_iter_kfunc’ 8587 | static bool is_iter_kfunc(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8592:13: error: invalid storage class for function ‘is_iter_new_kfunc’ 8592 | static bool is_iter_new_kfunc(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8597:13: error: invalid storage class for function ‘is_iter_next_kfunc’ 8597 | static bool is_iter_next_kfunc(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8602:13: error: invalid storage class for function ‘is_iter_destroy_kfunc’ 8602 | static bool is_iter_destroy_kfunc(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8607:13: error: invalid storage class for function ‘is_kfunc_arg_iter’ 8607 | static bool is_kfunc_arg_iter(struct bpf_kfunc_call_arg_meta *meta, int arg_idx, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8620:12: error: invalid storage class for function ‘process_iter_arg’ 8620 | static int process_iter_arg(struct bpf_verifier_env *env, int regno, int insn_idx, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8709:35: error: invalid storage class for function ‘find_prev_entry’ 8709 | static struct bpf_verifier_state *find_prev_entry(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8733:13: error: invalid storage class for function ‘reset_idmap_scratch’ 8733 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8734:13: error: invalid storage class for function ‘regs_exact’ 8734 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8738:13: error: invalid storage class for function ‘maybe_widen_reg’ 8738 | static void maybe_widen_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘maybe_widen_reg’: ../kernel/bpf/verifier.c:8746:47: error: implicit declaration of function ‘regs_exact’ [-Wimplicit-function-declaration] 8746 | if (rold->precise || rcur->precise || regs_exact(rold, rcur, idmap)) | ^~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:8751:12: error: invalid storage class for function ‘widen_imprecise_scalars’ 8751 | static int widen_imprecise_scalars(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘widen_imprecise_scalars’: ../kernel/bpf/verifier.c:8758:9: error: implicit declaration of function ‘reset_idmap_scratch’ [-Wimplicit-function-declaration] 8758 | reset_idmap_scratch(env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:8783:30: error: invalid storage class for function ‘get_iter_from_state’ 8783 | static struct bpf_reg_state *get_iter_from_state(struct bpf_verifier_state *cur_st, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8870:12: error: invalid storage class for function ‘process_iter_next_call’ 8870 | static int process_iter_next_call(struct bpf_verifier_env *env, int insn_idx, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8925:13: error: invalid storage class for function ‘arg_type_is_mem_size’ 8925 | static bool arg_type_is_mem_size(enum bpf_arg_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8931:13: error: invalid storage class for function ‘arg_type_is_raw_mem’ 8931 | static bool arg_type_is_raw_mem(enum bpf_arg_type type) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8937:13: error: invalid storage class for function ‘arg_type_is_release’ 8937 | static bool arg_type_is_release(enum bpf_arg_type type) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8942:13: error: invalid storage class for function ‘arg_type_is_dynptr’ 8942 | static bool arg_type_is_dynptr(enum bpf_arg_type type) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8947:12: error: invalid storage class for function ‘resolve_map_arg_type’ 8947 | static int resolve_map_arg_type(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9088:12: error: invalid storage class for function ‘check_reg_type’ 9088 | static int check_reg_type(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9236:1: error: invalid storage class for function ‘reg_find_field_offset’ 9236 | reg_find_field_offset(const struct bpf_reg_state *reg, s32 off, u32 fields) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9252:12: error: invalid storage class for function ‘check_func_arg_reg_off’ 9252 | static int check_func_arg_reg_off(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9323:30: error: invalid storage class for function ‘get_dynptr_arg_reg’ 9323 | static struct bpf_reg_state *get_dynptr_arg_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9345:12: error: invalid storage class for function ‘dynptr_id’ 9345 | static int dynptr_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘dynptr_id’: ../kernel/bpf/verifier.c:9347:40: error: called object ‘func’ is not a function or function pointer 9347 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:9358:12: error: invalid storage class for function ‘dynptr_ref_obj_id’ 9358 | static int dynptr_ref_obj_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘dynptr_ref_obj_id’: ../kernel/bpf/verifier.c:9360:40: error: called object ‘func’ is not a function or function pointer 9360 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:9371:29: error: invalid storage class for function ‘dynptr_get_type’ 9371 | static enum bpf_dynptr_type dynptr_get_type(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘dynptr_get_type’: ../kernel/bpf/verifier.c:9374:40: error: called object ‘func’ is not a function or function pointer 9374 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:9389:12: error: invalid storage class for function ‘check_reg_const_str’ 9389 | static int check_reg_const_str(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9438:12: error: invalid storage class for function ‘get_constant_map_key’ 9438 | static int get_constant_map_key(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘get_constant_map_key’: ../kernel/bpf/verifier.c:9443:40: error: called object ‘func’ is not a function or function pointer 9443 | struct bpf_func_state *state = func(env, key); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:9498:13: error: invalid storage class for function ‘can_elide_value_nullness’ 9498 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9500:12: error: invalid storage class for function ‘check_func_arg’ 9500 | static int check_func_arg(struct bpf_verifier_env *env, u32 arg, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_func_arg’: ../kernel/bpf/verifier.c:9563:56: error: called object ‘func’ is not a function or function pointer 9563 | struct bpf_func_state *state = func(env, reg); | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c:9648:21: error: implicit declaration of function ‘can_elide_value_nullness’ [-Wimplicit-function-declaration] 9648 | if (can_elide_value_nullness(meta->map_ptr->map_type)) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:9770:13: error: invalid storage class for function ‘may_update_sockmap’ 9770 | static bool may_update_sockmap(struct bpf_verifier_env *env, int func_id) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9808:13: error: invalid storage class for function ‘allow_tail_call_in_subprogs’ 9808 | static bool allow_tail_call_in_subprogs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9814:12: error: invalid storage class for function ‘check_map_func_compatibility’ 9814 | static int check_map_func_compatibility(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10065:13: error: invalid storage class for function ‘check_raw_mode_ok’ 10065 | static bool check_raw_mode_ok(const struct bpf_func_proto *fn) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10087:13: error: invalid storage class for function ‘check_args_pair_invalid’ 10087 | static bool check_args_pair_invalid(const struct bpf_func_proto *fn, int arg) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10102:13: error: invalid storage class for function ‘check_arg_pair_ok’ 10102 | static bool check_arg_pair_ok(const struct bpf_func_proto *fn) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10120:13: error: invalid storage class for function ‘check_btf_id_ok’ 10120 | static bool check_btf_id_ok(const struct bpf_func_proto *fn) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10139:12: error: invalid storage class for function ‘check_func_proto’ 10139 | static int check_func_proto(const struct bpf_func_proto *fn, int func_id) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10152:13: error: invalid storage class for function ‘clear_all_pkt_pointers’ 10152 | static void clear_all_pkt_pointers(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10168:13: error: invalid storage class for function ‘mark_pkt_end’ 10168 | static void mark_pkt_end(struct bpf_verifier_state *vstate, int regn, bool range_open) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:10189:12: error: invalid storage class for function ‘release_reference_nomark’ 10189 | static int release_reference_nomark(struct bpf_verifier_state *state, int ref_obj_id) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10209:12: error: invalid storage class for function ‘release_reference’ 10209 | static int release_reference(struct bpf_verifier_env *env, int ref_obj_id) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10228:13: error: invalid storage class for function ‘invalidate_non_owning_refs’ 10228 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10239:13: error: invalid storage class for function ‘clear_caller_saved_regs’ 10239 | static void clear_caller_saved_regs(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10256:12: error: invalid storage class for function ‘set_callee_state’ 10256 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10260:12: error: invalid storage class for function ‘setup_func_entry’ 10260 | static int setup_func_entry(struct bpf_verifier_env *env, int subprog, int callsite, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10308:12: error: invalid storage class for function ‘btf_check_func_arg_match’ 10308 | static int btf_check_func_arg_match(struct bpf_verifier_env *env, int subprog, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10403:12: error: invalid storage class for function ‘btf_check_subprog_call’ 10403 | static int btf_check_subprog_call(struct bpf_verifier_env *env, int subprog, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10431:12: error: invalid storage class for function ‘push_callback_call’ 10431 | static int push_callback_call(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10500:12: error: invalid storage class for function ‘check_func_call’ 10500 | static int check_func_call(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_func_call’: ../kernel/bpf/verifier.c:10560:57: error: ‘set_callee_state’ undeclared (first use in this function); did you mean ‘set_callee_state_fn’? 10560 | err = setup_func_entry(env, subprog, *insn_idx, set_callee_state, state); | ^~~~~~~~~~~~~~~~ | set_callee_state_fn ../kernel/bpf/verifier.c:10560:57: note: each undeclared identifier is reported only once for each function it appears in ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:10606:12: error: invalid storage class for function ‘set_callee_state’ 10606 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10620:12: error: invalid storage class for function ‘set_map_elem_callback_state’ 10620 | static int set_map_elem_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10646:12: error: invalid storage class for function ‘set_loop_callback_state’ 10646 | static int set_loop_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10668:12: error: invalid storage class for function ‘set_timer_callback_state’ 10668 | static int set_timer_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10698:12: error: invalid storage class for function ‘set_find_vma_callback_state’ 10698 | static int set_find_vma_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10726:12: error: invalid storage class for function ‘set_user_ringbuf_callback_state’ 10726 | static int set_user_ringbuf_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10749:12: error: invalid storage class for function ‘set_rbtree_add_callback_state’ 10749 | static int set_rbtree_add_callback_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10781:13: error: invalid storage class for function ‘is_rbtree_lock_required_kfunc’ 10781 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10787:13: error: invalid storage class for function ‘in_rbtree_lock_required_cb’ 10787 | static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘in_rbtree_lock_required_cb’: ../kernel/bpf/verifier.c:10803:16: error: implicit declaration of function ‘is_rbtree_lock_required_kfunc’; did you mean ‘in_rbtree_lock_required_cb’? [-Wimplicit-function-declaration] 10803 | return is_rbtree_lock_required_kfunc(kfunc_btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | in_rbtree_lock_required_cb ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:10806:13: error: invalid storage class for function ‘retval_range_within’ 10806 | static bool retval_range_within(struct bpf_retval_range range, const struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10815:12: error: invalid storage class for function ‘prepare_func_exit’ 10815 | static int prepare_func_exit(struct bpf_verifier_env *env, int *insn_idx) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10906:12: error: invalid storage class for function ‘do_refine_retval_range’ 10906 | static int do_refine_retval_range(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10945:1: error: invalid storage class for function ‘record_func_map’ 10945 | record_func_map(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10991:1: error: invalid storage class for function ‘record_func_key’ 10991 | record_func_key(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11027:12: error: invalid storage class for function ‘check_reference_leak’ 11027 | static int check_reference_leak(struct bpf_verifier_env *env, bool exception_exit) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11054:12: error: invalid storage class for function ‘check_resource_leak’ 11054 | static int check_resource_leak(struct bpf_verifier_env *env, bool exception_exit, bool check_lock, const char *prefix) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11087:12: error: invalid storage class for function ‘check_bpf_snprintf_call’ 11087 | static int check_bpf_snprintf_call(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11125:12: error: invalid storage class for function ‘check_get_func_ip’ 11125 | static int check_get_func_ip(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11146:34: error: invalid storage class for function ‘cur_aux’ 11146 | static struct bpf_insn_aux_data *cur_aux(struct bpf_verifier_env *env) | ^~~~~~~ ../kernel/bpf/verifier.c:11151:13: error: invalid storage class for function ‘loop_flag_is_zero’ 11151 | static bool loop_flag_is_zero(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11163:13: error: invalid storage class for function ‘update_loop_inline_state’ 11163 | static void update_loop_inline_state(struct bpf_verifier_env *env, u32 subprogno) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11185:13: error: invalid storage class for function ‘can_elide_value_nullness’ 11185 | static bool can_elide_value_nullness(enum bpf_map_type type) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11196:12: error: invalid storage class for function ‘get_helper_proto’ 11196 | static int get_helper_proto(struct bpf_verifier_env *env, int func_id, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11209:12: error: invalid storage class for function ‘check_helper_call’ 11209 | static int check_helper_call(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11745:13: error: invalid storage class for function ‘__mark_btf_func_reg_size’ 11745 | static void __mark_btf_func_reg_size(struct bpf_verifier_env *env, struct bpf_reg_state *regs, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11766:13: error: invalid storage class for function ‘mark_btf_func_reg_size’ 11766 | static void mark_btf_func_reg_size(struct bpf_verifier_env *env, u32 regno, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11772:13: error: invalid storage class for function ‘is_kfunc_acquire’ 11772 | static bool is_kfunc_acquire(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11777:13: error: invalid storage class for function ‘is_kfunc_release’ 11777 | static bool is_kfunc_release(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11782:13: error: invalid storage class for function ‘is_kfunc_trusted_args’ 11782 | static bool is_kfunc_trusted_args(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11787:13: error: invalid storage class for function ‘is_kfunc_sleepable’ 11787 | static bool is_kfunc_sleepable(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11792:13: error: invalid storage class for function ‘is_kfunc_destructive’ 11792 | static bool is_kfunc_destructive(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11797:13: error: invalid storage class for function ‘is_kfunc_rcu’ 11797 | static bool is_kfunc_rcu(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:11802:13: error: invalid storage class for function ‘is_kfunc_rcu_protected’ 11802 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11807:13: error: invalid storage class for function ‘is_kfunc_arg_mem_size’ 11807 | static bool is_kfunc_arg_mem_size(const struct btf *btf, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11820:13: error: invalid storage class for function ‘is_kfunc_arg_const_mem_size’ 11820 | static bool is_kfunc_arg_const_mem_size(const struct btf *btf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11833:13: error: invalid storage class for function ‘is_kfunc_arg_optional’ 11833 | static bool is_kfunc_arg_optional(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11838:13: error: invalid storage class for function ‘is_kfunc_arg_constant’ 11838 | static bool is_kfunc_arg_constant(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11843:13: error: invalid storage class for function ‘is_kfunc_arg_ignore’ 11843 | static bool is_kfunc_arg_ignore(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11848:13: error: invalid storage class for function ‘is_kfunc_arg_map’ 11848 | static bool is_kfunc_arg_map(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11853:13: error: invalid storage class for function ‘is_kfunc_arg_alloc_obj’ 11853 | static bool is_kfunc_arg_alloc_obj(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11858:13: error: invalid storage class for function ‘is_kfunc_arg_uninit’ 11858 | static bool is_kfunc_arg_uninit(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11863:13: error: invalid storage class for function ‘is_kfunc_arg_refcounted_kptr’ 11863 | static bool is_kfunc_arg_refcounted_kptr(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11868:13: error: invalid storage class for function ‘is_kfunc_arg_nullable’ 11868 | static bool is_kfunc_arg_nullable(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11873:13: error: invalid storage class for function ‘is_kfunc_arg_const_str’ 11873 | static bool is_kfunc_arg_const_str(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11878:13: error: invalid storage class for function ‘is_kfunc_arg_irq_flag’ 11878 | static bool is_kfunc_arg_irq_flag(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11883:13: error: invalid storage class for function ‘is_kfunc_arg_prog’ 11883 | static bool is_kfunc_arg_prog(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11888:13: error: invalid storage class for function ‘is_kfunc_arg_scalar_with_name’ 11888 | static bool is_kfunc_arg_scalar_with_name(const struct btf *btf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11926:13: error: invalid storage class for function ‘__is_kfunc_ptr_arg_type’ 11926 | static bool __is_kfunc_ptr_arg_type(const struct btf *btf, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11943:13: error: invalid storage class for function ‘is_kfunc_arg_dynptr’ 11943 | static bool is_kfunc_arg_dynptr(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11948:13: error: invalid storage class for function ‘is_kfunc_arg_list_head’ 11948 | static bool is_kfunc_arg_list_head(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11953:13: error: invalid storage class for function ‘is_kfunc_arg_list_node’ 11953 | static bool is_kfunc_arg_list_node(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11958:13: error: invalid storage class for function ‘is_kfunc_arg_rbtree_root’ 11958 | static bool is_kfunc_arg_rbtree_root(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11963:13: error: invalid storage class for function ‘is_kfunc_arg_rbtree_node’ 11963 | static bool is_kfunc_arg_rbtree_node(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11968:13: error: invalid storage class for function ‘is_kfunc_arg_wq’ 11968 | static bool is_kfunc_arg_wq(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11973:13: error: invalid storage class for function ‘is_kfunc_arg_res_spin_lock’ 11973 | static bool is_kfunc_arg_res_spin_lock(const struct btf *btf, const struct btf_param *arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11978:13: error: invalid storage class for function ‘is_rbtree_node_type’ 11978 | static bool is_rbtree_node_type(const struct btf_type *t) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11983:13: error: invalid storage class for function ‘is_list_node_type’ 11983 | static bool is_list_node_type(const struct btf_type *t) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11988:13: error: invalid storage class for function ‘is_kfunc_arg_callback’ 11988 | static bool is_kfunc_arg_callback(struct bpf_verifier_env *env, const struct btf *btf, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12001:13: error: invalid storage class for function ‘__btf_type_is_scalar_struct’ 12001 | static bool __btf_type_is_scalar_struct(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12211:13: error: invalid storage class for function ‘is_kfunc_ret_null’ 12211 | static bool is_kfunc_ret_null(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12221:13: error: invalid storage class for function ‘is_kfunc_bpf_rcu_read_lock’ 12221 | static bool is_kfunc_bpf_rcu_read_lock(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12226:13: error: invalid storage class for function ‘is_kfunc_bpf_rcu_read_unlock’ 12226 | static bool is_kfunc_bpf_rcu_read_unlock(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12231:13: error: invalid storage class for function ‘is_kfunc_bpf_preempt_disable’ 12231 | static bool is_kfunc_bpf_preempt_disable(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12236:13: error: invalid storage class for function ‘is_kfunc_bpf_preempt_enable’ 12236 | static bool is_kfunc_bpf_preempt_enable(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12242:1: error: invalid storage class for function ‘get_kfunc_ptr_arg_type’ 12242 | get_kfunc_ptr_arg_type(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12337:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_btf_id’ 12337 | static int process_kf_arg_ptr_to_btf_id(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12409:12: error: invalid storage class for function ‘process_irq_flag’ 12409 | static int process_irq_flag(struct bpf_verifier_env *env, int regno, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12463:12: error: invalid storage class for function ‘ref_set_non_owning’ 12463 | static int ref_set_non_owning(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12484:12: error: invalid storage class for function ‘ref_convert_owning_non_owning’ 12484 | static int ref_convert_owning_non_owning(struct bpf_verifier_env *env, u32 ref_obj_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12561:12: error: invalid storage class for function ‘check_reg_allocation_locked’ 12561 | static int check_reg_allocation_locked(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12590:13: error: invalid storage class for function ‘is_bpf_list_api_kfunc’ 12590 | static bool is_bpf_list_api_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12600:13: error: invalid storage class for function ‘is_bpf_rbtree_api_kfunc’ 12600 | static bool is_bpf_rbtree_api_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12610:13: error: invalid storage class for function ‘is_bpf_iter_num_api_kfunc’ 12610 | static bool is_bpf_iter_num_api_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12617:13: error: invalid storage class for function ‘is_bpf_graph_api_kfunc’ 12617 | static bool is_bpf_graph_api_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12623:13: error: invalid storage class for function ‘is_bpf_res_spin_lock_kfunc’ 12623 | static bool is_bpf_res_spin_lock_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12631:13: error: invalid storage class for function ‘kfunc_spin_allowed’ 12631 | static bool kfunc_spin_allowed(u32 btf_id) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12637:13: error: invalid storage class for function ‘is_sync_callback_calling_kfunc’ 12637 | static bool is_sync_callback_calling_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12642:13: error: invalid storage class for function ‘is_async_callback_calling_kfunc’ 12642 | static bool is_async_callback_calling_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12647:13: error: invalid storage class for function ‘is_bpf_throw_kfunc’ 12647 | static bool is_bpf_throw_kfunc(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12653:13: error: invalid storage class for function ‘is_bpf_wq_set_callback_impl_kfunc’ 12653 | static bool is_bpf_wq_set_callback_impl_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12658:13: error: invalid storage class for function ‘is_callback_calling_kfunc’ 12658 | static bool is_callback_calling_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12664:13: error: invalid storage class for function ‘is_rbtree_lock_required_kfunc’ 12664 | static bool is_rbtree_lock_required_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12669:13: error: invalid storage class for function ‘check_kfunc_is_graph_root_api’ 12669 | static bool check_kfunc_is_graph_root_api(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12694:13: error: invalid storage class for function ‘check_kfunc_is_graph_node_api’ 12694 | static bool check_kfunc_is_graph_node_api(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12724:1: error: invalid storage class for function ‘__process_kf_arg_ptr_to_graph_root’ 12724 | __process_kf_arg_ptr_to_graph_root(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12774:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_list_head’ 12774 | static int process_kf_arg_ptr_to_list_head(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12782:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_rbtree_root’ 12782 | static int process_kf_arg_ptr_to_rbtree_root(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12791:1: error: invalid storage class for function ‘__process_kf_arg_ptr_to_graph_node’ 12791 | __process_kf_arg_ptr_to_graph_node(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12855:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_list_node’ 12855 | static int process_kf_arg_ptr_to_list_node(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12864:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_rbtree_node’ 12864 | static int process_kf_arg_ptr_to_rbtree_node(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12879:13: error: invalid storage class for function ‘check_css_task_iter_allowlist’ 12879 | static bool check_css_task_iter_allowlist(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12895:12: error: invalid storage class for function ‘check_kfunc_args’ 12895 | static int check_kfunc_args(struct bpf_verifier_env *env, struct bpf_kfunc_call_arg_meta *meta, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13412:12: error: invalid storage class for function ‘fetch_kfunc_meta’ 13412 | static int fetch_kfunc_meta(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13454:12: error: invalid storage class for function ‘check_return_code’ 13454 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13456:12: error: invalid storage class for function ‘check_kfunc_call’ 13456 | static int check_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘check_kfunc_call’: ../kernel/bpf/verifier.c:13657:31: error: implicit declaration of function ‘check_return_code’ [-Wimplicit-function-declaration] 13657 | err = check_return_code(env, BPF_REG_1, "R1"); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:13952:13: error: invalid storage class for function ‘check_reg_sane_offset’ 13952 | static bool check_reg_sane_offset(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13995:12: error: invalid storage class for function ‘retrieve_ptr_limit’ 13995 | static int retrieve_ptr_limit(const struct bpf_reg_state *ptr_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14026:13: error: invalid storage class for function ‘can_skip_alu_sanitation’ 14026 | static bool can_skip_alu_sanitation(const struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14032:12: error: invalid storage class for function ‘update_alu_sanitation_state’ 14032 | static int update_alu_sanitation_state(struct bpf_insn_aux_data *aux, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14049:12: error: invalid storage class for function ‘sanitize_val_alu’ 14049 | static int sanitize_val_alu(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14060:13: error: invalid storage class for function ‘sanitize_needed’ 14060 | static bool sanitize_needed(u8 opcode) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14071:1: error: invalid storage class for function ‘sanitize_speculative_path’ 14071 | sanitize_speculative_path(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14091:12: error: invalid storage class for function ‘sanitize_ptr_alu’ 14091 | static int sanitize_ptr_alu(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14187:13: error: invalid storage class for function ‘sanitize_mark_insn_seen’ 14187 | static void sanitize_mark_insn_seen(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14200:12: error: invalid storage class for function ‘sanitize_err’ 14200 | static int sanitize_err(struct bpf_verifier_env *env, | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:14249:12: error: invalid storage class for function ‘check_stack_access_for_ptr_arithmetic’ 14249 | static int check_stack_access_for_ptr_arithmetic( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14273:12: error: invalid storage class for function ‘sanitize_check_bounds’ 14273 | static int sanitize_check_bounds(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14310:12: error: invalid storage class for function ‘adjust_ptr_min_max_vals’ 14310 | static int adjust_ptr_min_max_vals(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14538:13: error: invalid storage class for function ‘scalar32_min_max_add’ 14538 | static void scalar32_min_max_add(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14558:13: error: invalid storage class for function ‘scalar_min_max_add’ 14558 | static void scalar_min_max_add(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14578:13: error: invalid storage class for function ‘scalar32_min_max_sub’ 14578 | static void scalar32_min_max_sub(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14603:13: error: invalid storage class for function ‘scalar_min_max_sub’ 14603 | static void scalar_min_max_sub(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14628:13: error: invalid storage class for function ‘scalar32_min_max_mul’ 14628 | static void scalar32_min_max_mul(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14656:13: error: invalid storage class for function ‘scalar_min_max_mul’ 14656 | static void scalar_min_max_mul(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14684:13: error: invalid storage class for function ‘scalar32_min_max_and’ 14684 | static void scalar32_min_max_and(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14715:13: error: invalid storage class for function ‘scalar_min_max_and’ 14715 | static void scalar_min_max_and(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14747:13: error: invalid storage class for function ‘scalar32_min_max_or’ 14747 | static void scalar32_min_max_or(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14778:13: error: invalid storage class for function ‘scalar_min_max_or’ 14778 | static void scalar_min_max_or(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14810:13: error: invalid storage class for function ‘scalar32_min_max_xor’ 14810 | static void scalar32_min_max_xor(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14838:13: error: invalid storage class for function ‘scalar_min_max_xor’ 14838 | static void scalar_min_max_xor(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14868:13: error: invalid storage class for function ‘__scalar32_min_max_lsh’ 14868 | static void __scalar32_min_max_lsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14886:13: error: invalid storage class for function ‘scalar32_min_max_lsh’ 14886 | static void scalar32_min_max_lsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14904:13: error: invalid storage class for function ‘__scalar64_min_max_lsh’ 14904 | static void __scalar64_min_max_lsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14934:13: error: invalid storage class for function ‘scalar_min_max_lsh’ 14934 | static void scalar_min_max_lsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14949:13: error: invalid storage class for function ‘scalar32_min_max_rsh’ 14949 | static void scalar32_min_max_rsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:14981:13: error: invalid storage class for function ‘scalar_min_max_rsh’ 14981 | static void scalar_min_max_rsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15015:13: error: invalid storage class for function ‘scalar32_min_max_arsh’ 15015 | static void scalar32_min_max_arsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15038:13: error: invalid storage class for function ‘scalar_min_max_arsh’ 15038 | static void scalar_min_max_arsh(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15065:13: error: invalid storage class for function ‘is_safe_to_compute_dst_reg_range’ 15065 | static bool is_safe_to_compute_dst_reg_range(struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15109:12: error: invalid storage class for function ‘adjust_scalar_min_max_vals’ 15109 | static int adjust_scalar_min_max_vals(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15206:12: error: invalid storage class for function ‘adjust_reg_min_max_vals’ 15206 | static int adjust_reg_min_max_vals(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15341:12: error: invalid storage class for function ‘check_alu_op’ 15341 | static int check_alu_op(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:15580:13: error: invalid storage class for function ‘find_good_pkt_pointers’ 15580 | static void find_good_pkt_pointers(struct bpf_verifier_state *vstate, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15662:12: error: invalid storage class for function ‘is_scalar_branch_taken’ 15662 | static int is_scalar_branch_taken(struct bpf_reg_state *reg1, struct bpf_reg_state *reg2, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15790:12: error: invalid storage class for function ‘flip_opcode’ 15790 | static int flip_opcode(u32 opcode) | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:15811:12: error: invalid storage class for function ‘is_pkt_ptr_branch_taken’ 15811 | static int is_pkt_ptr_branch_taken(struct bpf_reg_state *dst_reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15858:12: error: invalid storage class for function ‘is_branch_taken’ 15858 | static int is_branch_taken(struct bpf_reg_state *reg1, struct bpf_reg_state *reg2, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:15903:11: error: invalid storage class for function ‘rev_opcode’ 15903 | static u8 rev_opcode(u8 opcode) | ^~~~~~~~~~ ../kernel/bpf/verifier.c:15926:13: error: invalid storage class for function ‘regs_refine_cond_op’ 15926 | static void regs_refine_cond_op(struct bpf_reg_state *reg1, struct bpf_reg_state *reg2, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16098:12: error: invalid storage class for function ‘reg_set_min_max’ 16098 | static int reg_set_min_max(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16131:13: error: invalid storage class for function ‘mark_ptr_or_null_reg’ 16131 | static void mark_ptr_or_null_reg(struct bpf_func_state *state, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16181:13: error: invalid storage class for function ‘mark_ptr_or_null_regs’ 16181 | static void mark_ptr_or_null_regs(struct bpf_verifier_state *vstate, u32 regno, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16201:13: error: invalid storage class for function ‘try_match_pkt_pointers’ 16201 | static bool try_match_pkt_pointers(const struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16306:13: error: invalid storage class for function ‘__collect_linked_regs’ 16306 | static void __collect_linked_regs(struct linked_regs *reg_set, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16328:13: error: invalid storage class for function ‘collect_linked_regs’ 16328 | static void collect_linked_regs(struct bpf_verifier_state *vstate, u32 id, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16354:13: error: invalid storage class for function ‘sync_linked_regs’ 16354 | static void sync_linked_regs(struct bpf_verifier_state *vstate, struct bpf_reg_state *known_reg, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16399:12: error: invalid storage class for function ‘check_cond_jmp_op’ 16399 | static int check_cond_jmp_op(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16639:12: error: invalid storage class for function ‘check_ld_imm’ 16639 | static int check_ld_imm(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:16735:13: error: invalid storage class for function ‘may_access_skb’ 16735 | static bool may_access_skb(enum bpf_prog_type type) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:16762:12: error: invalid storage class for function ‘check_ld_abs’ 16762 | static int check_ld_abs(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:16832:12: error: invalid storage class for function ‘check_return_code’ 16832 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17032:13: error: invalid storage class for function ‘mark_subprog_changes_pkt_data’ 17032 | static void mark_subprog_changes_pkt_data(struct bpf_verifier_env *env, int off) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17040:13: error: invalid storage class for function ‘mark_subprog_might_sleep’ 17040 | static void mark_subprog_might_sleep(struct bpf_verifier_env *env, int off) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17054:13: error: invalid storage class for function ‘merge_callee_effects’ 17054 | static void merge_callee_effects(struct bpf_verifier_env *env, int t, int w) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17104:13: error: invalid storage class for function ‘mark_prune_point’ 17104 | static void mark_prune_point(struct bpf_verifier_env *env, int idx) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17109:13: error: invalid storage class for function ‘is_prune_point’ 17109 | static bool is_prune_point(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17114:13: error: invalid storage class for function ‘mark_force_checkpoint’ 17114 | static void mark_force_checkpoint(struct bpf_verifier_env *env, int idx) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17119:13: error: invalid storage class for function ‘is_force_checkpoint’ 17119 | static bool is_force_checkpoint(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17124:13: error: invalid storage class for function ‘mark_calls_callback’ 17124 | static void mark_calls_callback(struct bpf_verifier_env *env, int idx) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17129:13: error: invalid storage class for function ‘calls_callback’ 17129 | static bool calls_callback(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17144:12: error: invalid storage class for function ‘push_insn’ 17144 | static int push_insn(int t, int w, int e, struct bpf_verifier_env *env) | ^~~~~~~~~ ../kernel/bpf/verifier.c:17192:12: error: invalid storage class for function ‘visit_func_call_insn’ 17192 | static int visit_func_call_insn(int t, struct bpf_insn *insns, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17224:13: error: invalid storage class for function ‘verifier_inlines_helper_call’ 17224 | static bool verifier_inlines_helper_call(struct bpf_verifier_env *env, s32 imm) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17245:13: error: invalid storage class for function ‘get_call_summary’ 17245 | static bool get_call_summary(struct bpf_verifier_env *env, struct bpf_insn *call, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17360:13: error: invalid storage class for function ‘mark_fastcall_pattern_for_call’ 17360 | static void mark_fastcall_pattern_for_call(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17447:12: error: invalid storage class for function ‘mark_fastcall_patterns’ 17447 | static int mark_fastcall_patterns(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17480:12: error: invalid storage class for function ‘visit_insn’ 17480 | static int visit_insn(int t, struct bpf_verifier_env *env) | ^~~~~~~~~~ ../kernel/bpf/verifier.c:17600:12: error: invalid storage class for function ‘check_cfg’ 17600 | static int check_cfg(struct bpf_verifier_env *env) | ^~~~~~~~~ ../kernel/bpf/verifier.c:17694:12: error: invalid storage class for function ‘check_abnormal_return’ 17694 | static int check_abnormal_return(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17715:12: error: invalid storage class for function ‘check_btf_func_early’ 17715 | static int check_btf_func_early(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17817:12: error: invalid storage class for function ‘check_btf_func’ 17817 | static int check_btf_func(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17892:13: error: invalid storage class for function ‘adjust_btf_func’ 17892 | static void adjust_btf_func(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:17908:12: error: invalid storage class for function ‘check_btf_line’ 17908 | static int check_btf_line(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18036:12: error: invalid storage class for function ‘check_core_relo’ 18036 | static int check_core_relo(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18105:12: error: invalid storage class for function ‘check_btf_info_early’ 18105 | static int check_btf_info_early(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18133:12: error: invalid storage class for function ‘check_btf_info’ 18133 | static int check_btf_info(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18161:13: error: invalid storage class for function ‘range_within’ 18161 | static bool range_within(const struct bpf_reg_state *old, | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:18184:13: error: invalid storage class for function ‘check_ids’ 18184 | static bool check_ids(u32 old_id, u32 cur_id, struct bpf_idmap *idmap) | ^~~~~~~~~ ../kernel/bpf/verifier.c:18217:13: error: invalid storage class for function ‘check_scalar_ids’ 18217 | static bool check_scalar_ids(u32 old_id, u32 cur_id, struct bpf_idmap *idmap) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18225:13: error: invalid storage class for function ‘clean_func_state’ 18225 | static void clean_func_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18254:13: error: invalid storage class for function ‘clean_verifier_state’ 18254 | static void clean_verifier_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18299:13: error: invalid storage class for function ‘clean_live_states’ 18299 | static void clean_live_states(struct bpf_verifier_env *env, int insn, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18321:13: error: invalid storage class for function ‘regs_exact’ 18321 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:18337:13: error: invalid storage class for function ‘regsafe’ 18337 | static bool regsafe(struct bpf_verifier_env *env, struct bpf_reg_state *rold, | ^~~~~~~ ../kernel/bpf/verifier.c:18467:19: error: invalid storage class for function ‘unbound_reg_init’ 18467 | static __init int unbound_reg_init(void) | ^~~~~~~~~~~~~~~~ In file included from ../include/uapi/linux/filter.h:9, from ../include/linux/bpf.h:8, from ../include/linux/bpf-cgroup.h:5, from ../kernel/bpf/verifier.c:7: ../include/linux/compiler.h:286:52: error: initializer element is not constant 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:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18473:1: note: in expansion of macro ‘late_initcall’ 18473 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18475:13: error: invalid storage class for function ‘is_stack_all_misc’ 18475 | static bool is_stack_all_misc(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18490:30: error: invalid storage class for function ‘scalar_reg_for_stack’ 18490 | static struct bpf_reg_state *scalar_reg_for_stack(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18502:13: error: invalid storage class for function ‘stacksafe’ 18502 | static bool stacksafe(struct bpf_verifier_env *env, struct bpf_func_state *old, | ^~~~~~~~~ ../kernel/bpf/verifier.c:18634:13: error: invalid storage class for function ‘refsafe’ 18634 | static bool refsafe(struct bpf_verifier_state *old, struct bpf_verifier_state *cur, | ^~~~~~~ ../kernel/bpf/verifier.c:18707:13: error: invalid storage class for function ‘func_states_equal’ 18707 | static bool func_states_equal(struct bpf_verifier_env *env, struct bpf_func_state *old, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18728:13: error: invalid storage class for function ‘reset_idmap_scratch’ 18728 | static void reset_idmap_scratch(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18734:13: error: invalid storage class for function ‘states_equal’ 18734 | static bool states_equal(struct bpf_verifier_env *env, | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:18777:12: error: invalid storage class for function ‘propagate_liveness_reg’ 18777 | static int propagate_liveness_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18810:12: error: invalid storage class for function ‘propagate_liveness’ 18810 | static int propagate_liveness(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18857:12: error: invalid storage class for function ‘propagate_precision’ 18857 | static int propagate_precision(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18913:13: error: invalid storage class for function ‘states_maybe_looping’ 18913 | static bool states_maybe_looping(struct bpf_verifier_state *old, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18931:13: error: invalid storage class for function ‘is_iter_next_insn’ 18931 | static bool is_iter_next_insn(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18994:13: error: invalid storage class for function ‘iter_active_depths_differ’ 18994 | static bool iter_active_depths_differ(struct bpf_verifier_state *old, struct bpf_verifier_state *cur) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19018:12: error: invalid storage class for function ‘is_state_visited’ 19018 | static int is_state_visited(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘is_state_visited’: ../kernel/bpf/verifier.c:19123:55: error: called object ‘func’ is not a function or function pointer 19123 | iter_state = &func(env, iter_reg)->stack[spi].spilled_ptr; | ^~~~ ../kernel/bpf/verifier.c:4659:32: note: declared here 4659 | struct bpf_func_state *func; | ^~~~ ../kernel/bpf/verifier.c:19111:45: warning: variable ‘spi’ set but not used [-Wunused-but-set-variable] 19111 | int spi; | ^~~ ../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: ../kernel/bpf/verifier.c:19349:13: error: invalid storage class for function ‘reg_type_mismatch_ok’ 19349 | static bool reg_type_mismatch_ok(enum bpf_reg_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19377:13: error: invalid storage class for function ‘reg_type_mismatch’ 19377 | static bool reg_type_mismatch(enum bpf_reg_type src, enum bpf_reg_type prev) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19383:12: error: invalid storage class for function ‘save_aux_ptr_type’ 19383 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19421:12: error: invalid storage class for function ‘do_check’ 19421 | static int do_check(struct bpf_verifier_env *env) | ^~~~~~~~ ../kernel/bpf/verifier.c:19732:12: error: invalid storage class for function ‘find_btf_percpu_datasec’ 19732 | static int find_btf_percpu_datasec(struct btf *btf) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19768:12: error: invalid storage class for function ‘__add_used_btf’ 19768 | static int __add_used_btf(struct bpf_verifier_env *env, struct btf *btf) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19800:12: error: invalid storage class for function ‘__check_pseudo_btf_id’ 19800 | static int __check_pseudo_btf_id(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19883:12: error: invalid storage class for function ‘check_pseudo_btf_id’ 19883 | static int check_pseudo_btf_id(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19918:13: error: invalid storage class for function ‘is_tracing_prog_type’ 19918 | static bool is_tracing_prog_type(enum bpf_prog_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19932:13: error: invalid storage class for function ‘bpf_map_is_cgroup_storage’ 19932 | static bool bpf_map_is_cgroup_storage(struct bpf_map *map) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19938:12: error: invalid storage class for function ‘check_map_prog_compatibility’ 19938 | static int check_map_prog_compatibility(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20049:12: error: invalid storage class for function ‘__add_used_map’ 20049 | static int __add_used_map(struct bpf_verifier_env *env, struct bpf_map *map) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20087:12: error: invalid storage class for function ‘add_used_map’ 20087 | static int add_used_map(struct bpf_verifier_env *env, int fd) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:20108:12: error: invalid storage class for function ‘resolve_pseudo_ldimm64’ 20108 | static int resolve_pseudo_ldimm64(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20251:13: error: invalid storage class for function ‘release_maps’ 20251 | static void release_maps(struct bpf_verifier_env *env) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:20258:13: error: invalid storage class for function ‘release_btfs’ 20258 | static void release_btfs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:20264:13: error: invalid storage class for function ‘convert_pseudo_ld_imm64’ 20264 | static void convert_pseudo_ld_imm64(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20283:13: error: invalid storage class for function ‘adjust_insn_aux_data’ 20283 | static void adjust_insn_aux_data(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20315:13: error: invalid storage class for function ‘adjust_subprog_starts’ 20315 | static void adjust_subprog_starts(struct bpf_verifier_env *env, u32 off, u32 len) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20329:13: error: invalid storage class for function ‘adjust_poke_descs’ 20329 | static void adjust_poke_descs(struct bpf_prog *prog, u32 off, u32 len) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20343:25: error: invalid storage class for function ‘bpf_patch_insn_data’ 20343 | static struct bpf_prog *bpf_patch_insn_data(struct bpf_verifier_env *env, u32 off, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20375:12: error: invalid storage class for function ‘adjust_jmp_off’ 20375 | static int adjust_jmp_off(struct bpf_prog *prog, u32 tgt_idx, u32 delta) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20409:12: error: invalid storage class for function ‘adjust_subprog_starts_after_remove’ 20409 | static int adjust_subprog_starts_after_remove(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20465:12: error: invalid storage class for function ‘bpf_adj_linfo_after_remove’ 20465 | static int bpf_adj_linfo_after_remove(struct bpf_verifier_env *env, u32 off, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20529:12: error: invalid storage class for function ‘verifier_remove_insns’ 20529 | static int verifier_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20567:13: error: invalid storage class for function ‘sanitize_dead_code’ 20567 | static void sanitize_dead_code(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20583:13: error: invalid storage class for function ‘insn_is_cond_jump’ 20583 | static bool insn_is_cond_jump(u8 code) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20597:13: error: invalid storage class for function ‘opt_hard_wire_dead_code_branches’ 20597 | static void opt_hard_wire_dead_code_branches(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20623:12: error: invalid storage class for function ‘opt_remove_dead_code’ 20623 | static int opt_remove_dead_code(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20650:12: error: invalid storage class for function ‘opt_remove_nops’ 20650 | static int opt_remove_nops(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20675:12: error: invalid storage class for function ‘opt_subreg_zext_lo32_rnd_hi32’ 20675 | static int opt_subreg_zext_lo32_rnd_hi32(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:20778:12: error: invalid storage class for function ‘convert_ctx_accesses’ 20778 | static int convert_ctx_accesses(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21049:12: error: invalid storage class for function ‘jit_subprogs’ 21049 | static int jit_subprogs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:21312:12: error: invalid storage class for function ‘fixup_call_args’ 21312 | static int fixup_call_args(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21364:13: error: invalid storage class for function ‘specialize_kfunc’ 21364 | static void specialize_kfunc(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21406:13: error: invalid storage class for function ‘__fixup_collection_insert_kfunc’ 21406 | static void __fixup_collection_insert_kfunc(struct bpf_insn_aux_data *insn_aux, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21423:12: error: invalid storage class for function ‘fixup_kfunc_call’ 21423 | static int fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21531:12: error: invalid storage class for function ‘add_hidden_subprog’ 21531 | static int add_hidden_subprog(struct bpf_verifier_env *env, struct bpf_insn *patch, int len) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:21560:12: error: invalid storage class for function ‘do_misc_fixups’ 21560 | static int do_misc_fixups(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22487:25: error: invalid storage class for function ‘inline_bpf_loop’ 22487 | static struct bpf_prog *inline_bpf_loop(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22563:13: error: invalid storage class for function ‘is_bpf_loop_call’ 22563 | static bool is_bpf_loop_call(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22579:12: error: invalid storage class for function ‘optimize_bpf_loop’ 22579 | static int optimize_bpf_loop(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22627:12: error: invalid storage class for function ‘remove_fastcall_spills_fills’ 22627 | static int remove_fastcall_spills_fills(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22658:13: error: invalid storage class for function ‘free_states’ 22658 | static void free_states(struct bpf_verifier_env *env) | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:22686:12: error: invalid storage class for function ‘do_check_common’ 22686 | static int do_check_common(struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22841:12: error: invalid storage class for function ‘do_check_subprogs’ 22841 | static int do_check_subprogs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22891:12: error: invalid storage class for function ‘do_check_main’ 22891 | static int do_check_main(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22903:13: error: invalid storage class for function ‘print_verification_stats’ 22903 | static void print_verification_stats(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:22936:12: error: invalid storage class for function ‘check_struct_ops_btf_id’ 22936 | static int check_struct_ops_btf_id(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23047:12: error: invalid storage class for function ‘check_attach_modify_return’ 23047 | static int check_attach_modify_return(unsigned long addr, const char *func_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23072:12: error: invalid storage class for function ‘check_non_sleepable_error_inject’ 23072 | static int check_non_sleepable_error_inject(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23454:13: error: invalid storage class for function ‘can_be_sleepable’ 23454 | static bool can_be_sleepable(struct bpf_prog *prog) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23472:12: error: invalid storage class for function ‘check_attach_btf_id’ 23472 | static int check_attach_btf_id(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23575:12: error: invalid storage class for function ‘add_fd_from_fd_array’ 23575 | static int add_fd_from_fd_array(struct bpf_verifier_env *env, int fd) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23602:12: error: invalid storage class for function ‘process_fd_array’ 23602 | static int process_fd_array(struct bpf_verifier_env *env, union bpf_attr *attr, bpfptr_t uattr) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23637:13: error: invalid storage class for function ‘can_fallthrough’ 23637 | static bool can_fallthrough(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23651:13: error: invalid storage class for function ‘can_jump’ 23651 | static bool can_jump(struct bpf_insn *insn) | ^~~~~~~~ ../kernel/bpf/verifier.c:23678:12: error: invalid storage class for function ‘insn_successors’ 23678 | static int insn_successors(struct bpf_prog *prog, u32 idx, u32 succ[2]) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23709:13: error: invalid storage class for function ‘compute_insn_live_regs’ 23709 | static void compute_insn_live_regs(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23846:12: error: invalid storage class for function ‘compute_live_registers’ 23846 | static int compute_live_registers(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24199:1: error: expected declaration or statement at end of input 24199 | } | ^ ../kernel/bpf/verifier.c: At top level: ../kernel/bpf/verifier.c:200:12: warning: ‘release_reference_nomark’ declared ‘static’ but never defined [-Wunused-function] 200 | static int release_reference_nomark(struct bpf_verifier_state *state, int ref_obj_id); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:201:12: warning: ‘release_reference’ used but never defined 201 | static int release_reference(struct bpf_verifier_env *env, int ref_obj_id); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:202:13: warning: ‘invalidate_non_owning_refs’ used but never defined 202 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:203:13: warning: ‘in_rbtree_lock_required_cb’ used but never defined 203 | static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:204:12: warning: ‘ref_set_non_owning’ used but never defined 204 | static int ref_set_non_owning(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:206:13: warning: ‘specialize_kfunc’ used but never defined 206 | static void specialize_kfunc(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:208:13: warning: ‘is_trusted_reg’ used but never defined 208 | static bool is_trusted_reg(const struct bpf_reg_state *reg); | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:505:13: warning: ‘is_sync_callback_calling_kfunc’ used but never defined 505 | static bool is_sync_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:506:13: warning: ‘is_async_callback_calling_kfunc’ used but never defined 506 | static bool is_async_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:507:13: warning: ‘is_callback_calling_kfunc’ used but never defined 507 | static bool is_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:508:13: warning: ‘is_bpf_throw_kfunc’ used but never defined 508 | static bool is_bpf_throw_kfunc(struct bpf_insn *insn); | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:510:13: warning: ‘is_bpf_wq_set_callback_impl_kfunc’ used but never defined 510 | static bool is_bpf_wq_set_callback_impl_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1016:13: warning: ‘in_rcu_cs’ used but never defined 1016 | static bool in_rcu_cs(struct bpf_verifier_env *env); | ^~~~~~~~~ ../kernel/bpf/verifier.c:1018:13: warning: ‘is_kfunc_rcu_protected’ used but never defined 1018 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta); | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:4144:13: warning: ‘calls_callback’ used but never defined 4144 | static bool calls_callback(struct bpf_verifier_env *env, int insn_idx); | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23933:5: warning: ‘bpf_check’ defined but not used [-Wunused-function] 23933 | int bpf_check(struct bpf_prog **prog, union bpf_attr *attr, bpfptr_t uattr, __u32 uattr_size) | ^~~~~~~~~ ../kernel/bpf/verifier.c:21364:13: warning: ‘specialize_kfunc’ defined but not used [-Wunused-function] 21364 | static void specialize_kfunc(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12664:13: warning: ‘is_rbtree_lock_required_kfunc’ defined but not used [-Wunused-function] 12664 | static bool is_rbtree_lock_required_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12658:13: warning: ‘is_callback_calling_kfunc’ defined but not used [-Wunused-function] 12658 | static bool is_callback_calling_kfunc(u32 btf_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11802:13: warning: ‘is_kfunc_rcu_protected’ defined but not used [-Wunused-function] 11802 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10606:12: warning: ‘set_callee_state’ defined but not used [-Wunused-function] 10606 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10579:5: warning: ‘map_set_for_each_callback_args’ defined but not used [-Wunused-function] 10579 | int map_set_for_each_callback_args(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10228:13: warning: ‘invalidate_non_owning_refs’ defined but not used [-Wunused-function] 10228 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: 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); | ^~~ ../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' ../fs/gfs2/glock.c:1266: warning: Function parameter or struct member 'ip' not described in '__gfs2_holder_init' In file included from ../include/linux/string.h:392, 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:992: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:3676: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:3842: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:3924: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:4680: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:4751: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:4820: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 file included from ../include/linux/string.h:392, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' make[4]: *** [../scripts/Makefile.build:461: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/hid/hid-steam.c: In function ‘steam_client_ll_close’: ../drivers/hid/hid-steam.c:1153:14: warning: variable ‘connected’ set but not used [-Wunused-but-set-variable] 1153 | bool connected; | ^~~~~~~~~ make[3]: *** [../scripts/Makefile.build:461: kernel] Error 2 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2011: .] 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.FIWIQaXLCz 2025-05-19 05:32:14.345358628 -0700 +++ /tmp/tmp.xIcql4Ioqp 2025-05-19 05:32:49.037240137 -0700 @@ -144,4 +143,0 @@ -../security/ipe/hooks.c:55: warning: Function parameter or struct member '__always_unused' not described in 'ipe_mmap_file' -../security/ipe/hooks.c:55: warning: Excess function parameter 'reqprot' description in 'ipe_mmap_file' -../security/ipe/hooks.c:83: warning: Function parameter or struct member '__always_unused' not described in 'ipe_file_mprotect' -../security/ipe/hooks.c:83: warning: Excess function parameter 'reqprot' description in 'ipe_file_mprotect' @@ -175,0 +172,4 @@ +../security/ipe/hooks.c:55: warning: Function parameter or struct member '__always_unused' not described in 'ipe_mmap_file' +../security/ipe/hooks.c:55: warning: Excess function parameter 'reqprot' description in 'ipe_mmap_file' +../security/ipe/hooks.c:83: warning: Function parameter or struct member '__always_unused' not described in 'ipe_file_mprotect' +../security/ipe/hooks.c:83: warning: Excess function parameter 'reqprot' description in 'ipe_file_mprotect' @@ -283,0 +284,26 @@ +In file included from ../include/linux/string.h:392, + 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:9250: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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/audit.c: In function ‘audit_log_vformat’: +../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); + | ^~~ +../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); + | ^~~ +../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' +../kernel/kprobes.c:142: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' @@ -334,9 +360,6 @@ - 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: + 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: @@ -344 +367 @@ - inlined from ‘qla81xx_nvram_config’ at ../drivers/scsi/qla2xxx/qla_init.c:9250:2: + inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: @@ -348,9 +370,0 @@ -../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' -../kernel/audit.c: In function ‘audit_log_vformat’: -../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); - | ^~~ -../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); - | ^~~ -../kernel/kprobes.c:142: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' @@ -373,14 +386,0 @@ - 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/linux/string.h:392, @@ -401,4 +400,0 @@ -../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); - | ^~~ @@ -417,0 +414,3 @@ +../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' +../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' +../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' @@ -429,0 +429,1464 @@ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:4835:12: error: invalid storage class for function ‘mark_chain_precision_batch’ + 4835 | static int mark_chain_precision_batch(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4840:13: error: invalid storage class for function ‘is_spillable_regtype’ + 4840 | static bool is_spillable_regtype(enum bpf_reg_type type) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4868:13: error: invalid storage class for function ‘register_is_null’ + 4868 | static bool register_is_null(struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4874:13: error: invalid storage class for function ‘is_reg_const’ + 4874 | static bool is_reg_const(struct bpf_reg_state *reg, bool subreg32) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:4881:12: error: invalid storage class for function ‘reg_const_value’ + 4881 | static u64 reg_const_value(struct bpf_reg_state *reg, bool subreg32) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4886:13: error: invalid storage class for function ‘__is_pointer_value’ + 4886 | static bool __is_pointer_value(bool allow_ptr_leaks, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4895:13: error: invalid storage class for function ‘assign_scalar_id_before_mov’ + 4895 | static void assign_scalar_id_before_mov(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4920:13: error: invalid storage class for function ‘copy_register_state’ + 4920 | static void copy_register_state(struct bpf_reg_state *dst, const struct bpf_reg_state *src) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4930:13: error: invalid storage class for function ‘save_register_state’ + 4930 | static void save_register_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4949:13: error: invalid storage class for function ‘is_bpf_st_mem’ + 4949 | static bool is_bpf_st_mem(struct bpf_insn *insn) + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4954:12: error: invalid storage class for function ‘get_reg_width’ + 4954 | static int get_reg_width(struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4960:13: error: invalid storage class for function ‘check_fastcall_stack_contract’ + 4960 | static void check_fastcall_stack_contract(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4987:12: error: invalid storage class for function ‘check_stack_write_fixed_off’ + 4987 | static int check_stack_write_fixed_off(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5132:12: error: invalid storage class for function ‘check_stack_write_var_off’ + 5132 | static int check_stack_write_var_off(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5250:13: error: invalid storage class for function ‘mark_reg_stack_read’ + 5250 | static void mark_reg_stack_read(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5291:12: error: invalid storage class for function ‘check_stack_read_fixed_off’ + 5291 | static int check_stack_read_fixed_off(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5425:12: error: invalid storage class for function ‘check_stack_range_initialized’ + 5425 | static int check_stack_range_initialized(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5431:30: error: invalid storage class for function ‘reg_state’ + 5431 | static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) + | ^~~~~~~~~ +../kernel/bpf/verifier.c:5449:12: error: invalid storage class for function ‘check_stack_read_var_off’ + 5449 | static int check_stack_read_var_off(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_stack_read_var_off’: +../kernel/bpf/verifier.c:5454:44: error: called object ‘func’ is not a function or function pointer + 5454 | struct bpf_func_state *ptr_state = func(env, reg); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c:5460:15: error: implicit declaration of function ‘check_stack_range_initialized’ [-Wimplicit-function-declaration] + 5460 | err = check_stack_range_initialized(env, ptr_regno, off, size, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:5481:12: error: invalid storage class for function ‘check_stack_read’ + 5481 | static int check_stack_read(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_stack_read’: +../kernel/bpf/verifier.c:5486:40: error: called object ‘func’ is not a function or function pointer + 5486 | struct bpf_func_state *state = func(env, reg); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:5538:12: error: invalid storage class for function ‘check_stack_write’ + 5538 | static int check_stack_write(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_stack_write’: +../kernel/bpf/verifier.c:5543:40: error: called object ‘func’ is not a function or function pointer + 5543 | struct bpf_func_state *state = func(env, reg); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:5561:12: error: invalid storage class for function ‘check_map_access_type’ + 5561 | static int check_map_access_type(struct bpf_verifier_env *env, u32 regno, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5584:12: error: invalid storage class for function ‘__check_mem_access’ + 5584 | static int __check_mem_access(struct bpf_verifier_env *env, int regno, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5620:12: error: invalid storage class for function ‘check_mem_region_access’ + 5620 | static int check_mem_region_access(struct bpf_verifier_env *env, u32 regno, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5675:12: error: invalid storage class for function ‘__check_ptr_off_reg’ + 5675 | static int __check_ptr_off_reg(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5707:12: error: invalid storage class for function ‘check_ptr_off_reg’ + 5707 | static int check_ptr_off_reg(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5713:12: error: invalid storage class for function ‘map_kptr_match_type’ + 5713 | static int map_kptr_match_type(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5789:13: error: invalid storage class for function ‘in_sleepable’ + 5789 | static bool in_sleepable(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:5798:13: error: invalid storage class for function ‘in_rcu_cs’ + 5798 | static bool in_rcu_cs(struct bpf_verifier_env *env) + | ^~~~~~~~~ +../kernel/bpf/verifier.c:5822:13: error: invalid storage class for function ‘rcu_protected_object’ + 5822 | static bool rcu_protected_object(const struct btf *btf, u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5829:27: error: invalid storage class for function ‘kptr_pointee_btf_record’ + 5829 | static struct btf_record *kptr_pointee_btf_record(struct btf_field *kptr_field) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5842:13: error: invalid storage class for function ‘rcu_safe_kptr’ + 5842 | static bool rcu_safe_kptr(const struct btf_field *field) + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5850:12: error: invalid storage class for function ‘btf_ld_kptr_type’ + 5850 | static u32 btf_ld_kptr_type(struct bpf_verifier_env *env, struct btf_field *kptr_field) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5873:12: error: invalid storage class for function ‘mark_uptr_ld_reg’ + 5873 | static int mark_uptr_ld_reg(struct bpf_verifier_env *env, u32 regno, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5889:12: error: invalid storage class for function ‘check_map_kptr_access’ + 5889 | static int check_map_kptr_access(struct bpf_verifier_env *env, u32 regno, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:5950:12: error: invalid storage class for function ‘check_map_access’ + 5950 | static int check_map_access(struct bpf_verifier_env *env, u32 regno, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6018:13: error: invalid storage class for function ‘may_access_direct_pkt_data’ + 6018 | static bool may_access_direct_pkt_data(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6060:12: error: invalid storage class for function ‘check_packet_access’ + 6060 | static int check_packet_access(struct bpf_verifier_env *env, u32 regno, int off, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6103:12: error: invalid storage class for function ‘check_ctx_access’ + 6103 | static int check_ctx_access(struct bpf_verifier_env *env, int insn_idx, int off, int size, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6135:12: error: invalid storage class for function ‘check_flow_keys_access’ + 6135 | static int check_flow_keys_access(struct bpf_verifier_env *env, int off, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6147:12: error: invalid storage class for function ‘check_sock_access’ + 6147 | static int check_sock_access(struct bpf_verifier_env *env, int insn_idx, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6192:13: error: invalid storage class for function ‘is_pointer_value’ + 6192 | static bool is_pointer_value(struct bpf_verifier_env *env, int regno) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6197:13: error: invalid storage class for function ‘is_ctx_reg’ + 6197 | static bool is_ctx_reg(struct bpf_verifier_env *env, int regno) + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:6204:13: error: invalid storage class for function ‘is_sk_reg’ + 6204 | static bool is_sk_reg(struct bpf_verifier_env *env, int regno) + | ^~~~~~~~~ +../kernel/bpf/verifier.c:6211:13: error: invalid storage class for function ‘is_pkt_reg’ + 6211 | static bool is_pkt_reg(struct bpf_verifier_env *env, int regno) + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:6218:13: error: invalid storage class for function ‘is_flow_key_reg’ + 6218 | static bool is_flow_key_reg(struct bpf_verifier_env *env, int regno) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6226:13: error: invalid storage class for function ‘is_arena_reg’ + 6226 | static bool is_arena_reg(struct bpf_verifier_env *env, int regno) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:6236:13: error: invalid storage class for function ‘atomic_ptr_type_ok’ + 6236 | static bool atomic_ptr_type_ok(struct bpf_verifier_env *env, int regno, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6262:13: error: invalid storage class for function ‘is_trusted_reg’ + 6262 | static bool is_trusted_reg(const struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6286:13: error: invalid storage class for function ‘is_rcu_reg’ + 6286 | static bool is_rcu_reg(const struct bpf_reg_state *reg) + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:6291:13: error: invalid storage class for function ‘clear_trusted_flags’ + 6291 | static void clear_trusted_flags(enum bpf_type_flag *flag) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6296:12: error: invalid storage class for function ‘check_pkt_ptr_alignment’ + 6296 | static int check_pkt_ptr_alignment(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6331:12: error: invalid storage class for function ‘check_generic_ptr_alignment’ + 6331 | static int check_generic_ptr_alignment(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6355:12: error: invalid storage class for function ‘check_ptr_alignment’ + 6355 | static int check_ptr_alignment(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6410:29: error: invalid storage class for function ‘bpf_enable_priv_stack’ + 6410 | static enum priv_stack_mode bpf_enable_priv_stack(struct bpf_prog *prog) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6438:12: error: invalid storage class for function ‘round_up_stack_depth’ + 6438 | static int round_up_stack_depth(struct bpf_verifier_env *env, int stack_depth) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6455:12: error: invalid storage class for function ‘check_max_stack_depth_subprog’ + 6455 | static int check_max_stack_depth_subprog(struct bpf_verifier_env *env, int idx, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6616:12: error: invalid storage class for function ‘check_max_stack_depth’ + 6616 | static int check_max_stack_depth(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6673:12: error: invalid storage class for function ‘__check_buffer_access’ + 6673 | static int __check_buffer_access(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6697:12: error: invalid storage class for function ‘check_tp_buffer_access’ + 6697 | static int check_tp_buffer_access(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6713:12: error: invalid storage class for function ‘check_buffer_access’ + 6713 | static int check_buffer_access(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6733:13: error: invalid storage class for function ‘zext_32_to_64’ + 6733 | static void zext_32_to_64(struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6742:13: error: invalid storage class for function ‘coerce_reg_to_size’ + 6742 | static void coerce_reg_to_size(struct bpf_reg_state *reg, int size) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6771:13: error: invalid storage class for function ‘set_sext64_default_val’ + 6771 | static void set_sext64_default_val(struct bpf_reg_state *reg, int size) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6790:13: error: invalid storage class for function ‘coerce_reg_to_size_sx’ + 6790 | static void coerce_reg_to_size_sx(struct bpf_reg_state *reg, int size) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6849:13: error: invalid storage class for function ‘set_sext32_default_val’ + 6849 | static void set_sext32_default_val(struct bpf_reg_state *reg, int size) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6864:13: error: invalid storage class for function ‘coerce_subreg_to_size_sx’ + 6864 | static void coerce_subreg_to_size_sx(struct bpf_reg_state *reg, int size) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6914:13: error: invalid storage class for function ‘bpf_map_is_rdonly’ + 6914 | static bool bpf_map_is_rdonly(const struct bpf_map *map) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6934:12: error: invalid storage class for function ‘bpf_map_direct_read’ + 6934 | static int bpf_map_direct_read(struct bpf_map *map, int off, int size, u64 *val, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7036:13: error: invalid storage class for function ‘type_is_rcu’ + 7036 | static bool type_is_rcu(struct bpf_verifier_env *env, + | ^~~~~~~~~~~ +../kernel/bpf/verifier.c:7047:13: error: invalid storage class for function ‘type_is_rcu_or_null’ + 7047 | static bool type_is_rcu_or_null(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7058:13: error: invalid storage class for function ‘type_is_trusted’ + 7058 | static bool type_is_trusted(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7071:13: error: invalid storage class for function ‘type_is_trusted_or_null’ + 7071 | static bool type_is_trusted_or_null(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7081:12: error: invalid storage class for function ‘check_ptr_to_btf_access’ + 7081 | static int check_ptr_to_btf_access(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7231:12: error: invalid storage class for function ‘check_ptr_to_map_access’ + 7231 | static int check_ptr_to_map_access(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7297:12: error: invalid storage class for function ‘check_stack_slot_within_bounds’ + 7297 | static int check_stack_slot_within_bounds(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7319:12: error: invalid storage class for function ‘check_stack_access_within_bounds’ + 7319 | static int check_stack_access_within_bounds( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_stack_access_within_bounds’: +../kernel/bpf/verifier.c:7326:40: error: called object ‘func’ is not a function or function pointer + 7326 | struct bpf_func_state *state = func(env, reg); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:7379:13: error: invalid storage class for function ‘get_func_retval_range’ + 7379 | static bool get_func_retval_range(struct bpf_prog *prog, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7396:12: error: invalid storage class for function ‘check_mem_access’ + 7396 | static int check_mem_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7645:12: error: invalid storage class for function ‘save_aux_ptr_type’ + 7645 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7648:12: error: invalid storage class for function ‘check_load_mem’ + 7648 | static int check_load_mem(struct bpf_verifier_env *env, struct bpf_insn *insn, + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_load_mem’: +../kernel/bpf/verifier.c:7674:22: error: implicit declaration of function ‘save_aux_ptr_type’ [-Wimplicit-function-declaration] + 7674 | err = err ?: save_aux_ptr_type(env, src_reg_type, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:7681:12: error: invalid storage class for function ‘check_store_reg’ + 7681 | static int check_store_reg(struct bpf_verifier_env *env, struct bpf_insn *insn, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7709:12: error: invalid storage class for function ‘check_atomic_rmw’ + 7709 | static int check_atomic_rmw(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7798:12: error: invalid storage class for function ‘check_atomic_load’ + 7798 | static int check_atomic_load(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7817:12: error: invalid storage class for function ‘check_atomic_store’ + 7817 | static int check_atomic_store(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:7836:12: error: invalid storage class for function ‘check_atomic’ + 7836 | static int check_atomic(struct bpf_verifier_env *env, struct bpf_insn *insn) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:7881:12: error: invalid storage class for function ‘check_stack_range_initialized’ + 7881 | static int check_stack_range_initialized( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_stack_range_initialized’: +../kernel/bpf/verifier.c:7887:40: error: called object ‘func’ is not a function or function pointer + 7887 | struct bpf_func_state *state = func(env, reg); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:8027:12: error: invalid storage class for function ‘check_helper_mem_access’ + 8027 | static int check_helper_mem_access(struct bpf_verifier_env *env, int regno, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8124:12: error: invalid storage class for function ‘check_mem_size_reg’ + 8124 | static int check_mem_size_reg(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8174:12: error: invalid storage class for function ‘check_mem_reg’ + 8174 | static int check_mem_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8202:12: error: invalid storage class for function ‘check_kfunc_mem_size_reg’ + 8202 | static int check_kfunc_mem_size_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8257:12: error: invalid storage class for function ‘process_spin_lock’ + 8257 | static int process_spin_lock(struct bpf_verifier_env *env, int regno, int flags) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8373:12: error: invalid storage class for function ‘process_timer_func’ + 8373 | static int process_timer_func(struct bpf_verifier_env *env, int regno, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8410:12: error: invalid storage class for function ‘process_wq_func’ + 8410 | static int process_wq_func(struct bpf_verifier_env *env, int regno, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8427:12: error: invalid storage class for function ‘process_kptr_func’ + 8427 | static int process_kptr_func(struct bpf_verifier_env *env, int regno, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8500:12: error: invalid storage class for function ‘process_dynptr_func’ + 8500 | static int process_dynptr_func(struct bpf_verifier_env *env, int regno, int insn_idx, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8580:12: error: invalid storage class for function ‘iter_ref_obj_id’ + 8580 | static u32 iter_ref_obj_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int spi) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘iter_ref_obj_id’: +../kernel/bpf/verifier.c:8582:40: error: called object ‘func’ is not a function or function pointer + 8582 | struct bpf_func_state *state = func(env, reg); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:8587:13: error: invalid storage class for function ‘is_iter_kfunc’ + 8587 | static bool is_iter_kfunc(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8592:13: error: invalid storage class for function ‘is_iter_new_kfunc’ + 8592 | static bool is_iter_new_kfunc(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8597:13: error: invalid storage class for function ‘is_iter_next_kfunc’ + 8597 | static bool is_iter_next_kfunc(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8602:13: error: invalid storage class for function ‘is_iter_destroy_kfunc’ + 8602 | static bool is_iter_destroy_kfunc(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8607:13: error: invalid storage class for function ‘is_kfunc_arg_iter’ + 8607 | static bool is_kfunc_arg_iter(struct bpf_kfunc_call_arg_meta *meta, int arg_idx, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8620:12: error: invalid storage class for function ‘process_iter_arg’ + 8620 | static int process_iter_arg(struct bpf_verifier_env *env, int regno, int insn_idx, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8709:35: error: invalid storage class for function ‘find_prev_entry’ + 8709 | static struct bpf_verifier_state *find_prev_entry(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8733:13: error: invalid storage class for function ‘reset_idmap_scratch’ + 8733 | static void reset_idmap_scratch(struct bpf_verifier_env *env); + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8734:13: error: invalid storage class for function ‘regs_exact’ + 8734 | static bool regs_exact(const struct bpf_reg_state *rold, + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:8738:13: error: invalid storage class for function ‘maybe_widen_reg’ + 8738 | static void maybe_widen_reg(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘maybe_widen_reg’: +../kernel/bpf/verifier.c:8746:47: error: implicit declaration of function ‘regs_exact’ [-Wimplicit-function-declaration] + 8746 | if (rold->precise || rcur->precise || regs_exact(rold, rcur, idmap)) + | ^~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:8751:12: error: invalid storage class for function ‘widen_imprecise_scalars’ + 8751 | static int widen_imprecise_scalars(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘widen_imprecise_scalars’: +../kernel/bpf/verifier.c:8758:9: error: implicit declaration of function ‘reset_idmap_scratch’ [-Wimplicit-function-declaration] + 8758 | reset_idmap_scratch(env); + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:8783:30: error: invalid storage class for function ‘get_iter_from_state’ + 8783 | static struct bpf_reg_state *get_iter_from_state(struct bpf_verifier_state *cur_st, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8870:12: error: invalid storage class for function ‘process_iter_next_call’ + 8870 | static int process_iter_next_call(struct bpf_verifier_env *env, int insn_idx, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8925:13: error: invalid storage class for function ‘arg_type_is_mem_size’ + 8925 | static bool arg_type_is_mem_size(enum bpf_arg_type type) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8931:13: error: invalid storage class for function ‘arg_type_is_raw_mem’ + 8931 | static bool arg_type_is_raw_mem(enum bpf_arg_type type) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8937:13: error: invalid storage class for function ‘arg_type_is_release’ + 8937 | static bool arg_type_is_release(enum bpf_arg_type type) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8942:13: error: invalid storage class for function ‘arg_type_is_dynptr’ + 8942 | static bool arg_type_is_dynptr(enum bpf_arg_type type) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:8947:12: error: invalid storage class for function ‘resolve_map_arg_type’ + 8947 | static int resolve_map_arg_type(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9088:12: error: invalid storage class for function ‘check_reg_type’ + 9088 | static int check_reg_type(struct bpf_verifier_env *env, u32 regno, + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9236:1: error: invalid storage class for function ‘reg_find_field_offset’ + 9236 | reg_find_field_offset(const struct bpf_reg_state *reg, s32 off, u32 fields) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9252:12: error: invalid storage class for function ‘check_func_arg_reg_off’ + 9252 | static int check_func_arg_reg_off(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9323:30: error: invalid storage class for function ‘get_dynptr_arg_reg’ + 9323 | static struct bpf_reg_state *get_dynptr_arg_reg(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9345:12: error: invalid storage class for function ‘dynptr_id’ + 9345 | static int dynptr_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg) + | ^~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘dynptr_id’: +../kernel/bpf/verifier.c:9347:40: error: called object ‘func’ is not a function or function pointer + 9347 | struct bpf_func_state *state = func(env, reg); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:9358:12: error: invalid storage class for function ‘dynptr_ref_obj_id’ + 9358 | static int dynptr_ref_obj_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘dynptr_ref_obj_id’: +../kernel/bpf/verifier.c:9360:40: error: called object ‘func’ is not a function or function pointer + 9360 | struct bpf_func_state *state = func(env, reg); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:9371:29: error: invalid storage class for function ‘dynptr_get_type’ + 9371 | static enum bpf_dynptr_type dynptr_get_type(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘dynptr_get_type’: +../kernel/bpf/verifier.c:9374:40: error: called object ‘func’ is not a function or function pointer + 9374 | struct bpf_func_state *state = func(env, reg); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:9389:12: error: invalid storage class for function ‘check_reg_const_str’ + 9389 | static int check_reg_const_str(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9438:12: error: invalid storage class for function ‘get_constant_map_key’ + 9438 | static int get_constant_map_key(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘get_constant_map_key’: +../kernel/bpf/verifier.c:9443:40: error: called object ‘func’ is not a function or function pointer + 9443 | struct bpf_func_state *state = func(env, key); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:9498:13: error: invalid storage class for function ‘can_elide_value_nullness’ + 9498 | static bool can_elide_value_nullness(enum bpf_map_type type); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9500:12: error: invalid storage class for function ‘check_func_arg’ + 9500 | static int check_func_arg(struct bpf_verifier_env *env, u32 arg, + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_func_arg’: +../kernel/bpf/verifier.c:9563:56: error: called object ‘func’ is not a function or function pointer + 9563 | struct bpf_func_state *state = func(env, reg); + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c:9648:21: error: implicit declaration of function ‘can_elide_value_nullness’ [-Wimplicit-function-declaration] + 9648 | if (can_elide_value_nullness(meta->map_ptr->map_type)) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:9770:13: error: invalid storage class for function ‘may_update_sockmap’ + 9770 | static bool may_update_sockmap(struct bpf_verifier_env *env, int func_id) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9808:13: error: invalid storage class for function ‘allow_tail_call_in_subprogs’ + 9808 | static bool allow_tail_call_in_subprogs(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:9814:12: error: invalid storage class for function ‘check_map_func_compatibility’ + 9814 | static int check_map_func_compatibility(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10065:13: error: invalid storage class for function ‘check_raw_mode_ok’ +10065 | static bool check_raw_mode_ok(const struct bpf_func_proto *fn) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10087:13: error: invalid storage class for function ‘check_args_pair_invalid’ +10087 | static bool check_args_pair_invalid(const struct bpf_func_proto *fn, int arg) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10102:13: error: invalid storage class for function ‘check_arg_pair_ok’ +10102 | static bool check_arg_pair_ok(const struct bpf_func_proto *fn) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10120:13: error: invalid storage class for function ‘check_btf_id_ok’ +10120 | static bool check_btf_id_ok(const struct bpf_func_proto *fn) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10139:12: error: invalid storage class for function ‘check_func_proto’ +10139 | static int check_func_proto(const struct bpf_func_proto *fn, int func_id) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10152:13: error: invalid storage class for function ‘clear_all_pkt_pointers’ +10152 | static void clear_all_pkt_pointers(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10168:13: error: invalid storage class for function ‘mark_pkt_end’ +10168 | static void mark_pkt_end(struct bpf_verifier_state *vstate, int regn, bool range_open) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:10189:12: error: invalid storage class for function ‘release_reference_nomark’ +10189 | static int release_reference_nomark(struct bpf_verifier_state *state, int ref_obj_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10209:12: error: invalid storage class for function ‘release_reference’ +10209 | static int release_reference(struct bpf_verifier_env *env, int ref_obj_id) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10228:13: error: invalid storage class for function ‘invalidate_non_owning_refs’ +10228 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10239:13: error: invalid storage class for function ‘clear_caller_saved_regs’ +10239 | static void clear_caller_saved_regs(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10256:12: error: invalid storage class for function ‘set_callee_state’ +10256 | static int set_callee_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10260:12: error: invalid storage class for function ‘setup_func_entry’ +10260 | static int setup_func_entry(struct bpf_verifier_env *env, int subprog, int callsite, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10308:12: error: invalid storage class for function ‘btf_check_func_arg_match’ +10308 | static int btf_check_func_arg_match(struct bpf_verifier_env *env, int subprog, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10403:12: error: invalid storage class for function ‘btf_check_subprog_call’ +10403 | static int btf_check_subprog_call(struct bpf_verifier_env *env, int subprog, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10431:12: error: invalid storage class for function ‘push_callback_call’ +10431 | static int push_callback_call(struct bpf_verifier_env *env, struct bpf_insn *insn, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10500:12: error: invalid storage class for function ‘check_func_call’ +10500 | static int check_func_call(struct bpf_verifier_env *env, struct bpf_insn *insn, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_func_call’: +../kernel/bpf/verifier.c:10560:57: error: ‘set_callee_state’ undeclared (first use in this function); did you mean ‘set_callee_state_fn’? +10560 | err = setup_func_entry(env, subprog, *insn_idx, set_callee_state, state); + | ^~~~~~~~~~~~~~~~ + | set_callee_state_fn +../kernel/bpf/verifier.c:10560:57: note: each undeclared identifier is reported only once for each function it appears in +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:10606:12: error: invalid storage class for function ‘set_callee_state’ +10606 | static int set_callee_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10620:12: error: invalid storage class for function ‘set_map_elem_callback_state’ +10620 | static int set_map_elem_callback_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10646:12: error: invalid storage class for function ‘set_loop_callback_state’ +10646 | static int set_loop_callback_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10668:12: error: invalid storage class for function ‘set_timer_callback_state’ +10668 | static int set_timer_callback_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10698:12: error: invalid storage class for function ‘set_find_vma_callback_state’ +10698 | static int set_find_vma_callback_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10726:12: error: invalid storage class for function ‘set_user_ringbuf_callback_state’ +10726 | static int set_user_ringbuf_callback_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10749:12: error: invalid storage class for function ‘set_rbtree_add_callback_state’ +10749 | static int set_rbtree_add_callback_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10781:13: error: invalid storage class for function ‘is_rbtree_lock_required_kfunc’ +10781 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10787:13: error: invalid storage class for function ‘in_rbtree_lock_required_cb’ +10787 | static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘in_rbtree_lock_required_cb’: +../kernel/bpf/verifier.c:10803:16: error: implicit declaration of function ‘is_rbtree_lock_required_kfunc’; did you mean ‘in_rbtree_lock_required_cb’? [-Wimplicit-function-declaration] +10803 | return is_rbtree_lock_required_kfunc(kfunc_btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | in_rbtree_lock_required_cb +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:10806:13: error: invalid storage class for function ‘retval_range_within’ +10806 | static bool retval_range_within(struct bpf_retval_range range, const struct bpf_reg_state *reg, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10815:12: error: invalid storage class for function ‘prepare_func_exit’ +10815 | static int prepare_func_exit(struct bpf_verifier_env *env, int *insn_idx) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10906:12: error: invalid storage class for function ‘do_refine_retval_range’ +10906 | static int do_refine_retval_range(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10945:1: error: invalid storage class for function ‘record_func_map’ +10945 | record_func_map(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10991:1: error: invalid storage class for function ‘record_func_key’ +10991 | record_func_key(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11027:12: error: invalid storage class for function ‘check_reference_leak’ +11027 | static int check_reference_leak(struct bpf_verifier_env *env, bool exception_exit) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11054:12: error: invalid storage class for function ‘check_resource_leak’ +11054 | static int check_resource_leak(struct bpf_verifier_env *env, bool exception_exit, bool check_lock, const char *prefix) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11087:12: error: invalid storage class for function ‘check_bpf_snprintf_call’ +11087 | static int check_bpf_snprintf_call(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11125:12: error: invalid storage class for function ‘check_get_func_ip’ +11125 | static int check_get_func_ip(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11146:34: error: invalid storage class for function ‘cur_aux’ +11146 | static struct bpf_insn_aux_data *cur_aux(struct bpf_verifier_env *env) + | ^~~~~~~ +../kernel/bpf/verifier.c:11151:13: error: invalid storage class for function ‘loop_flag_is_zero’ +11151 | static bool loop_flag_is_zero(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11163:13: error: invalid storage class for function ‘update_loop_inline_state’ +11163 | static void update_loop_inline_state(struct bpf_verifier_env *env, u32 subprogno) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11185:13: error: invalid storage class for function ‘can_elide_value_nullness’ +11185 | static bool can_elide_value_nullness(enum bpf_map_type type) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11196:12: error: invalid storage class for function ‘get_helper_proto’ +11196 | static int get_helper_proto(struct bpf_verifier_env *env, int func_id, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11209:12: error: invalid storage class for function ‘check_helper_call’ +11209 | static int check_helper_call(struct bpf_verifier_env *env, struct bpf_insn *insn, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11745:13: error: invalid storage class for function ‘__mark_btf_func_reg_size’ +11745 | static void __mark_btf_func_reg_size(struct bpf_verifier_env *env, struct bpf_reg_state *regs, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11766:13: error: invalid storage class for function ‘mark_btf_func_reg_size’ +11766 | static void mark_btf_func_reg_size(struct bpf_verifier_env *env, u32 regno, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11772:13: error: invalid storage class for function ‘is_kfunc_acquire’ +11772 | static bool is_kfunc_acquire(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11777:13: error: invalid storage class for function ‘is_kfunc_release’ +11777 | static bool is_kfunc_release(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11782:13: error: invalid storage class for function ‘is_kfunc_trusted_args’ +11782 | static bool is_kfunc_trusted_args(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11787:13: error: invalid storage class for function ‘is_kfunc_sleepable’ +11787 | static bool is_kfunc_sleepable(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11792:13: error: invalid storage class for function ‘is_kfunc_destructive’ +11792 | static bool is_kfunc_destructive(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11797:13: error: invalid storage class for function ‘is_kfunc_rcu’ +11797 | static bool is_kfunc_rcu(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:11802:13: error: invalid storage class for function ‘is_kfunc_rcu_protected’ +11802 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11807:13: error: invalid storage class for function ‘is_kfunc_arg_mem_size’ +11807 | static bool is_kfunc_arg_mem_size(const struct btf *btf, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11820:13: error: invalid storage class for function ‘is_kfunc_arg_const_mem_size’ +11820 | static bool is_kfunc_arg_const_mem_size(const struct btf *btf, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11833:13: error: invalid storage class for function ‘is_kfunc_arg_optional’ +11833 | static bool is_kfunc_arg_optional(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11838:13: error: invalid storage class for function ‘is_kfunc_arg_constant’ +11838 | static bool is_kfunc_arg_constant(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11843:13: error: invalid storage class for function ‘is_kfunc_arg_ignore’ +11843 | static bool is_kfunc_arg_ignore(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11848:13: error: invalid storage class for function ‘is_kfunc_arg_map’ +11848 | static bool is_kfunc_arg_map(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11853:13: error: invalid storage class for function ‘is_kfunc_arg_alloc_obj’ +11853 | static bool is_kfunc_arg_alloc_obj(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11858:13: error: invalid storage class for function ‘is_kfunc_arg_uninit’ +11858 | static bool is_kfunc_arg_uninit(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11863:13: error: invalid storage class for function ‘is_kfunc_arg_refcounted_kptr’ +11863 | static bool is_kfunc_arg_refcounted_kptr(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11868:13: error: invalid storage class for function ‘is_kfunc_arg_nullable’ +11868 | static bool is_kfunc_arg_nullable(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11873:13: error: invalid storage class for function ‘is_kfunc_arg_const_str’ +11873 | static bool is_kfunc_arg_const_str(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11878:13: error: invalid storage class for function ‘is_kfunc_arg_irq_flag’ +11878 | static bool is_kfunc_arg_irq_flag(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11883:13: error: invalid storage class for function ‘is_kfunc_arg_prog’ +11883 | static bool is_kfunc_arg_prog(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11888:13: error: invalid storage class for function ‘is_kfunc_arg_scalar_with_name’ +11888 | static bool is_kfunc_arg_scalar_with_name(const struct btf *btf, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11926:13: error: invalid storage class for function ‘__is_kfunc_ptr_arg_type’ +11926 | static bool __is_kfunc_ptr_arg_type(const struct btf *btf, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11943:13: error: invalid storage class for function ‘is_kfunc_arg_dynptr’ +11943 | static bool is_kfunc_arg_dynptr(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11948:13: error: invalid storage class for function ‘is_kfunc_arg_list_head’ +11948 | static bool is_kfunc_arg_list_head(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11953:13: error: invalid storage class for function ‘is_kfunc_arg_list_node’ +11953 | static bool is_kfunc_arg_list_node(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11958:13: error: invalid storage class for function ‘is_kfunc_arg_rbtree_root’ +11958 | static bool is_kfunc_arg_rbtree_root(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11963:13: error: invalid storage class for function ‘is_kfunc_arg_rbtree_node’ +11963 | static bool is_kfunc_arg_rbtree_node(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11968:13: error: invalid storage class for function ‘is_kfunc_arg_wq’ +11968 | static bool is_kfunc_arg_wq(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11973:13: error: invalid storage class for function ‘is_kfunc_arg_res_spin_lock’ +11973 | static bool is_kfunc_arg_res_spin_lock(const struct btf *btf, const struct btf_param *arg) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11978:13: error: invalid storage class for function ‘is_rbtree_node_type’ +11978 | static bool is_rbtree_node_type(const struct btf_type *t) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11983:13: error: invalid storage class for function ‘is_list_node_type’ +11983 | static bool is_list_node_type(const struct btf_type *t) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11988:13: error: invalid storage class for function ‘is_kfunc_arg_callback’ +11988 | static bool is_kfunc_arg_callback(struct bpf_verifier_env *env, const struct btf *btf, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12001:13: error: invalid storage class for function ‘__btf_type_is_scalar_struct’ +12001 | static bool __btf_type_is_scalar_struct(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12211:13: error: invalid storage class for function ‘is_kfunc_ret_null’ +12211 | static bool is_kfunc_ret_null(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12221:13: error: invalid storage class for function ‘is_kfunc_bpf_rcu_read_lock’ +12221 | static bool is_kfunc_bpf_rcu_read_lock(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12226:13: error: invalid storage class for function ‘is_kfunc_bpf_rcu_read_unlock’ +12226 | static bool is_kfunc_bpf_rcu_read_unlock(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12231:13: error: invalid storage class for function ‘is_kfunc_bpf_preempt_disable’ +12231 | static bool is_kfunc_bpf_preempt_disable(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12236:13: error: invalid storage class for function ‘is_kfunc_bpf_preempt_enable’ +12236 | static bool is_kfunc_bpf_preempt_enable(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12242:1: error: invalid storage class for function ‘get_kfunc_ptr_arg_type’ +12242 | get_kfunc_ptr_arg_type(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12337:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_btf_id’ +12337 | static int process_kf_arg_ptr_to_btf_id(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12409:12: error: invalid storage class for function ‘process_irq_flag’ +12409 | static int process_irq_flag(struct bpf_verifier_env *env, int regno, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12463:12: error: invalid storage class for function ‘ref_set_non_owning’ +12463 | static int ref_set_non_owning(struct bpf_verifier_env *env, struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12484:12: error: invalid storage class for function ‘ref_convert_owning_non_owning’ +12484 | static int ref_convert_owning_non_owning(struct bpf_verifier_env *env, u32 ref_obj_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12561:12: error: invalid storage class for function ‘check_reg_allocation_locked’ +12561 | static int check_reg_allocation_locked(struct bpf_verifier_env *env, struct bpf_reg_state *reg) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12590:13: error: invalid storage class for function ‘is_bpf_list_api_kfunc’ +12590 | static bool is_bpf_list_api_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12600:13: error: invalid storage class for function ‘is_bpf_rbtree_api_kfunc’ +12600 | static bool is_bpf_rbtree_api_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12610:13: error: invalid storage class for function ‘is_bpf_iter_num_api_kfunc’ +12610 | static bool is_bpf_iter_num_api_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12617:13: error: invalid storage class for function ‘is_bpf_graph_api_kfunc’ +12617 | static bool is_bpf_graph_api_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12623:13: error: invalid storage class for function ‘is_bpf_res_spin_lock_kfunc’ +12623 | static bool is_bpf_res_spin_lock_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12631:13: error: invalid storage class for function ‘kfunc_spin_allowed’ +12631 | static bool kfunc_spin_allowed(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12637:13: error: invalid storage class for function ‘is_sync_callback_calling_kfunc’ +12637 | static bool is_sync_callback_calling_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12642:13: error: invalid storage class for function ‘is_async_callback_calling_kfunc’ +12642 | static bool is_async_callback_calling_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12647:13: error: invalid storage class for function ‘is_bpf_throw_kfunc’ +12647 | static bool is_bpf_throw_kfunc(struct bpf_insn *insn) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12653:13: error: invalid storage class for function ‘is_bpf_wq_set_callback_impl_kfunc’ +12653 | static bool is_bpf_wq_set_callback_impl_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12658:13: error: invalid storage class for function ‘is_callback_calling_kfunc’ +12658 | static bool is_callback_calling_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12664:13: error: invalid storage class for function ‘is_rbtree_lock_required_kfunc’ +12664 | static bool is_rbtree_lock_required_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12669:13: error: invalid storage class for function ‘check_kfunc_is_graph_root_api’ +12669 | static bool check_kfunc_is_graph_root_api(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12694:13: error: invalid storage class for function ‘check_kfunc_is_graph_node_api’ +12694 | static bool check_kfunc_is_graph_node_api(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12724:1: error: invalid storage class for function ‘__process_kf_arg_ptr_to_graph_root’ +12724 | __process_kf_arg_ptr_to_graph_root(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12774:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_list_head’ +12774 | static int process_kf_arg_ptr_to_list_head(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12782:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_rbtree_root’ +12782 | static int process_kf_arg_ptr_to_rbtree_root(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12791:1: error: invalid storage class for function ‘__process_kf_arg_ptr_to_graph_node’ +12791 | __process_kf_arg_ptr_to_graph_node(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12855:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_list_node’ +12855 | static int process_kf_arg_ptr_to_list_node(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12864:12: error: invalid storage class for function ‘process_kf_arg_ptr_to_rbtree_node’ +12864 | static int process_kf_arg_ptr_to_rbtree_node(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12879:13: error: invalid storage class for function ‘check_css_task_iter_allowlist’ +12879 | static bool check_css_task_iter_allowlist(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12895:12: error: invalid storage class for function ‘check_kfunc_args’ +12895 | static int check_kfunc_args(struct bpf_verifier_env *env, struct bpf_kfunc_call_arg_meta *meta, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:13412:12: error: invalid storage class for function ‘fetch_kfunc_meta’ +13412 | static int fetch_kfunc_meta(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:13454:12: error: invalid storage class for function ‘check_return_code’ +13454 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:13456:12: error: invalid storage class for function ‘check_kfunc_call’ +13456 | static int check_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘check_kfunc_call’: +../kernel/bpf/verifier.c:13657:31: error: implicit declaration of function ‘check_return_code’ [-Wimplicit-function-declaration] +13657 | err = check_return_code(env, BPF_REG_1, "R1"); + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:13952:13: error: invalid storage class for function ‘check_reg_sane_offset’ +13952 | static bool check_reg_sane_offset(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:13995:12: error: invalid storage class for function ‘retrieve_ptr_limit’ +13995 | static int retrieve_ptr_limit(const struct bpf_reg_state *ptr_reg, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14026:13: error: invalid storage class for function ‘can_skip_alu_sanitation’ +14026 | static bool can_skip_alu_sanitation(const struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14032:12: error: invalid storage class for function ‘update_alu_sanitation_state’ +14032 | static int update_alu_sanitation_state(struct bpf_insn_aux_data *aux, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14049:12: error: invalid storage class for function ‘sanitize_val_alu’ +14049 | static int sanitize_val_alu(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14060:13: error: invalid storage class for function ‘sanitize_needed’ +14060 | static bool sanitize_needed(u8 opcode) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14071:1: error: invalid storage class for function ‘sanitize_speculative_path’ +14071 | sanitize_speculative_path(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14091:12: error: invalid storage class for function ‘sanitize_ptr_alu’ +14091 | static int sanitize_ptr_alu(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14187:13: error: invalid storage class for function ‘sanitize_mark_insn_seen’ +14187 | static void sanitize_mark_insn_seen(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14200:12: error: invalid storage class for function ‘sanitize_err’ +14200 | static int sanitize_err(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:14249:12: error: invalid storage class for function ‘check_stack_access_for_ptr_arithmetic’ +14249 | static int check_stack_access_for_ptr_arithmetic( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14273:12: error: invalid storage class for function ‘sanitize_check_bounds’ +14273 | static int sanitize_check_bounds(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14310:12: error: invalid storage class for function ‘adjust_ptr_min_max_vals’ +14310 | static int adjust_ptr_min_max_vals(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14538:13: error: invalid storage class for function ‘scalar32_min_max_add’ +14538 | static void scalar32_min_max_add(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14558:13: error: invalid storage class for function ‘scalar_min_max_add’ +14558 | static void scalar_min_max_add(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14578:13: error: invalid storage class for function ‘scalar32_min_max_sub’ +14578 | static void scalar32_min_max_sub(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14603:13: error: invalid storage class for function ‘scalar_min_max_sub’ +14603 | static void scalar_min_max_sub(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14628:13: error: invalid storage class for function ‘scalar32_min_max_mul’ +14628 | static void scalar32_min_max_mul(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14656:13: error: invalid storage class for function ‘scalar_min_max_mul’ +14656 | static void scalar_min_max_mul(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14684:13: error: invalid storage class for function ‘scalar32_min_max_and’ +14684 | static void scalar32_min_max_and(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14715:13: error: invalid storage class for function ‘scalar_min_max_and’ +14715 | static void scalar_min_max_and(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14747:13: error: invalid storage class for function ‘scalar32_min_max_or’ +14747 | static void scalar32_min_max_or(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14778:13: error: invalid storage class for function ‘scalar_min_max_or’ +14778 | static void scalar_min_max_or(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14810:13: error: invalid storage class for function ‘scalar32_min_max_xor’ +14810 | static void scalar32_min_max_xor(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14838:13: error: invalid storage class for function ‘scalar_min_max_xor’ +14838 | static void scalar_min_max_xor(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14868:13: error: invalid storage class for function ‘__scalar32_min_max_lsh’ +14868 | static void __scalar32_min_max_lsh(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14886:13: error: invalid storage class for function ‘scalar32_min_max_lsh’ +14886 | static void scalar32_min_max_lsh(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14904:13: error: invalid storage class for function ‘__scalar64_min_max_lsh’ +14904 | static void __scalar64_min_max_lsh(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14934:13: error: invalid storage class for function ‘scalar_min_max_lsh’ +14934 | static void scalar_min_max_lsh(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14949:13: error: invalid storage class for function ‘scalar32_min_max_rsh’ +14949 | static void scalar32_min_max_rsh(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:14981:13: error: invalid storage class for function ‘scalar_min_max_rsh’ +14981 | static void scalar_min_max_rsh(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:15015:13: error: invalid storage class for function ‘scalar32_min_max_arsh’ +15015 | static void scalar32_min_max_arsh(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:15038:13: error: invalid storage class for function ‘scalar_min_max_arsh’ +15038 | static void scalar_min_max_arsh(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:15065:13: error: invalid storage class for function ‘is_safe_to_compute_dst_reg_range’ +15065 | static bool is_safe_to_compute_dst_reg_range(struct bpf_insn *insn, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:15109:12: error: invalid storage class for function ‘adjust_scalar_min_max_vals’ +15109 | static int adjust_scalar_min_max_vals(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:15206:12: error: invalid storage class for function ‘adjust_reg_min_max_vals’ +15206 | static int adjust_reg_min_max_vals(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:15341:12: error: invalid storage class for function ‘check_alu_op’ +15341 | static int check_alu_op(struct bpf_verifier_env *env, struct bpf_insn *insn) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:15580:13: error: invalid storage class for function ‘find_good_pkt_pointers’ +15580 | static void find_good_pkt_pointers(struct bpf_verifier_state *vstate, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:15662:12: error: invalid storage class for function ‘is_scalar_branch_taken’ +15662 | static int is_scalar_branch_taken(struct bpf_reg_state *reg1, struct bpf_reg_state *reg2, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:15790:12: error: invalid storage class for function ‘flip_opcode’ +15790 | static int flip_opcode(u32 opcode) + | ^~~~~~~~~~~ +../kernel/bpf/verifier.c:15811:12: error: invalid storage class for function ‘is_pkt_ptr_branch_taken’ +15811 | static int is_pkt_ptr_branch_taken(struct bpf_reg_state *dst_reg, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:15858:12: error: invalid storage class for function ‘is_branch_taken’ +15858 | static int is_branch_taken(struct bpf_reg_state *reg1, struct bpf_reg_state *reg2, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:15903:11: error: invalid storage class for function ‘rev_opcode’ +15903 | static u8 rev_opcode(u8 opcode) + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:15926:13: error: invalid storage class for function ‘regs_refine_cond_op’ +15926 | static void regs_refine_cond_op(struct bpf_reg_state *reg1, struct bpf_reg_state *reg2, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:16098:12: error: invalid storage class for function ‘reg_set_min_max’ +16098 | static int reg_set_min_max(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:16131:13: error: invalid storage class for function ‘mark_ptr_or_null_reg’ +16131 | static void mark_ptr_or_null_reg(struct bpf_func_state *state, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:16181:13: error: invalid storage class for function ‘mark_ptr_or_null_regs’ +16181 | static void mark_ptr_or_null_regs(struct bpf_verifier_state *vstate, u32 regno, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:16201:13: error: invalid storage class for function ‘try_match_pkt_pointers’ +16201 | static bool try_match_pkt_pointers(const struct bpf_insn *insn, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:16306:13: error: invalid storage class for function ‘__collect_linked_regs’ +16306 | static void __collect_linked_regs(struct linked_regs *reg_set, struct bpf_reg_state *reg, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:16328:13: error: invalid storage class for function ‘collect_linked_regs’ +16328 | static void collect_linked_regs(struct bpf_verifier_state *vstate, u32 id, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:16354:13: error: invalid storage class for function ‘sync_linked_regs’ +16354 | static void sync_linked_regs(struct bpf_verifier_state *vstate, struct bpf_reg_state *known_reg, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:16399:12: error: invalid storage class for function ‘check_cond_jmp_op’ +16399 | static int check_cond_jmp_op(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:16639:12: error: invalid storage class for function ‘check_ld_imm’ +16639 | static int check_ld_imm(struct bpf_verifier_env *env, struct bpf_insn *insn) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:16735:13: error: invalid storage class for function ‘may_access_skb’ +16735 | static bool may_access_skb(enum bpf_prog_type type) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:16762:12: error: invalid storage class for function ‘check_ld_abs’ +16762 | static int check_ld_abs(struct bpf_verifier_env *env, struct bpf_insn *insn) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:16832:12: error: invalid storage class for function ‘check_return_code’ +16832 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17032:13: error: invalid storage class for function ‘mark_subprog_changes_pkt_data’ +17032 | static void mark_subprog_changes_pkt_data(struct bpf_verifier_env *env, int off) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17040:13: error: invalid storage class for function ‘mark_subprog_might_sleep’ +17040 | static void mark_subprog_might_sleep(struct bpf_verifier_env *env, int off) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17054:13: error: invalid storage class for function ‘merge_callee_effects’ +17054 | static void merge_callee_effects(struct bpf_verifier_env *env, int t, int w) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17104:13: error: invalid storage class for function ‘mark_prune_point’ +17104 | static void mark_prune_point(struct bpf_verifier_env *env, int idx) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17109:13: error: invalid storage class for function ‘is_prune_point’ +17109 | static bool is_prune_point(struct bpf_verifier_env *env, int insn_idx) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17114:13: error: invalid storage class for function ‘mark_force_checkpoint’ +17114 | static void mark_force_checkpoint(struct bpf_verifier_env *env, int idx) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17119:13: error: invalid storage class for function ‘is_force_checkpoint’ +17119 | static bool is_force_checkpoint(struct bpf_verifier_env *env, int insn_idx) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17124:13: error: invalid storage class for function ‘mark_calls_callback’ +17124 | static void mark_calls_callback(struct bpf_verifier_env *env, int idx) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17129:13: error: invalid storage class for function ‘calls_callback’ +17129 | static bool calls_callback(struct bpf_verifier_env *env, int insn_idx) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17144:12: error: invalid storage class for function ‘push_insn’ +17144 | static int push_insn(int t, int w, int e, struct bpf_verifier_env *env) + | ^~~~~~~~~ +../kernel/bpf/verifier.c:17192:12: error: invalid storage class for function ‘visit_func_call_insn’ +17192 | static int visit_func_call_insn(int t, struct bpf_insn *insns, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17224:13: error: invalid storage class for function ‘verifier_inlines_helper_call’ +17224 | static bool verifier_inlines_helper_call(struct bpf_verifier_env *env, s32 imm) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17245:13: error: invalid storage class for function ‘get_call_summary’ +17245 | static bool get_call_summary(struct bpf_verifier_env *env, struct bpf_insn *call, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17360:13: error: invalid storage class for function ‘mark_fastcall_pattern_for_call’ +17360 | static void mark_fastcall_pattern_for_call(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17447:12: error: invalid storage class for function ‘mark_fastcall_patterns’ +17447 | static int mark_fastcall_patterns(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17480:12: error: invalid storage class for function ‘visit_insn’ +17480 | static int visit_insn(int t, struct bpf_verifier_env *env) + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:17600:12: error: invalid storage class for function ‘check_cfg’ +17600 | static int check_cfg(struct bpf_verifier_env *env) + | ^~~~~~~~~ +../kernel/bpf/verifier.c:17694:12: error: invalid storage class for function ‘check_abnormal_return’ +17694 | static int check_abnormal_return(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17715:12: error: invalid storage class for function ‘check_btf_func_early’ +17715 | static int check_btf_func_early(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17817:12: error: invalid storage class for function ‘check_btf_func’ +17817 | static int check_btf_func(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17892:13: error: invalid storage class for function ‘adjust_btf_func’ +17892 | static void adjust_btf_func(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:17908:12: error: invalid storage class for function ‘check_btf_line’ +17908 | static int check_btf_line(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18036:12: error: invalid storage class for function ‘check_core_relo’ +18036 | static int check_core_relo(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18105:12: error: invalid storage class for function ‘check_btf_info_early’ +18105 | static int check_btf_info_early(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18133:12: error: invalid storage class for function ‘check_btf_info’ +18133 | static int check_btf_info(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18161:13: error: invalid storage class for function ‘range_within’ +18161 | static bool range_within(const struct bpf_reg_state *old, + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:18184:13: error: invalid storage class for function ‘check_ids’ +18184 | static bool check_ids(u32 old_id, u32 cur_id, struct bpf_idmap *idmap) + | ^~~~~~~~~ +../kernel/bpf/verifier.c:18217:13: error: invalid storage class for function ‘check_scalar_ids’ +18217 | static bool check_scalar_ids(u32 old_id, u32 cur_id, struct bpf_idmap *idmap) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18225:13: error: invalid storage class for function ‘clean_func_state’ +18225 | static void clean_func_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18254:13: error: invalid storage class for function ‘clean_verifier_state’ +18254 | static void clean_verifier_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18299:13: error: invalid storage class for function ‘clean_live_states’ +18299 | static void clean_live_states(struct bpf_verifier_env *env, int insn, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18321:13: error: invalid storage class for function ‘regs_exact’ +18321 | static bool regs_exact(const struct bpf_reg_state *rold, + | ^~~~~~~~~~ +../kernel/bpf/verifier.c:18337:13: error: invalid storage class for function ‘regsafe’ +18337 | static bool regsafe(struct bpf_verifier_env *env, struct bpf_reg_state *rold, + | ^~~~~~~ +../kernel/bpf/verifier.c:18467:19: error: invalid storage class for function ‘unbound_reg_init’ +18467 | static __init int unbound_reg_init(void) + | ^~~~~~~~~~~~~~~~ +In file included from ../include/uapi/linux/filter.h:9, + from ../include/linux/bpf.h:8, + from ../include/linux/bpf-cgroup.h:5, + from ../kernel/bpf/verifier.c:7: +../include/linux/compiler.h:286:52: error: initializer element is not constant + 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:256:9: note: in expansion of macro ‘__ADDRESSABLE’ + 256 | __ADDRESSABLE(fn) + | ^~~~~~~~~~~~~ +../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ + 261 | __define_initcall_stub(__stub, fn) \ + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ + 274 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ + 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ + 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ + 313 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18473:1: note: in expansion of macro ‘late_initcall’ +18473 | late_initcall(unbound_reg_init); + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18475:13: error: invalid storage class for function ‘is_stack_all_misc’ +18475 | static bool is_stack_all_misc(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18490:30: error: invalid storage class for function ‘scalar_reg_for_stack’ +18490 | static struct bpf_reg_state *scalar_reg_for_stack(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18502:13: error: invalid storage class for function ‘stacksafe’ +18502 | static bool stacksafe(struct bpf_verifier_env *env, struct bpf_func_state *old, + | ^~~~~~~~~ +../kernel/bpf/verifier.c:18634:13: error: invalid storage class for function ‘refsafe’ +18634 | static bool refsafe(struct bpf_verifier_state *old, struct bpf_verifier_state *cur, + | ^~~~~~~ +../kernel/bpf/verifier.c:18707:13: error: invalid storage class for function ‘func_states_equal’ +18707 | static bool func_states_equal(struct bpf_verifier_env *env, struct bpf_func_state *old, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18728:13: error: invalid storage class for function ‘reset_idmap_scratch’ +18728 | static void reset_idmap_scratch(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18734:13: error: invalid storage class for function ‘states_equal’ +18734 | static bool states_equal(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:18777:12: error: invalid storage class for function ‘propagate_liveness_reg’ +18777 | static int propagate_liveness_reg(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18810:12: error: invalid storage class for function ‘propagate_liveness’ +18810 | static int propagate_liveness(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18857:12: error: invalid storage class for function ‘propagate_precision’ +18857 | static int propagate_precision(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18913:13: error: invalid storage class for function ‘states_maybe_looping’ +18913 | static bool states_maybe_looping(struct bpf_verifier_state *old, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18931:13: error: invalid storage class for function ‘is_iter_next_insn’ +18931 | static bool is_iter_next_insn(struct bpf_verifier_env *env, int insn_idx) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:18994:13: error: invalid storage class for function ‘iter_active_depths_differ’ +18994 | static bool iter_active_depths_differ(struct bpf_verifier_state *old, struct bpf_verifier_state *cur) + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:19018:12: error: invalid storage class for function ‘is_state_visited’ +19018 | static int is_state_visited(struct bpf_verifier_env *env, int insn_idx) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c: In function ‘is_state_visited’: +../kernel/bpf/verifier.c:19123:55: error: called object ‘func’ is not a function or function pointer +19123 | iter_state = &func(env, iter_reg)->stack[spi].spilled_ptr; + | ^~~~ +../kernel/bpf/verifier.c:4659:32: note: declared here + 4659 | struct bpf_func_state *func; + | ^~~~ +../kernel/bpf/verifier.c:19111:45: warning: variable ‘spi’ set but not used [-Wunused-but-set-variable] +19111 | int spi; + | ^~~ +../kernel/bpf/verifier.c: In function ‘__mark_chain_precision’: +../kernel/bpf/verifier.c:19349:13: error: invalid storage class for function ‘reg_type_mismatch_ok’ +19349 | static bool reg_type_mismatch_ok(enum bpf_reg_type type) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:19377:13: error: invalid storage class for function ‘reg_type_mismatch’ +19377 | static bool reg_type_mismatch(enum bpf_reg_type src, enum bpf_reg_type prev) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:19383:12: error: invalid storage class for function ‘save_aux_ptr_type’ +19383 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:19421:12: error: invalid storage class for function ‘do_check’ +19421 | static int do_check(struct bpf_verifier_env *env) + | ^~~~~~~~ +../kernel/bpf/verifier.c:19732:12: error: invalid storage class for function ‘find_btf_percpu_datasec’ +19732 | static int find_btf_percpu_datasec(struct btf *btf) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:19768:12: error: invalid storage class for function ‘__add_used_btf’ +19768 | static int __add_used_btf(struct bpf_verifier_env *env, struct btf *btf) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:19800:12: error: invalid storage class for function ‘__check_pseudo_btf_id’ +19800 | static int __check_pseudo_btf_id(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:19883:12: error: invalid storage class for function ‘check_pseudo_btf_id’ +19883 | static int check_pseudo_btf_id(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:19918:13: error: invalid storage class for function ‘is_tracing_prog_type’ +19918 | static bool is_tracing_prog_type(enum bpf_prog_type type) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:19932:13: error: invalid storage class for function ‘bpf_map_is_cgroup_storage’ +19932 | static bool bpf_map_is_cgroup_storage(struct bpf_map *map) + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:19938:12: error: invalid storage class for function ‘check_map_prog_compatibility’ +19938 | static int check_map_prog_compatibility(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20049:12: error: invalid storage class for function ‘__add_used_map’ +20049 | static int __add_used_map(struct bpf_verifier_env *env, struct bpf_map *map) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20087:12: error: invalid storage class for function ‘add_used_map’ +20087 | static int add_used_map(struct bpf_verifier_env *env, int fd) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:20108:12: error: invalid storage class for function ‘resolve_pseudo_ldimm64’ +20108 | static int resolve_pseudo_ldimm64(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20251:13: error: invalid storage class for function ‘release_maps’ +20251 | static void release_maps(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:20258:13: error: invalid storage class for function ‘release_btfs’ +20258 | static void release_btfs(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:20264:13: error: invalid storage class for function ‘convert_pseudo_ld_imm64’ +20264 | static void convert_pseudo_ld_imm64(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20283:13: error: invalid storage class for function ‘adjust_insn_aux_data’ +20283 | static void adjust_insn_aux_data(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20315:13: error: invalid storage class for function ‘adjust_subprog_starts’ +20315 | static void adjust_subprog_starts(struct bpf_verifier_env *env, u32 off, u32 len) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20329:13: error: invalid storage class for function ‘adjust_poke_descs’ +20329 | static void adjust_poke_descs(struct bpf_prog *prog, u32 off, u32 len) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20343:25: error: invalid storage class for function ‘bpf_patch_insn_data’ +20343 | static struct bpf_prog *bpf_patch_insn_data(struct bpf_verifier_env *env, u32 off, + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20375:12: error: invalid storage class for function ‘adjust_jmp_off’ +20375 | static int adjust_jmp_off(struct bpf_prog *prog, u32 tgt_idx, u32 delta) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20409:12: error: invalid storage class for function ‘adjust_subprog_starts_after_remove’ +20409 | static int adjust_subprog_starts_after_remove(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20465:12: error: invalid storage class for function ‘bpf_adj_linfo_after_remove’ +20465 | static int bpf_adj_linfo_after_remove(struct bpf_verifier_env *env, u32 off, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20529:12: error: invalid storage class for function ‘verifier_remove_insns’ +20529 | static int verifier_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) + | ^~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20567:13: error: invalid storage class for function ‘sanitize_dead_code’ +20567 | static void sanitize_dead_code(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20583:13: error: invalid storage class for function ‘insn_is_cond_jump’ +20583 | static bool insn_is_cond_jump(u8 code) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20597:13: error: invalid storage class for function ‘opt_hard_wire_dead_code_branches’ +20597 | static void opt_hard_wire_dead_code_branches(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20623:12: error: invalid storage class for function ‘opt_remove_dead_code’ +20623 | static int opt_remove_dead_code(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20650:12: error: invalid storage class for function ‘opt_remove_nops’ +20650 | static int opt_remove_nops(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20675:12: error: invalid storage class for function ‘opt_subreg_zext_lo32_rnd_hi32’ +20675 | static int opt_subreg_zext_lo32_rnd_hi32(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:20778:12: error: invalid storage class for function ‘convert_ctx_accesses’ +20778 | static int convert_ctx_accesses(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:21049:12: error: invalid storage class for function ‘jit_subprogs’ +21049 | static int jit_subprogs(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~ +../kernel/bpf/verifier.c:21312:12: error: invalid storage class for function ‘fixup_call_args’ +21312 | static int fixup_call_args(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:21364:13: error: invalid storage class for function ‘specialize_kfunc’ +21364 | static void specialize_kfunc(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:21406:13: error: invalid storage class for function ‘__fixup_collection_insert_kfunc’ +21406 | static void __fixup_collection_insert_kfunc(struct bpf_insn_aux_data *insn_aux, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:21423:12: error: invalid storage class for function ‘fixup_kfunc_call’ +21423 | static int fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:21531:12: error: invalid storage class for function ‘add_hidden_subprog’ +21531 | static int add_hidden_subprog(struct bpf_verifier_env *env, struct bpf_insn *patch, int len) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:21560:12: error: invalid storage class for function ‘do_misc_fixups’ +21560 | static int do_misc_fixups(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:22487:25: error: invalid storage class for function ‘inline_bpf_loop’ +22487 | static struct bpf_prog *inline_bpf_loop(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:22563:13: error: invalid storage class for function ‘is_bpf_loop_call’ +22563 | static bool is_bpf_loop_call(struct bpf_insn *insn) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:22579:12: error: invalid storage class for function ‘optimize_bpf_loop’ +22579 | static int optimize_bpf_loop(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:22627:12: error: invalid storage class for function ‘remove_fastcall_spills_fills’ +22627 | static int remove_fastcall_spills_fills(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:22658:13: error: invalid storage class for function ‘free_states’ +22658 | static void free_states(struct bpf_verifier_env *env) + | ^~~~~~~~~~~ +../kernel/bpf/verifier.c:22686:12: error: invalid storage class for function ‘do_check_common’ +22686 | static int do_check_common(struct bpf_verifier_env *env, int subprog) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:22841:12: error: invalid storage class for function ‘do_check_subprogs’ +22841 | static int do_check_subprogs(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:22891:12: error: invalid storage class for function ‘do_check_main’ +22891 | static int do_check_main(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~ +../kernel/bpf/verifier.c:22903:13: error: invalid storage class for function ‘print_verification_stats’ +22903 | static void print_verification_stats(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:22936:12: error: invalid storage class for function ‘check_struct_ops_btf_id’ +22936 | static int check_struct_ops_btf_id(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23047:12: error: invalid storage class for function ‘check_attach_modify_return’ +23047 | static int check_attach_modify_return(unsigned long addr, const char *func_name) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23072:12: error: invalid storage class for function ‘check_non_sleepable_error_inject’ +23072 | static int check_non_sleepable_error_inject(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23454:13: error: invalid storage class for function ‘can_be_sleepable’ +23454 | static bool can_be_sleepable(struct bpf_prog *prog) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23472:12: error: invalid storage class for function ‘check_attach_btf_id’ +23472 | static int check_attach_btf_id(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23575:12: error: invalid storage class for function ‘add_fd_from_fd_array’ +23575 | static int add_fd_from_fd_array(struct bpf_verifier_env *env, int fd) + | ^~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23602:12: error: invalid storage class for function ‘process_fd_array’ +23602 | static int process_fd_array(struct bpf_verifier_env *env, union bpf_attr *attr, bpfptr_t uattr) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23637:13: error: invalid storage class for function ‘can_fallthrough’ +23637 | static bool can_fallthrough(struct bpf_insn *insn) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23651:13: error: invalid storage class for function ‘can_jump’ +23651 | static bool can_jump(struct bpf_insn *insn) + | ^~~~~~~~ +../kernel/bpf/verifier.c:23678:12: error: invalid storage class for function ‘insn_successors’ +23678 | static int insn_successors(struct bpf_prog *prog, u32 idx, u32 succ[2]) + | ^~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23709:13: error: invalid storage class for function ‘compute_insn_live_regs’ +23709 | static void compute_insn_live_regs(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23846:12: error: invalid storage class for function ‘compute_live_registers’ +23846 | static int compute_live_registers(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:24199:1: error: expected declaration or statement at end of input +24199 | } + | ^ +../kernel/bpf/verifier.c: At top level: +../kernel/bpf/verifier.c:200:12: warning: ‘release_reference_nomark’ declared ‘static’ but never defined [-Wunused-function] + 200 | static int release_reference_nomark(struct bpf_verifier_state *state, int ref_obj_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:201:12: warning: ‘release_reference’ used but never defined + 201 | static int release_reference(struct bpf_verifier_env *env, int ref_obj_id); + | ^~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:202:13: warning: ‘invalidate_non_owning_refs’ used but never defined + 202 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:203:13: warning: ‘in_rbtree_lock_required_cb’ used but never defined + 203 | static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:204:12: warning: ‘ref_set_non_owning’ used but never defined + 204 | static int ref_set_non_owning(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:206:13: warning: ‘specialize_kfunc’ used but never defined + 206 | static void specialize_kfunc(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:208:13: warning: ‘is_trusted_reg’ used but never defined + 208 | static bool is_trusted_reg(const struct bpf_reg_state *reg); + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:505:13: warning: ‘is_sync_callback_calling_kfunc’ used but never defined + 505 | static bool is_sync_callback_calling_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:506:13: warning: ‘is_async_callback_calling_kfunc’ used but never defined + 506 | static bool is_async_callback_calling_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:507:13: warning: ‘is_callback_calling_kfunc’ used but never defined + 507 | static bool is_callback_calling_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:508:13: warning: ‘is_bpf_throw_kfunc’ used but never defined + 508 | static bool is_bpf_throw_kfunc(struct bpf_insn *insn); + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:510:13: warning: ‘is_bpf_wq_set_callback_impl_kfunc’ used but never defined + 510 | static bool is_bpf_wq_set_callback_impl_kfunc(u32 btf_id); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:1016:13: warning: ‘in_rcu_cs’ used but never defined + 1016 | static bool in_rcu_cs(struct bpf_verifier_env *env); + | ^~~~~~~~~ +../kernel/bpf/verifier.c:1018:13: warning: ‘is_kfunc_rcu_protected’ used but never defined + 1018 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta); + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:4144:13: warning: ‘calls_callback’ used but never defined + 4144 | static bool calls_callback(struct bpf_verifier_env *env, int insn_idx); + | ^~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:23933:5: warning: ‘bpf_check’ defined but not used [-Wunused-function] +23933 | int bpf_check(struct bpf_prog **prog, union bpf_attr *attr, bpfptr_t uattr, __u32 uattr_size) + | ^~~~~~~~~ +../kernel/bpf/verifier.c:21364:13: warning: ‘specialize_kfunc’ defined but not used [-Wunused-function] +21364 | static void specialize_kfunc(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12664:13: warning: ‘is_rbtree_lock_required_kfunc’ defined but not used [-Wunused-function] +12664 | static bool is_rbtree_lock_required_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:12658:13: warning: ‘is_callback_calling_kfunc’ defined but not used [-Wunused-function] +12658 | static bool is_callback_calling_kfunc(u32 btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:11802:13: warning: ‘is_kfunc_rcu_protected’ defined but not used [-Wunused-function] +11802 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10606:12: warning: ‘set_callee_state’ defined but not used [-Wunused-function] +10606 | static int set_callee_state(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10579:5: warning: ‘map_set_for_each_callback_args’ defined but not used [-Wunused-function] +10579 | int map_set_for_each_callback_args(struct bpf_verifier_env *env, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:10228:13: warning: ‘invalidate_non_owning_refs’ defined but not used [-Wunused-function] +10228 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: 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); + | ^~~ @@ -431,25 +1893,0 @@ -../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' -../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' -../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' -In file included from ../include/linux/string.h:392, - 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' -../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' -../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new -../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new -../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new @@ -457,4 +1894,0 @@ -../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: -../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] - 2514 | int ret; - | ^~~ @@ -506,5 +1940,22 @@ -../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' -../drivers/hid/hid-steam.c: In function ‘steam_client_ll_close’: -../drivers/hid/hid-steam.c:1153:14: warning: variable ‘connected’ set but not used [-Wunused-but-set-variable] - 1153 | bool connected; - | ^~~~~~~~~ +In file included from ../include/linux/string.h:392, + 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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' +../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new +../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new +../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new +../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' @@ -516,0 +1968,15 @@ +make[4]: *** [../scripts/Makefile.build:461: kernel/bpf] Error 2 +make[4]: *** Waiting for unfinished jobs.... +../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: +../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] + 2514 | int ret; + | ^~~ +../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' +../drivers/hid/hid-steam.c: In function ‘steam_client_ll_close’: +../drivers/hid/hid-steam.c:1153:14: warning: variable ‘connected’ set but not used [-Wunused-but-set-variable] + 1153 | bool connected; + | ^~~~~~~~~ +make[3]: *** [../scripts/Makefile.build:461: kernel] Error 2 +make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2011: .] 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.00vJG8NuTA 2025-05-19 05:32:49.048050567 -0700 +++ /tmp/tmp.JKeagLWE9r 2025-05-19 05:32:49.061050451 -0700 @@ -18,0 +19 @@ + 1 ../include/linux/compiler.h @@ -26,0 +28 @@ + 450 ../kernel/bpf/verifier.c