/srv/nipa-poller/bpf-next/wt-0/Makefile:1204: C=1 specified, but sparse is not available or not up to date /srv/nipa-poller/bpf-next/wt-0/Makefile:1204: C=1 specified, but sparse is not available or not up to date Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../include/trace/define_trace.h:132, from ../samples/trace_events/trace-events-sample.h:640, from ../samples/trace_events/trace-events-sample.c:12: ../samples/trace_events/./trace-events-sample.h: In function ‘trace_event_get_offsets_foo_bar’: ../include/trace/stages/stage5_get_offsets.h:33:31: warning: function ‘trace_event_get_offsets_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 33 | { (void)sizeof(struct _test_no_array_##item *); } | ^~~~~~~~~~~~~~~ ../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( | ^~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:301:17: note: in expansion of macro ‘__field’ 301 | __field( int, bar ) | ^~~~~~~ ../samples/trace_events/./trace-events-sample.h: In function ‘do_trace_event_raw_event_foo_bar’: ../arch/x86/include/asm/bug.h:169:48: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 169 | [size] "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:175:36: note: in expansion of macro ‘__WARN_bug_entry’ 175 | static_call_mod(WARN_trap)(__WARN_bug_entry(__flags, format), ## arg); \ | ^~~~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:185:17: note: in expansion of macro ‘__WARN_print_arg’ 185 | __WARN_print_arg(BUGFLAG_ONCE|BUGFLAG_TAINT(TAINT_WARN),\ | ^~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:22:41: note: in expansion of macro ‘WARN_ONCE’ 22 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:632:9: note: in expansion of macro ‘fortify_warn_once’ 632 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:688:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 688 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ In file included from ../include/trace/define_trace.h:133: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:169:48: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 169 | [size] "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:175:36: note: in expansion of macro ‘__WARN_bug_entry’ 175 | static_call_mod(WARN_trap)(__WARN_bug_entry(__flags, format), ## arg); \ | ^~~~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:185:17: note: in expansion of macro ‘__WARN_print_arg’ 185 | __WARN_print_arg(BUGFLAG_ONCE|BUGFLAG_TAINT(TAINT_WARN),\ | ^~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:22:41: note: in expansion of macro ‘WARN_ONCE’ 22 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:632:9: note: in expansion of macro ‘fortify_warn_once’ 632 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:688:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 688 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ Warning: ../ipc/sem.c:629 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * perform_atomic_semop[_slow] - Attempt to perform semaphore Warning: ../security/smack/smack_access.c:584 expecting prototype for smk_import_valid_allocated_label(). Prototype was for smk_import_allocated_label() instead ../arch/x86/events/intel/p4.c: In function ‘p4_pmu_init’: ../arch/x86/events/intel/p4.c:1370:27: warning: variable ‘high’ set but not used [-Wunused-but-set-variable] 1370 | unsigned int low, high; | ^~~~ ../net/8021q/vlan.c: In function ‘register_vlan_device’: ../net/8021q/vlan.c:249:46: warning: ‘%i’ directive output may be truncated writing between 1 and 4 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~ ../net/8021q/vlan.c:249:42: note: directive argument in the range [0, 4094] 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~~~~~~ ../net/8021q/vlan.c:249:17: note: ‘snprintf’ output between 3 and 21 bytes into a destination of size 16 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/8021q/vlan.c:237:46: warning: ‘%.4i’ directive output may be truncated writing 4 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~ ../net/8021q/vlan.c:237:42: note: directive argument in the range [0, 4094] 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~~~~~~ ../net/8021q/vlan.c:237:17: note: ‘snprintf’ output between 6 and 21 bytes into a destination of size 16 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' ../arch/x86/kernel/process.c: In function ‘arch_post_acpi_subsys_init’: ../arch/x86/kernel/process.c:972:17: warning: variable ‘hi’ set but not used [-Wunused-but-set-variable] 972 | u32 lo, hi; | ^~ Warning: ../drivers/net/pse-pd/pse_core.c:246 expecting prototype for pse_control_find_net_by_id(). Prototype was for pse_control_find_by_id() instead Warning: ../security/apparmor/af_unix.c:618 Cannot find identifier on line: * Warning: ../security/apparmor/af_unix.c:626 function parameter 'subj_cred' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'op' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'request' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 expecting prototype for Requires(). Prototype was for aa_unix_peer_perm() instead Warning: ../arch/x86/kernel/apic/apic.c:2149 function parameter 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' Warning: ../arch/x86/kernel/apic/apic.c:2149 expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2301 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2336 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2505 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2505 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2854 function parameter 'handle' not described in 'snapshot_write_finalize' Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2301 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2336 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2505 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2505 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2854 function parameter 'handle' not described in 'snapshot_write_finalize' ../drivers/isdn/hardware/mISDN/hfcmulti.c: In function ‘init_e1_port’: ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:64: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:53: note: directive argument in the range [-2147483644, 2147483647] 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:17: note: ‘snprintf’ output between 11 and 31 bytes into a destination of size 19 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4832 | HFC_cnt + 1, pt+1); | ~~~~~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c: In function ‘init_multi_port’: ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:65: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:53: note: directive argument in the range [-2147483644, 2147483647] 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:17: note: ‘snprintf’ output between 11 and 41 bytes into a destination of size 19 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4950 | hc->ctype, HFC_cnt + 1, pt + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done' Warning: ../drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done' ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3162:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3162 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3162:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3162 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3163 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c: In function ‘bnx2_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnx2.c:6288:56: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~ In function ‘bnx2_enable_msix’, inlined from ‘bnx2_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnx2.c:6314:3: ../drivers/net/ethernet/broadcom/bnx2.c:6288:52: note: directive argument in the range [0, 2147483646] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:6288:17: note: ‘snprintf’ output between 3 and 27 bytes into a destination of size 18 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c: In function ‘alx_request_msix’: ../drivers/net/ethernet/atheros/alx/main.c:874:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:874:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 875 | np->rxq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:871:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:871:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 872 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:55: warning: ‘%u’ directive writing between 1 and 5 bytes into a region of size between 3 and 18 [-Wformat-overflow=] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~ ../drivers/net/ethernet/atheros/alx/main.c:868:46: note: directive argument in the range [0, 65535] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:25: note: ‘sprintf’ output between 8 and 27 bytes into a destination of size 24 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 869 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:31, from ../arch/x86/include/asm/bug.h:193, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/vmalloc.h:5, from ../include/linux/bcm47xx_nvram.h:10, from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:93:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 93 | 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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:91:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 91 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1119:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1119:54: note: directive argument in the range [0, 2147483646] 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1118:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1118 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1120 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1124:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1124:54: note: directive argument in the range [0, 2147483646] 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1123:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1123 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1125 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1572 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] 1572 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1570 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1571 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1572 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1583 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] 1583 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1581 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1583 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c: In function ‘rndis_register’: ../drivers/usb/gadget/function/rndis.c:60:23: warning: ‘%03d’ directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:60:37: note: format string is defined here 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~ ../drivers/usb/gadget/function/rndis.c:60:23: note: directive argument in the range [0, 2147483647] 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:17: note: ‘sprintf’ output between 17 and 24 bytes into a destination of size 20 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘cxgb4vf_get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:44: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:18: note: directive argument in the range [0, 255] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1559:9: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 1559 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1561 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1562 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1563 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1564 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1565 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1566 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1567 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1568 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.tprev)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘adapter_up’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 371 | "%s-%d", dev->name, qs); | ^~ In function ‘name_msix_vecs’, inlined from ‘adapter_up’ at ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:778:4: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:34: note: directive argument in the range [-2147483641, 254] 371 | "%s-%d", dev->name, qs); | ^~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:370:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 21 370 | snprintf(adapter->msix_info[msi].desc, namelen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | "%s-%d", dev->name, qs); | ~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:9445:2: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../sound/soc/sdca/sdca_interrupts.c:284 function parameter 'info' not described in 'sdca_irq_request' Warning: ../sound/soc/sdca/sdca_interrupts.c:284 expecting prototype for sdca_request_irq(). Prototype was for sdca_irq_request() instead Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:52: note: directive argument in the range [-2147483639, 2147483646] 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2787 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c: In function ‘csio_add_msix_desc’: ../drivers/scsi/csiostor/csio_isr.c:374:68: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~ ../drivers/scsi/csiostor/csio_isr.c:374:45: note: directive argument in the range [0, 2147483644] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c:374:17: note: ‘snprintf’ output between 19 and 28 bytes into a destination of size 23 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 375 | CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | CSIO_PCI_FUNC(hw), i - CSIO_EXTRA_VECS); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/irqflags.h:102, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch Warning: ../drivers/nvdimm/core.c:219 function parameter 'len' not described in 'nd_uuid_store' Warning: ../drivers/nvdimm/core.c:219 function parameter 'len' not described in 'nd_uuid_store' ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c: In function ‘myri10ge_request_irq’: ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2197:44: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 2197 | "%s:slice-%d", netdev->name, i); | ^~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2197:34: note: directive argument in the range [-2147483643, 2147483646] 2197 | "%s:slice-%d", netdev->name, i); | ^~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2196:25: note: ‘snprintf’ output between 9 and 34 bytes into a destination of size 32 2196 | snprintf(ss->irq_desc, sizeof(ss->irq_desc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2197 | "%s:slice-%d", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c: In function ‘transport_dump_vpd_ident’: ../drivers/target/target_core_transport.c:1263:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1263 | "T10 VPD ASCII Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1262:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1262 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1263 | "T10 VPD ASCII Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1264 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1268:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1267:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1267 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1269 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1258:60: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 220 [-Wformat-truncation=] 1258 | "T10 VPD Binary Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1257:17: note: ‘snprintf’ output between 36 and 289 bytes into a destination of size 254 1257 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1258 | "T10 VPD Binary Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1259 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 508 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:32: note: directive argument in the range [-2147483641, 2147483646] 508 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 508 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/phy/mscc/mscc_main.c: In function ‘vsc85xx_probe_common.constprop’: ../drivers/net/phy/mscc/mscc_main.c:473:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 473 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ In function ‘vsc85xx_dt_led_modes_get’, inlined from ‘vsc85xx_probe_common.constprop’ at ../drivers/net/phy/mscc/mscc_main.c:2315:9: ../drivers/net/phy/mscc/mscc_main.c:473:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 473 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/block/aoe/aoecmd.c: In function ‘aoecmd_init’: ../drivers/block/aoe/aoecmd.c:1722:69: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~ ../drivers/block/aoe/aoecmd.c:1722:60: note: directive argument in the range [-2147483641, 2147483646] 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~~~~~~~~~~~ ../drivers/block/aoe/aoecmd.c:1722:17: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 12 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c: In function ‘netxen_nic_attach’: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:45: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-overflow=] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~ In function ‘netxen_nic_request_irq’, inlined from ‘netxen_nic_attach’ at ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1251:8: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:41: note: directive argument in the range [-2147483641, 254] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:17: note: ‘sprintf’ output between 4 and 29 bytes into a destination of size 20 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: In function ‘qlcnic_request_irq’: ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1765:49: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 9 and 24 [-Wformat-truncation=] 1765 | "%s-tx-%d", netdev->name, ring); | ^~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1765:42: note: directive argument in the range [-2147483643, 254] 1765 | "%s-tx-%d", netdev->name, ring); | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1764:33: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 28 1764 | snprintf(tx_ring->name, sizeof(tx_ring->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1765 | "%s-tx-%d", netdev->name, ring); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:54: note: directive argument in the range [-2147483641, 65534] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1882 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 621 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 620 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 638 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 637 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 635 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 634 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c: In function ‘qed_mfw_get_tlv_time_value’: ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:44: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 10 [-Wformat-truncation=] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:9: note: ‘snprintf’ output between 7 and 23 bytes into a destination of size 14 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 433 | p_time->month, p_time->day, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 434 | p_time->hour, p_time->min, p_time->msec, p_time->usec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 664 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 664 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 665 | stmmac_qstats_tx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:671:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 671 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:671:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 671 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 672 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/hid/hid-logitech-dj.c: In function ‘logi_dj_recv_add_djhid_device’: ../drivers/hid/hid-logitech-dj.c:851:44: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 851 | snprintf(tmpstr, sizeof(tmpstr), ":%d", device_index); | ^~ ../drivers/hid/hid-logitech-dj.c:851:42: note: directive argument in the range [0, 255] 851 | snprintf(tmpstr, sizeof(tmpstr), ":%d", device_index); | ^~~~~ ../drivers/hid/hid-logitech-dj.c:851:9: note: ‘snprintf’ output between 3 and 5 bytes into a destination of size 3 851 | snprintf(tmpstr, sizeof(tmpstr), ":%d", device_index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6028:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6046:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6112:8: ../drivers/net/ethernet/sun/niu.c:6028:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/hid/hid-lg-g15.c:37 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * g13_input_report.keybits[] is not 32-bit aligned, so we can't use the bitops macros. ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:64: note: directive argument in the range [0, 4294967294] 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c: In function ‘com20020pci_probe’: ../drivers/net/arcnet/com20020-pci.c:224:71: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 11 [-Wformat-truncation=] 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~ ../drivers/net/arcnet/com20020-pci.c:224:64: note: directive argument in the range [-2147483641, 2147483646] 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c:224:25: note: ‘snprintf’ output between 7 and 18 bytes into a destination of size 16 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/xen-netback/xenbus.c: In function ‘connect’: ../drivers/net/xen-netback/xenbus.c:780:65: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~ ../drivers/net/xen-netback/xenbus.c:780:60: note: directive argument in the range [0, 4294967294] 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~ ../drivers/net/xen-netback/xenbus.c:780:17: note: ‘snprintf’ output between 4 and 28 bytes into a destination of size 21 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | be->vif->dev->name, queue->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/infiniband/hw/mlx5/umr.c:986 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * This function makes an mkey non-present by zapping the translation entries of ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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/fs_dirent.h:5, from ../include/linux/fs/super_types.h:5, from ../include/linux/fs/super.h:5, from ../include/linux/fs.h:5, from ../fs/smb/client/cifssmb.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFileInfo’ at ../fs/smb/client/cifssmb.c:4093:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4267:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4352:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:5137:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:5212:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:5284:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/hid/wacom_sys.c: In function ‘wacom_update_name’: ../drivers/hid/wacom_sys.c:2291:61: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 38 [-Wformat-truncation=] 2291 | snprintf(name, sizeof(name), "Wacom %s", product_name); | ^~ ../drivers/hid/wacom_sys.c:2291:25: note: ‘snprintf’ output between 7 and 134 bytes into a destination of size 44 2291 | snprintf(name, sizeof(name), "Wacom %s", product_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/hid/hid-sensor-custom.c: In function ‘hid_sensor_custom_add_attributes’: ../drivers/hid/hid-sensor-custom.c:590:64: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 590 | HID_CUSTOM_NAME_LENGTH, "%s-%s", | ^ ../drivers/hid/hid-sensor-custom.c:589:25: note: ‘snprintf’ output 2 or more bytes (assuming 65) into a destination of size 64 589 | snprintf((char *)&sensor_inst->fields[i].attr_name[j], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 590 | HID_CUSTOM_NAME_LENGTH, "%s-%s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | sensor_inst->fields[i].group_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 592 | hid_custom_attrs[j].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c:1261 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * xe_gt_sriov_pf_control_trigger restore_vf() - Start an SR-IOV VF migration data restore sequence. /srv/nipa-poller/bpf-next/wt-0/Makefile:1204: C=1 specified, but sparse is not available or not up to date /srv/nipa-poller/bpf-next/wt-0/Makefile:1204: C=1 specified, but sparse is not available or not up to date Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../include/trace/define_trace.h:132, from ../samples/trace_events/trace-events-sample.h:640, from ../samples/trace_events/trace-events-sample.c:12: ../samples/trace_events/./trace-events-sample.h: In function ‘trace_event_get_offsets_foo_bar’: ../include/trace/stages/stage5_get_offsets.h:33:31: warning: function ‘trace_event_get_offsets_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 33 | { (void)sizeof(struct _test_no_array_##item *); } | ^~~~~~~~~~~~~~~ ../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( | ^~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:301:17: note: in expansion of macro ‘__field’ 301 | __field( int, bar ) | ^~~~~~~ ../samples/trace_events/./trace-events-sample.h: In function ‘do_trace_event_raw_event_foo_bar’: ../arch/x86/include/asm/bug.h:169:48: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 169 | [size] "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:175:36: note: in expansion of macro ‘__WARN_bug_entry’ 175 | static_call_mod(WARN_trap)(__WARN_bug_entry(__flags, format), ## arg); \ | ^~~~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:185:17: note: in expansion of macro ‘__WARN_print_arg’ 185 | __WARN_print_arg(BUGFLAG_ONCE|BUGFLAG_TAINT(TAINT_WARN),\ | ^~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:22:41: note: in expansion of macro ‘WARN_ONCE’ 22 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:632:9: note: in expansion of macro ‘fortify_warn_once’ 632 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:688:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 688 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ In file included from ../include/trace/define_trace.h:133: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:169:48: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 169 | [size] "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:175:36: note: in expansion of macro ‘__WARN_bug_entry’ 175 | static_call_mod(WARN_trap)(__WARN_bug_entry(__flags, format), ## arg); \ | ^~~~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:185:17: note: in expansion of macro ‘__WARN_print_arg’ 185 | __WARN_print_arg(BUGFLAG_ONCE|BUGFLAG_TAINT(TAINT_WARN),\ | ^~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:22:41: note: in expansion of macro ‘WARN_ONCE’ 22 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:632:9: note: in expansion of macro ‘fortify_warn_once’ 632 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:688:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 688 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ Warning: ../ipc/sem.c:629 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * perform_atomic_semop[_slow] - Attempt to perform semaphore Warning: ../security/smack/smack_access.c:584 expecting prototype for smk_import_valid_allocated_label(). Prototype was for smk_import_allocated_label() instead ../arch/x86/events/intel/p4.c: In function ‘p4_pmu_init’: ../arch/x86/events/intel/p4.c:1370:27: warning: variable ‘high’ set but not used [-Wunused-but-set-variable] 1370 | unsigned int low, high; | ^~~~ In file included from ../include/linux/string.h:386, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/net/pse-pd/pse_core.c:246 expecting prototype for pse_control_find_net_by_id(). Prototype was for pse_control_find_by_id() instead ../net/8021q/vlan.c: In function ‘register_vlan_device’: ../net/8021q/vlan.c:249:46: warning: ‘%i’ directive output may be truncated writing between 1 and 4 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~ ../net/8021q/vlan.c:249:42: note: directive argument in the range [0, 4094] 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~~~~~~ ../net/8021q/vlan.c:249:17: note: ‘snprintf’ output between 3 and 21 bytes into a destination of size 16 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/8021q/vlan.c:237:46: warning: ‘%.4i’ directive output may be truncated writing 4 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~ ../net/8021q/vlan.c:237:42: note: directive argument in the range [0, 4094] 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~~~~~~ ../net/8021q/vlan.c:237:17: note: ‘snprintf’ output between 6 and 21 bytes into a destination of size 16 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done' Warning: ../drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done' ../arch/x86/kernel/process.c: In function ‘arch_post_acpi_subsys_init’: ../arch/x86/kernel/process.c:972:17: warning: variable ‘hi’ set but not used [-Wunused-but-set-variable] 972 | u32 lo, hi; | ^~ Warning: ../security/apparmor/af_unix.c:618 Cannot find identifier on line: * Warning: ../security/apparmor/af_unix.c:626 function parameter 'subj_cred' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'op' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'request' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 expecting prototype for Requires(). Prototype was for aa_unix_peer_perm() instead Warning: ../sound/soc/sdca/sdca_interrupts.c:284 function parameter 'info' not described in 'sdca_irq_request' Warning: ../sound/soc/sdca/sdca_interrupts.c:284 expecting prototype for sdca_request_irq(). Prototype was for sdca_irq_request() instead ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3162:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3162 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3162:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3162 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3163 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2301 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2336 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2505 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2505 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2854 function parameter 'handle' not described in 'snapshot_write_finalize' Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2301 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2336 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2505 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2505 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2854 function parameter 'handle' not described in 'snapshot_write_finalize' ../drivers/net/ethernet/broadcom/bnx2.c: In function ‘bnx2_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnx2.c:6288:56: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~ In function ‘bnx2_enable_msix’, inlined from ‘bnx2_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnx2.c:6314:3: ../drivers/net/ethernet/broadcom/bnx2.c:6288:52: note: directive argument in the range [0, 2147483646] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:6288:17: note: ‘snprintf’ output between 3 and 27 bytes into a destination of size 18 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c: In function ‘init_e1_port’: ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:64: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:53: note: directive argument in the range [-2147483644, 2147483647] 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:17: note: ‘snprintf’ output between 11 and 31 bytes into a destination of size 19 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4832 | HFC_cnt + 1, pt+1); | ~~~~~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c: In function ‘init_multi_port’: ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:65: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:53: note: directive argument in the range [-2147483644, 2147483647] 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:17: note: ‘snprintf’ output between 11 and 41 bytes into a destination of size 19 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4950 | hc->ctype, HFC_cnt + 1, pt + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c: In function ‘alx_request_msix’: ../drivers/net/ethernet/atheros/alx/main.c:874:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:874:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 875 | np->rxq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:871:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:871:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 872 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:55: warning: ‘%u’ directive writing between 1 and 5 bytes into a region of size between 3 and 18 [-Wformat-overflow=] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~ ../drivers/net/ethernet/atheros/alx/main.c:868:46: note: directive argument in the range [0, 65535] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:25: note: ‘sprintf’ output between 8 and 27 bytes into a destination of size 24 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 869 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1119:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1119:54: note: directive argument in the range [0, 2147483646] 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1118:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1118 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1120 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1124:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1124:54: note: directive argument in the range [0, 2147483646] 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1123:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1123 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1125 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘cxgb4vf_get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:44: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:18: note: directive argument in the range [0, 255] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1559:9: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 1559 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1561 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1562 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1563 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1564 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1565 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1566 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1567 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1568 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.tprev)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘adapter_up’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 371 | "%s-%d", dev->name, qs); | ^~ In function ‘name_msix_vecs’, inlined from ‘adapter_up’ at ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:778:4: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:34: note: directive argument in the range [-2147483641, 254] 371 | "%s-%d", dev->name, qs); | ^~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:370:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 21 370 | snprintf(adapter->msix_info[msi].desc, namelen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | "%s-%d", dev->name, qs); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1572 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] 1572 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1570 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1571 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1572 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1583 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] 1583 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1581 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1583 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../arch/x86/kernel/apic/apic.c:2149 function parameter 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' Warning: ../arch/x86/kernel/apic/apic.c:2149 expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' In file included from ../include/linux/string.h:386, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:9445:2: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:31, from ../arch/x86/include/asm/bug.h:193, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/vmalloc.h:5, from ../include/linux/bcm47xx_nvram.h:10, from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:93:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 93 | 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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:91:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 91 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c: In function ‘rndis_register’: ../drivers/usb/gadget/function/rndis.c:60:23: warning: ‘%03d’ directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:60:37: note: format string is defined here 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~ ../drivers/usb/gadget/function/rndis.c:60:23: note: directive argument in the range [0, 2147483647] 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:17: note: ‘sprintf’ output between 17 and 24 bytes into a destination of size 20 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c: In function ‘csio_add_msix_desc’: ../drivers/scsi/csiostor/csio_isr.c:374:68: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~ ../drivers/scsi/csiostor/csio_isr.c:374:45: note: directive argument in the range [0, 2147483644] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c:374:17: note: ‘snprintf’ output between 19 and 28 bytes into a destination of size 23 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 375 | CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | CSIO_PCI_FUNC(hw), i - CSIO_EXTRA_VECS); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/irqflags.h:102, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:52: note: directive argument in the range [-2147483639, 2147483646] 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2787 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c: In function ‘myri10ge_request_irq’: ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2197:44: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 2197 | "%s:slice-%d", netdev->name, i); | ^~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2197:34: note: directive argument in the range [-2147483643, 2147483646] 2197 | "%s:slice-%d", netdev->name, i); | ^~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2196:25: note: ‘snprintf’ output between 9 and 34 bytes into a destination of size 32 2196 | snprintf(ss->irq_desc, sizeof(ss->irq_desc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2197 | "%s:slice-%d", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/nvdimm/core.c:219 function parameter 'len' not described in 'nd_uuid_store' Warning: ../drivers/nvdimm/core.c:219 function parameter 'len' not described in 'nd_uuid_store' ../drivers/net/phy/mscc/mscc_main.c: In function ‘vsc85xx_probe_common.constprop’: ../drivers/net/phy/mscc/mscc_main.c:473:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 473 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ In function ‘vsc85xx_dt_led_modes_get’, inlined from ‘vsc85xx_probe_common.constprop’ at ../drivers/net/phy/mscc/mscc_main.c:2315:9: ../drivers/net/phy/mscc/mscc_main.c:473:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 473 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c: In function ‘netxen_nic_attach’: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:45: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-overflow=] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~ In function ‘netxen_nic_request_irq’, inlined from ‘netxen_nic_attach’ at ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1251:8: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:41: note: directive argument in the range [-2147483641, 254] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:17: note: ‘sprintf’ output between 4 and 29 bytes into a destination of size 20 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 508 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:32: note: directive argument in the range [-2147483641, 2147483646] 508 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 508 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: In function ‘qlcnic_request_irq’: ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1765:49: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 9 and 24 [-Wformat-truncation=] 1765 | "%s-tx-%d", netdev->name, ring); | ^~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1765:42: note: directive argument in the range [-2147483643, 254] 1765 | "%s-tx-%d", netdev->name, ring); | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1764:33: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 28 1764 | snprintf(tx_ring->name, sizeof(tx_ring->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1765 | "%s-tx-%d", netdev->name, ring); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:54: note: directive argument in the range [-2147483641, 65534] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1882 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c: In function ‘transport_dump_vpd_ident’: ../drivers/target/target_core_transport.c:1263:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1263 | "T10 VPD ASCII Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1262:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1262 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1263 | "T10 VPD ASCII Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1264 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1268:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1267:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1267 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1269 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1258:60: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 220 [-Wformat-truncation=] 1258 | "T10 VPD Binary Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1257:17: note: ‘snprintf’ output between 36 and 289 bytes into a destination of size 254 1257 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1258 | "T10 VPD Binary Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1259 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 621 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 620 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 638 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 637 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 635 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 634 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c: In function ‘qed_mfw_get_tlv_time_value’: ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:44: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 10 [-Wformat-truncation=] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:9: note: ‘snprintf’ output between 7 and 23 bytes into a destination of size 14 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 433 | p_time->month, p_time->day, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 434 | p_time->hour, p_time->min, p_time->msec, p_time->usec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c: In function ‘com20020pci_probe’: ../drivers/net/arcnet/com20020-pci.c:224:71: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 11 [-Wformat-truncation=] 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~ ../drivers/net/arcnet/com20020-pci.c:224:64: note: directive argument in the range [-2147483641, 2147483646] 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c:224:25: note: ‘snprintf’ output between 7 and 18 bytes into a destination of size 16 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/hid/hid-lg-g15.c:37 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * g13_input_report.keybits[] is not 32-bit aligned, so we can't use the bitops macros. ../drivers/hid/hid-logitech-dj.c: In function ‘logi_dj_recv_add_djhid_device’: ../drivers/hid/hid-logitech-dj.c:851:44: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 851 | snprintf(tmpstr, sizeof(tmpstr), ":%d", device_index); | ^~ ../drivers/hid/hid-logitech-dj.c:851:42: note: directive argument in the range [0, 255] 851 | snprintf(tmpstr, sizeof(tmpstr), ":%d", device_index); | ^~~~~ ../drivers/hid/hid-logitech-dj.c:851:9: note: ‘snprintf’ output between 3 and 5 bytes into a destination of size 3 851 | snprintf(tmpstr, sizeof(tmpstr), ":%d", device_index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/block/aoe/aoecmd.c: In function ‘aoecmd_init’: ../drivers/block/aoe/aoecmd.c:1722:69: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~ ../drivers/block/aoe/aoecmd.c:1722:60: note: directive argument in the range [-2147483641, 2147483646] 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~~~~~~~~~~~ ../drivers/block/aoe/aoecmd.c:1722:17: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 12 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 664 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 664 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 665 | stmmac_qstats_tx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:671:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 671 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:671:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 671 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 672 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6028:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6046:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6112:8: ../drivers/net/ethernet/sun/niu.c:6028:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/xen-netback/xenbus.c: In function ‘connect’: ../drivers/net/xen-netback/xenbus.c:780:65: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~ ../drivers/net/xen-netback/xenbus.c:780:60: note: directive argument in the range [0, 4294967294] 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~ ../drivers/net/xen-netback/xenbus.c:780:17: note: ‘snprintf’ output between 4 and 28 bytes into a destination of size 21 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | be->vif->dev->name, queue->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:64: note: directive argument in the range [0, 4294967294] 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/infiniband/hw/mlx5/umr.c:986 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * This function makes an mkey non-present by zapping the translation entries of ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c:1261 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * xe_gt_sriov_pf_control_trigger restore_vf() - Start an SR-IOV VF migration data restore sequence. ../drivers/hid/wacom_sys.c: In function ‘wacom_update_name’: ../drivers/hid/wacom_sys.c:2291:61: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 38 [-Wformat-truncation=] 2291 | snprintf(name, sizeof(name), "Wacom %s", product_name); | ^~ ../drivers/hid/wacom_sys.c:2291:25: note: ‘snprintf’ output between 7 and 134 bytes into a destination of size 44 2291 | snprintf(name, sizeof(name), "Wacom %s", product_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/hid/hid-sensor-custom.c: In function ‘hid_sensor_custom_add_attributes’: ../drivers/hid/hid-sensor-custom.c:590:64: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 590 | HID_CUSTOM_NAME_LENGTH, "%s-%s", | ^ ../drivers/hid/hid-sensor-custom.c:589:25: note: ‘snprintf’ output 2 or more bytes (assuming 65) into a destination of size 64 589 | snprintf((char *)&sensor_inst->fields[i].attr_name[j], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 590 | HID_CUSTOM_NAME_LENGTH, "%s-%s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | sensor_inst->fields[i].group_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 592 | hid_custom_attrs[j].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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/fs_dirent.h:5, from ../include/linux/fs/super_types.h:5, from ../include/linux/fs/super.h:5, from ../include/linux/fs.h:5, from ../fs/smb/client/cifssmb.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFileInfo’ at ../fs/smb/client/cifssmb.c:4093:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4267:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4352:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:5137:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:5212:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:5284:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~