In file included from ../include/trace/define_trace.h:113, from ../samples/trace_events/trace-events-sample.h:636, 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:1110:48: note: in expansion of macro ‘cpu_possible_mask’ 1110 | #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:51:45: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 51 | "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:95:9: note: in expansion of macro ‘_BUG_FLAGS’ 95 | _BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:626:9: note: in expansion of macro ‘fortify_warn_once’ 626 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:678:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 678 | #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:114: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:51:45: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 51 | "i" (sizeof(struct bug_entry))); \ | ^~~~~~~~~ ../include/trace/perf.h:66:1: note: in expansion of macro ‘__DECLARE_EVENT_CLASS’ 66 | __DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), PARAMS(tstruct), \ | ^~~~~~~~~~~~~~~~~~~~~ ../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:95:9: note: in expansion of macro ‘_BUG_FLAGS’ 95 | _BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:626:9: note: in expansion of macro ‘fortify_warn_once’ 626 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:678:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 678 | #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); | ^~~~~~~~~~~~ ../arch/x86/entry/common.c:211: warning: Function parameter or struct member 'regs' not described in 'do_int80_emulation' ../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' ../lib/vsprintf.c: In function ‘va_format’: ../lib/vsprintf.c:1718:9: warning: function ‘va_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1718 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1627, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1629, line 762. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1630, line 762. ../security/landlock/fs.c:762: 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 1645, line 762. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 762. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1806, line 762. Use of uninitialized value $parameterlist[6] in join or string at ../scripts/kernel-doc line 1806, line 762. ../security/landlock/fs.c:762: warning: Excess function parameter 'layer_masks_parent1' description in 'is_access_to_paths_allowed' ../security/landlock/fs.c:762: 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 1532, line 994. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 994. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 994. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 994. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 994. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 994. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1626, line 994. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1627, line 994. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1629, line 994. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1630, line 994. ../security/landlock/fs.c:994: 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 1645, line 994. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1806, line 994. ../security/landlock/fs.c:994: warning: Excess function parameter 'layer_masks_dom' description in 'collect_domain_accesses' ../security/ipe/policy_fs.c:21: warning: cannot understand function prototype: 'struct ipefs_file ' ../security/ipe/policy_fs.c:407: warning: cannot understand function prototype: 'const struct ipefs_file policy_subdir[] = ' In file included from ../include/linux/string.h:389, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c: In function ‘__alloc_workqueue’: ../kernel/workqueue.c:5679:9: warning: function ‘__alloc_workqueue’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 5679 | name_len = vsnprintf(wq->name, sizeof(wq->name), fmt, args); | ^~~~~~~~ ../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/reboot.c:241: warning: Function parameter or struct member 'cmd' not described in 'do_kernel_restart' ../kernel/reboot.c:972: warning: Function parameter or struct member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff' ../arch/x86/kernel/apic/apic.c:2143: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2143: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../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:1322: warning: Function parameter or struct member 'zone' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1322: warning: Function parameter or struct member 'pfn' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1381: warning: Function parameter or struct member 'zone' not described in 'saveable_page' ../kernel/power/snapshot.c:1381: warning: Function parameter or struct member 'pfn' not described in 'saveable_page' ../kernel/power/snapshot.c:1458: warning: Function parameter or struct member 'dst' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1458: warning: Function parameter or struct member 's_page' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1699: warning: Function parameter or struct member 'x' not described in '__fraction' ../kernel/power/snapshot.c:1699: warning: Function parameter or struct member 'multiplier' not described in '__fraction' ../kernel/power/snapshot.c:1699: warning: Function parameter or struct member 'base' not described in '__fraction' ../kernel/power/snapshot.c:1997: warning: Function parameter or struct member 'nr_highmem' not described in 'count_pages_for_highmem' ../kernel/power/snapshot.c:2015: warning: Function parameter or struct member 'nr_pages' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2015: warning: Function parameter or struct member 'nr_highmem' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2038: warning: Function parameter or struct member 'safe_needed' not described in 'get_highmem_buffer' ../kernel/power/snapshot.c:2051: warning: Function parameter or struct member 'bm' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2051: warning: Function parameter or struct member 'nr_highmem' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2086: warning: Function parameter or struct member 'copy_bm' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2086: warning: Function parameter or struct member 'nr_pages' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2086: warning: Function parameter or struct member 'nr_highmem' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2308: warning: Function parameter or struct member 'bm' not described in 'mark_unsafe_pages' ../kernel/power/snapshot.c:2343: warning: Function parameter or struct member 'info' not described in 'load_header' ../kernel/power/snapshot.c:2512: warning: Function parameter or struct member 'page' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2512: warning: Function parameter or struct member 'ca' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2722: warning: Function parameter or struct member 'bm' not described in 'get_buffer' ../kernel/power/snapshot.c:2722: warning: Function parameter or struct member 'ca' not described in 'get_buffer' ../kernel/power/snapshot.c:2861: warning: Function parameter or struct member 'handle' not described in 'snapshot_write_finalize' ../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/gpu/drm/scheduler/sched_main.c:409: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done' ../kernel/time/hrtimer.c:121:35: warning: initialized field overwritten [-Woverride-init] 121 | [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:121:35: note: (near initialization for ‘hrtimer_clock_to_base_table[0]’) ../kernel/time/hrtimer.c:122:35: warning: initialized field overwritten [-Woverride-init] 122 | [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:35: note: (near initialization for ‘hrtimer_clock_to_base_table[1]’) ../kernel/time/hrtimer.c:123:35: warning: initialized field overwritten [-Woverride-init] 123 | [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:123:35: note: (near initialization for ‘hrtimer_clock_to_base_table[7]’) ../kernel/time/hrtimer.c:124:35: warning: initialized field overwritten [-Woverride-init] 124 | [CLOCK_TAI] = HRTIMER_BASE_TAI, | ^~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:124:35: note: (near initialization for ‘hrtimer_clock_to_base_table[11]’) 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:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ 554 | 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:554:16: note: in expansion of macro ‘KERN_WARNING’ 554 | 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:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ 554 | 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:554:16: note: in expansion of macro ‘KERN_WARNING’ 554 | 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:389, 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:9240: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:141: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' In file included from ../include/linux/string.h:389, 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:389, 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/android/binderfs.c:236: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' ../drivers/android/binder.c:1982: warning: Function parameter or struct member 'file' not described in 'binder_task_work_cb' ../drivers/android/binder.c:1982: warning: Excess struct member 'fd' description in 'binder_task_work_cb' ../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:4014: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' In file included from ../include/linux/string.h:389, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' ../scripts/Makefile.build:194: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../include/linux/string.h:389, 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/gpu/drm/panthor/panthor_mmu.c:102: warning: Function parameter or struct member 'as' not described in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots_lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'alloc_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'faulty_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lru_list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'reset_in_progress' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'wq' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'count' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'ptr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'page' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'addr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'range' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'vm_bo' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'bo_offset' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'sgt' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'new_vma' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'start' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'size' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'id' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'active_cnt' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lru_node' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'pool' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lock' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:412: warning: Cannot understand * @pt_cache: Cache used to allocate MMU page tables. on line 412 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:481: warning: Cannot understand * @free_pt() - Custom page table free function on line 481 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Excess function parameter 'VM' description in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Excess function parameter 'VM' description in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:1037: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1037: warning: Excess function parameter 'VM' description in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1070: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1070: warning: Excess function parameter 'VM' description in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Function parameter or struct member 'ptdev' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Function parameter or struct member 'args' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Excess function parameter 'kernel_va_start' description in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Excess function parameter 'kernel_va_range' description in 'panthor_vm_pool_create_vm' ../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' ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' ../fs/nfsd/nfs4state.c: In function ‘nfsd4_lock’: ../fs/nfsd/nfs4state.c:7969:29: warning: variable ‘sb’ set but not used [-Wunused-but-set-variable] 7969 | struct super_block *sb; | ^~ ../fs/gfs2/glock.c:1260: 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' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../arch/x86/entry/common.c:211: warning: Function parameter or struct member 'regs' not described in 'do_int80_emulation' In file included from ../include/trace/define_trace.h:113, from ../samples/trace_events/trace-events-sample.h:636, 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:1110:48: note: in expansion of macro ‘cpu_possible_mask’ 1110 | #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:51:45: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 51 | "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:95:9: note: in expansion of macro ‘_BUG_FLAGS’ 95 | _BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:626:9: note: in expansion of macro ‘fortify_warn_once’ 626 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:678:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 678 | #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:114: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:51:45: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 51 | "i" (sizeof(struct bug_entry))); \ | ^~~~~~~~~ ../include/trace/perf.h:66:1: note: in expansion of macro ‘__DECLARE_EVENT_CLASS’ 66 | __DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), PARAMS(tstruct), \ | ^~~~~~~~~~~~~~~~~~~~~ ../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:95:9: note: in expansion of macro ‘_BUG_FLAGS’ 95 | _BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:626:9: note: in expansion of macro ‘fortify_warn_once’ 626 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:678:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 678 | #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' ../lib/vsprintf.c: In function ‘va_format’: ../lib/vsprintf.c:1718:9: warning: function ‘va_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1718 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1627, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1629, line 762. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1630, line 762. ../security/landlock/fs.c:762: 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 1645, line 762. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 762. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1806, line 762. Use of uninitialized value $parameterlist[6] in join or string at ../scripts/kernel-doc line 1806, line 762. ../security/landlock/fs.c:762: warning: Excess function parameter 'layer_masks_parent1' description in 'is_access_to_paths_allowed' ../security/landlock/fs.c:762: 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 1532, line 994. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 994. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 994. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 994. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 994. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 994. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1626, line 994. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1627, line 994. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1629, line 994. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1630, line 994. ../security/landlock/fs.c:994: 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 1645, line 994. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1806, line 994. ../security/landlock/fs.c:994: warning: Excess function parameter 'layer_masks_dom' description in 'collect_domain_accesses' ../kernel/workqueue.c: In function ‘__alloc_workqueue’: ../kernel/workqueue.c:5679:9: warning: function ‘__alloc_workqueue’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 5679 | name_len = vsnprintf(wq->name, sizeof(wq->name), fmt, args); | ^~~~~~~~ ../security/ipe/policy_fs.c:21: warning: cannot understand function prototype: 'struct ipefs_file ' ../security/ipe/policy_fs.c:407: warning: cannot understand function prototype: 'const struct ipefs_file policy_subdir[] = ' In file included from ../include/linux/string.h:389, 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/reboot.c:241: warning: Function parameter or struct member 'cmd' not described in 'do_kernel_restart' ../kernel/reboot.c:972: warning: Function parameter or struct member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff' ../drivers/gpu/drm/scheduler/sched_main.c:409: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done' ../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:1322: warning: Function parameter or struct member 'zone' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1322: warning: Function parameter or struct member 'pfn' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1381: warning: Function parameter or struct member 'zone' not described in 'saveable_page' ../kernel/power/snapshot.c:1381: warning: Function parameter or struct member 'pfn' not described in 'saveable_page' ../kernel/power/snapshot.c:1458: warning: Function parameter or struct member 'dst' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1458: warning: Function parameter or struct member 's_page' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1699: warning: Function parameter or struct member 'x' not described in '__fraction' ../kernel/power/snapshot.c:1699: warning: Function parameter or struct member 'multiplier' not described in '__fraction' ../kernel/power/snapshot.c:1699: warning: Function parameter or struct member 'base' not described in '__fraction' ../kernel/power/snapshot.c:1997: warning: Function parameter or struct member 'nr_highmem' not described in 'count_pages_for_highmem' ../kernel/power/snapshot.c:2015: warning: Function parameter or struct member 'nr_pages' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2015: warning: Function parameter or struct member 'nr_highmem' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2038: warning: Function parameter or struct member 'safe_needed' not described in 'get_highmem_buffer' ../kernel/power/snapshot.c:2051: warning: Function parameter or struct member 'bm' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2051: warning: Function parameter or struct member 'nr_highmem' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2086: warning: Function parameter or struct member 'copy_bm' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2086: warning: Function parameter or struct member 'nr_pages' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2086: warning: Function parameter or struct member 'nr_highmem' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2308: warning: Function parameter or struct member 'bm' not described in 'mark_unsafe_pages' ../kernel/power/snapshot.c:2343: warning: Function parameter or struct member 'info' not described in 'load_header' ../kernel/power/snapshot.c:2512: warning: Function parameter or struct member 'page' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2512: warning: Function parameter or struct member 'ca' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2722: warning: Function parameter or struct member 'bm' not described in 'get_buffer' ../kernel/power/snapshot.c:2722: warning: Function parameter or struct member 'ca' not described in 'get_buffer' ../kernel/power/snapshot.c:2861: warning: Function parameter or struct member 'handle' not described in 'snapshot_write_finalize' ../kernel/time/hrtimer.c:121:35: warning: initialized field overwritten [-Woverride-init] 121 | [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:121:35: note: (near initialization for ‘hrtimer_clock_to_base_table[0]’) ../kernel/time/hrtimer.c:122:35: warning: initialized field overwritten [-Woverride-init] 122 | [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:35: note: (near initialization for ‘hrtimer_clock_to_base_table[1]’) ../kernel/time/hrtimer.c:123:35: warning: initialized field overwritten [-Woverride-init] 123 | [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:123:35: note: (near initialization for ‘hrtimer_clock_to_base_table[7]’) ../kernel/time/hrtimer.c:124:35: warning: initialized field overwritten [-Woverride-init] 124 | [CLOCK_TAI] = HRTIMER_BASE_TAI, | ^~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:124:35: note: (near initialization for ‘hrtimer_clock_to_base_table[11]’) ../arch/x86/kernel/apic/apic.c:2143: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2143: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../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' ../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:141: 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:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ 554 | 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:554:16: note: in expansion of macro ‘KERN_WARNING’ 554 | 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:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ 554 | 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:554:16: note: in expansion of macro ‘KERN_WARNING’ 554 | 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:389, 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:9240: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' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Function parameter or struct member 'as' not described in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots_lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'alloc_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'faulty_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lru_list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'reset_in_progress' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'wq' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'count' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'ptr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'page' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'addr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'range' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'vm_bo' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'bo_offset' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'sgt' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'new_vma' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'start' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'size' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'id' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'active_cnt' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lru_node' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'pool' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lock' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:412: warning: Cannot understand * @pt_cache: Cache used to allocate MMU page tables. on line 412 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:481: warning: Cannot understand * @free_pt() - Custom page table free function on line 481 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Excess function parameter 'VM' description in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Excess function parameter 'VM' description in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:1037: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1037: warning: Excess function parameter 'VM' description in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1070: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1070: warning: Excess function parameter 'VM' description in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Function parameter or struct member 'ptdev' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Function parameter or struct member 'args' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Excess function parameter 'kernel_va_start' description in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Excess function parameter 'kernel_va_range' description in 'panthor_vm_pool_create_vm' In file included from ../include/linux/string.h:389, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' In file included from ../include/linux/string.h:389, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:389, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/android/binder.c:1982: warning: Function parameter or struct member 'file' not described in 'binder_task_work_cb' ../drivers/android/binder.c:1982: warning: Excess struct member 'fd' description in 'binder_task_work_cb' ../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:4014: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' ../fs/nfsd/nfs4state.c: In function ‘nfsd4_lock’: ../fs/nfsd/nfs4state.c:7969:29: warning: variable ‘sb’ set but not used [-Wunused-but-set-variable] 7969 | struct super_block *sb; | ^~ ../scripts/Makefile.build:194: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' ../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' ../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' ../fs/gfs2/glock.c:1260: warning: Function parameter or struct member 'ip' not described in '__gfs2_holder_init' In file included from ../include/linux/string.h:389, 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:194: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../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' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset'