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:96:50: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 96 | [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:134:9: note: in expansion of macro ‘_BUG_FLAGS’ 134 | _BUG_FLAGS(cond_str, ASM_UD2, __flags, ARCH_WARN_REACHABLE); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_FLAGS’ 134 | __WARN_FLAGS("", BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:166:17: note: in expansion of macro ‘__WARN_printf’ 166 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:185:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 185 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../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:584:9: note: in expansion of macro ‘fortify_warn_once’ 584 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:640:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 640 | #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:96:50: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 96 | [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:134:9: note: in expansion of macro ‘_BUG_FLAGS’ 134 | _BUG_FLAGS(cond_str, ASM_UD2, __flags, ARCH_WARN_REACHABLE); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_FLAGS’ 134 | __WARN_FLAGS("", BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:166:17: note: in expansion of macro ‘__WARN_printf’ 166 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:185:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 185 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../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:584:9: note: in expansion of macro ‘fortify_warn_once’ 584 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:640:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 640 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_mov_i’: ../arch/x86/net/bpf_jit_comp32.c:210:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 210 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_mov_r’: ../arch/x86/net/bpf_jit_comp32.c:238:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 238 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_mul_r’: ../arch/x86/net/bpf_jit_comp32.c:289:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 289 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_to_le_r64’: ../arch/x86/net/bpf_jit_comp32.c:322:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 322 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_to_be_r64’: ../arch/x86/net/bpf_jit_comp32.c:370:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 370 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_div_mod_r’: ../arch/x86/net/bpf_jit_comp32.c:439:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 439 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_shift_r’: ../arch/x86/net/bpf_jit_comp32.c:486:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 486 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_alu_r’: ../arch/x86/net/bpf_jit_comp32.c:528:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 528 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_alu_i’: ../arch/x86/net/bpf_jit_comp32.c:602:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 602 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_neg64’: ../arch/x86/net/bpf_jit_comp32.c:701:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 701 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_lsh_r64’: ../arch/x86/net/bpf_jit_comp32.c:735:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 735 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_arsh_r64’: ../arch/x86/net/bpf_jit_comp32.c:788:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 788 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_rsh_r64’: ../arch/x86/net/bpf_jit_comp32.c:841:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 841 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_lsh_i64’: ../arch/x86/net/bpf_jit_comp32.c:894:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 894 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_rsh_i64’: ../arch/x86/net/bpf_jit_comp32.c:942:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 942 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_arsh_i64’: ../arch/x86/net/bpf_jit_comp32.c:991:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 991 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_mul_r64’: ../arch/x86/net/bpf_jit_comp32.c:1039:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 1039 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_ia32_mul_i64’: ../arch/x86/net/bpf_jit_comp32.c:1116:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 1116 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_epilogue’: ../arch/x86/net/bpf_jit_comp32.c:1249:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 1249 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_push_r64’: ../arch/x86/net/bpf_jit_comp32.c:1394:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 1394 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_push_r32’: ../arch/x86/net/bpf_jit_comp32.c:1412:13: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 1412 | int cnt = 0; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘emit_kfunc_call’: ../arch/x86/net/bpf_jit_comp32.c:1573:16: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 1573 | int i, cnt = 0, first_stack_regno, last_stack_regno; | ^~~ ../arch/x86/net/bpf_jit_comp32.c: In function ‘do_jit’: ../arch/x86/net/bpf_jit_comp32.c:1666:16: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable=] 1666 | int i, cnt = 0; | ^~~ 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 ../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: ../block/blk-map.c:366 Excess function parameter 'op' description in 'bio_copy_kern' Warning: ../block/blk-map.c:366 Excess function parameter 'op' description in 'bio_copy_kern' ../arch/x86/events/intel/uncore.c: In function ‘uncore_get_pmu_name’: ../arch/x86/events/intel/uncore.c:914:52: warning: ‘%s’ directive writing between 1 and 2147483645 bytes into a region of size 2147483428 [-Wformat-overflow=] 914 | sprintf(pmu->name, "uncore_%s", type->name); | ^~ ../arch/x86/events/intel/uncore.c:914:25: note: ‘sprintf’ output between 9 and 2147483653 bytes into a destination of size 2147483435 914 | sprintf(pmu->name, "uncore_%s", type->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../fs/inode.c:1303 Excess function parameter 'isnew' description in 'inode_insert5' Warning: ../fs/inode.c:1303 Excess function parameter 'isnew' description in 'inode_insert5' Warning: ../lib/rhashtable.c:1165 function parameter 'key' not described in '__rhashtable_init' Warning: ../lib/rhashtable.c:1165 expecting prototype for rhashtable_init(). Prototype was for __rhashtable_init() instead Warning: ../lib/rhashtable.c:1240 function parameter 'key' not described in '__rhltable_init' Warning: ../lib/rhashtable.c:1240 expecting prototype for rhltable_init(). Prototype was for __rhltable_init() instead In file included from ../include/linux/string.h:383, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../block/blk-mq-dma.c:379 Excess function parameter 'state' description in 'blk_rq_integrity_dma_map_iter_next' Warning: ../block/blk-mq-dma.c:379 Excess function parameter 'state' description in 'blk_rq_integrity_dma_map_iter_next' ../drivers/message/fusion/mptsas.c: In function ‘mptsas_issue_tm’: ../drivers/message/fusion/mptsas.c:4790:26: warning: variable ‘timeleft’ set but not used [-Wunused-but-set-variable=] 4790 | unsigned long timeleft; | ^~~~~~~~ Warning: ../block/partitions/aix.c:80 function parameter 'state' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'lba' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'buffer' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'count' not described in 'read_lba' Warning: ../block/partitions/aix.c:113 function parameter 'state' not described in 'alloc_pvd' Warning: ../block/partitions/aix.c:113 function parameter 'lba' not described in 'alloc_pvd' Warning: ../block/partitions/aix.c:138 function parameter 'state' not described in 'alloc_lvn' Warning: ../block/partitions/aix.c:138 function parameter 'lba' not described in 'alloc_lvn' Warning: ../block/partitions/aix.c:80 function parameter 'state' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'lba' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'buffer' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'count' not described in 'read_lba' Warning: ../block/partitions/aix.c:113 function parameter 'state' not described in 'alloc_pvd' Warning: ../block/partitions/aix.c:113 function parameter 'lba' not described in 'alloc_pvd' Warning: ../block/partitions/aix.c:138 function parameter 'state' not described in 'alloc_lvn' Warning: ../block/partitions/aix.c:138 function parameter 'lba' not described in 'alloc_lvn' Warning: ../drivers/gpu/drm/drm_gem_shmem_helper.c:174 expecting prototype for __drm_gem_shmem_release_sgt_locked(). Prototype was for __drm_gem_shmem_free_sgt_locked() instead ../drivers/net/ethernet/8390/pcnet_cs.c: In function ‘dma_block_input’: ../drivers/net/ethernet/8390/pcnet_cs.c:1169:9: warning: variable ‘xfer_count’ set but not used [-Wunused-but-set-variable=] 1169 | int xfer_count = count; | ^~~~~~~~~~ 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' ../net/netfilter/nf_conntrack_proto_sctp.c: In function ‘sctp_new’: ../net/netfilter/nf_conntrack_proto_sctp.c:246:21: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 246 | u32 offset, count; | ^~~~~ ../net/netfilter/nf_conntrack_proto_sctp.c: In function ‘nf_conntrack_sctp_packet’: ../net/netfilter/nf_conntrack_proto_sctp.c:339:27: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 339 | u_int32_t offset, count; | ^~~~~ ../drivers/block/drbd/drbd_nl_gen.c:641:42: warning: ‘drbd_nl_mcgrps’ defined but not used [-Wunused-const-variable=] 641 | static const struct genl_multicast_group drbd_nl_mcgrps[] = { | ^~~~~~~~~~~~~~ Warning: ../arch/x86/kernel/apic/apic.c:2156 function parameter 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' Warning: ../arch/x86/kernel/apic/apic.c:2156 expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3381:28: warning: variable ‘queue’ set but not used [-Wunused-but-set-variable=] 3381 | struct macb_queue *queue; | ^~~~~ ../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/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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:31, from ../arch/x86/include/asm/bug.h:195, 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_u16.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:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 92 | NVRAM_READ_VAL(u16) | ^~~~~~~~~~~~~~ ../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/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u8.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:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 90 | NVRAM_READ_VAL(u8) | ^~~~~~~~~~~~~~ ../drivers/scsi/aha1542.c: In function ‘aha1542_hw_init.constprop’: ../drivers/scsi/aha1542.c:776:61: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 776 | snprintf(dma_info, sizeof(dma_info), "DMA %d", sh->dma_channel); | ^ ../drivers/scsi/aha1542.c:776:17: note: ‘snprintf’ output between 6 and 8 bytes into a destination of size 7 776 | snprintf(dma_info, sizeof(dma_info), "DMA %d", sh->dma_channel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/usb/usbip/vhci_sysfs.c: In function ‘vhci_init_attr_group’: ../drivers/usb/usbip/vhci_sysfs.c:474:67: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=] 474 | snprintf(status->name, MAX_STATUS_NAME+1, "status.%d", id); | ^~ In function ‘set_status_attr’, inlined from ‘init_status_attrs’ at ../drivers/usb/usbip/vhci_sysfs.c:490:3, inlined from ‘vhci_init_attr_group’ at ../drivers/usb/usbip/vhci_sysfs.c:513:8: ../drivers/usb/usbip/vhci_sysfs.c:474:59: note: directive argument in the range [-2147483641, 2147483646] 474 | snprintf(status->name, MAX_STATUS_NAME+1, "status.%d", id); | ^~~~~~~~~~~ ../drivers/usb/usbip/vhci_sysfs.c:474:17: note: ‘snprintf’ output between 9 and 19 bytes into a destination of size 17 474 | snprintf(status->name, MAX_STATUS_NAME+1, "status.%d", id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/qla1280.c: In function ‘qla1280_load_firmware_dma’: ../drivers/scsi/qla1280.c:1714:22: warning: variable ‘num’ set but not used [-Wunused-but-set-variable=] 1714 | int err = 0, num, i; | ^~~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_set_coalesce’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:349:27: warning: variable ‘eqo’ set but not used [-Wunused-but-set-variable=] 349 | struct be_eq_obj *eqo; | ^~~ ../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/dc395x.c: In function ‘msgin_set_sync’: ../drivers/scsi/dc395x.c:2185:13: warning: variable ‘fact’ set but not used [-Wunused-but-set-variable=] 2185 | int fact; | ^~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2804: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=] 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:52: note: directive argument in the range [-2147483638, 2147483646] 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2805 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/megaraid.c: In function ‘mega_query_adapter’: ../drivers/scsi/megaraid.c:317:36: warning: ‘%d’ directive output may be truncated writing between 1 and 2 bytes into a region of size between 1 and 2 [-Wformat-truncation=] 317 | "%c%d%d.%d%d", | ^~ ../drivers/scsi/megaraid.c:317:26: note: directive argument in the range [0, 15] 317 | "%c%d%d.%d%d", | ^~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:316:17: note: ‘snprintf’ output between 7 and 9 bytes into a destination of size 7 316 | snprintf(adapter->fw_version, sizeof(adapter->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 317 | "%c%d%d.%d%d", | ~~~~~~~~~~~~~~ 318 | adapter->product_info.fw_version[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 319 | 0, | ~~ 320 | adapter->product_info.fw_version[1] & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 321 | 0, | ~~ 322 | adapter->product_info.fw_version[0] & 0x0f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:324:36: warning: ‘%d’ directive output may be truncated writing between 1 and 2 bytes into a region of size between 1 and 2 [-Wformat-truncation=] 324 | "%c%d%d.%d%d", | ^~ ../drivers/scsi/megaraid.c:324:26: note: directive argument in the range [0, 15] 324 | "%c%d%d.%d%d", | ^~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:323:17: note: ‘snprintf’ output between 7 and 9 bytes into a destination of size 7 323 | snprintf(adapter->bios_version, sizeof(adapter->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 324 | "%c%d%d.%d%d", | ~~~~~~~~~~~~~~ 325 | adapter->product_info.bios_version[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 326 | 0, | ~~ 327 | adapter->product_info.bios_version[1] & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 328 | 0, | ~~ 329 | adapter->product_info.bios_version[0] & 0x0f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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:913:31: note: in expansion of macro ‘NAME_TEMPLATE’ 913 | 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:913:31: note: in expansion of macro ‘NAME_TEMPLATE’ 913 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:913:17: note: ‘sprintf’ output between 17 and 24 bytes into a destination of size 20 913 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/myrb.c: In function ‘myrb_get_hba_config’: ../drivers/scsi/myrb.c:1050:29: warning: ‘%02u’ directive output may be truncated writing between 2 and 3 bytes into a region of size between 2 and 5 [-Wformat-truncation=] 1050 | "%u.%02u-%c-%02u", | ^~~~ ../drivers/scsi/myrb.c:1050:17: note: directive argument in the range [0, 255] 1050 | "%u.%02u-%c-%02u", | ^~~~~~~~~~~~~~~~~ ../drivers/scsi/myrb.c:1049:9: note: ‘snprintf’ output between 10 and 14 bytes into a destination of size 12 1049 | snprintf(cb->fw_version, sizeof(cb->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1050 | "%u.%02u-%c-%02u", | ~~~~~~~~~~~~~~~~~~ 1051 | enquiry2->fw.major_version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1052 | enquiry2->fw.minor_version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1053 | enquiry2->fw.firmware_type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1054 | enquiry2->fw.turn_id); | ~~~~~~~~~~~~~~~~~~~~~ ../fs/proc/proc_sysctl.c: In function ‘init_header’: ../fs/proc/proc_sysctl.c:209:41: warning: variable ‘entry’ set but not used [-Wunused-but-set-variable=] 209 | const struct ctl_table *entry; | ^~~~~ ../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/scsi/st.c: In function ‘create_one_cdev’: ../drivers/scsi/st.c:4292:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 9 and 10 [-Wformat-truncation=] 4292 | snprintf(name, 10, "%s%s%s", rew ? "n" : "", | ^~ ../drivers/scsi/st.c:4292:9: note: ‘snprintf’ output 1 or more bytes (assuming 33) into a destination of size 10 4292 | snprintf(name, 10, "%s%s%s", rew ? "n" : "", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4293 | tape->name, st_formats[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' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:495 Excess function parameter 'vport' description in 'idpf_rx_desc_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:1400 Excess function parameter 'vport' description in 'idpf_vport_queue_grp_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:495 Excess function parameter 'vport' description in 'idpf_rx_desc_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:1400 Excess function parameter 'vport' description in 'idpf_vport_queue_grp_rel_all' ../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 [-2147483641, 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/net/ethernet/natsemi/ns83820.c: In function ‘ns83820_run_bist’: ../drivers/net/ethernet/natsemi/ns83820.c:1703:13: warning: variable ‘loops’ set but not used [-Wunused-but-set-variable=] 1703 | int loops = 0; | ^~~~~ ../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/scsi/ch.c: In function ‘ch_probe’: ../drivers/scsi/ch.c:923:29: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 923 | sprintf(ch->name,"ch%d",ch->minor); | ^~ ../drivers/scsi/ch.c:923:26: note: directive argument in the range [0, 2147483647] 923 | sprintf(ch->name,"ch%d",ch->minor); | ^~~~~~ ../drivers/scsi/ch.c:923:9: note: ‘sprintf’ output between 4 and 13 bytes into a destination of size 8 923 | sprintf(ch->name,"ch%d",ch->minor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:273 Excess struct member 'ping_work' description in 'panthor_fw' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:273 Excess struct member 'ping_work' description in 'panthor_fw' ../drivers/target/target_core_transport.c: In function ‘transport_dump_vpd_ident’: ../drivers/target/target_core_transport.c:1301:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1301 | "T10 VPD ASCII Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1300:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1300 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1301 | "T10 VPD ASCII Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1302 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1306:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1306 | "T10 VPD UTF-8 Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1305:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1305 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1306 | "T10 VPD UTF-8 Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1307 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1296:60: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 220 [-Wformat-truncation=] 1296 | "T10 VPD Binary Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1295:17: note: ‘snprintf’ output between 36 and 289 bytes into a destination of size 254 1295 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1296 | "T10 VPD Binary Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1297 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/panthor/panthor_mmu.c:405 Excess struct member 'kernel_auto_va.size' description in 'panthor_vm' Warning: ../drivers/gpu/drm/panthor/panthor_mmu.c:405 Excess struct member 'kernel_auto_va.size' description in 'panthor_vm' ../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 [-2147483641, 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/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/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/microchip/sparx5/sparx5_calendar.c: In function ‘sparx5_dsm_calendar_check’: ../drivers/net/ethernet/microchip/sparx5/sparx5_calendar.c:504:34: warning: variable ‘kdx’ set but not used [-Wunused-but-set-variable=] 504 | u32 jdx, kdx; | ^~~ In file included from ../include/linux/string.h:383, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/trace_osnoise.c: In function ‘osnoise_print’: ../kernel/trace/trace_osnoise.c:96:17: warning: function ‘osnoise_print’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 96 | trace_array_vprintk(tr, _RET_IP_, fmt, ap); | ^~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/aic7xxx/aic7xxx_core.c: In function ‘ahc_handle_ign_wide_residue’: ../drivers/scsi/aic7xxx/aic7xxx_core.c:4171:34: warning: variable ‘data_addr’ set but not used [-Wunused-but-set-variable=] 4171 | uint32_t data_addr; | ^~~~~~~~~ ../fs/smb/smbdirect/devices.c: In function ‘smbdirect_ib_client_add’: ../fs/smb/smbdirect/devices.c:118:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 118 | snprintf(sdev->ib_name, ARRAY_SIZE(sdev->ib_name), "%.*s", | ^ ../fs/smb/smbdirect/devices.c:118:9: note: ‘snprintf’ output between 1 and 65 bytes into a destination of size 64 118 | snprintf(sdev->ib_name, ARRAY_SIZE(sdev->ib_name), "%.*s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | IB_DEVICE_NAME_MAX, ib_dev->name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/ti/tlan.c: In function ‘tlan_read_and_clear_stats’: ../drivers/net/ethernet/ti/tlan.c:2059:25: warning: variable ‘def_tx’ set but not used [-Wunused-but-set-variable=] 2059 | u32 def_tx, crc, code; | ^~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/sun/niu.c: In function ‘niu_txc_set_imask’: ../drivers/net/ethernet/sun/niu.c:4647:13: warning: variable ‘val’ set but not used [-Wunused-but-set-variable=] 4647 | u64 val; | ^~~ ../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/scsi/aic7xxx/aic79xx_core.c: In function ‘ahd_handle_ign_wide_residue’: ../drivers/scsi/aic7xxx/aic79xx_core.c:5694:34: warning: variable ‘data_addr’ set but not used [-Wunused-but-set-variable=] 5694 | uint64_t data_addr; | ^~~~~~~~~ In file included from ../include/linux/string.h:383, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/scsi/qla2xxx/qla_def.h:12, from ../drivers/scsi/qla2xxx/qla_init.c:6: In function ‘fortify_memcpy_chk’, inlined from ‘qla81xx_nvram_config’ at ../drivers/scsi/qla2xxx/qla_init.c:9445:2: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/usb/hso.c: In function ‘hso_probe’: ../drivers/net/usb/hso.c:2853:13: warning: variable ‘mux’ set but not used [-Wunused-but-set-variable=] 2853 | int mux, i, if_num, port_spec; | ^~~ ../drivers/scsi/lpfc/lpfc_hbadisc.c: In function ‘lpfc_nlp_state_name.constprop’: ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:50: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~ ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:40: note: directive argument in the range [9, 2147483647] 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~~~~~~~~~~~~~ ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:17: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 16 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:68 Excess struct member 'kobj' description 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:68 Excess struct member 'kobj' description 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/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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/lpfc/lpfc_bsg.c: In function ‘diag_cmd_data_alloc’: ../drivers/scsi/lpfc/lpfc_bsg.c:2819:18: warning: variable ‘offset’ set but not used [-Wunused-but-set-variable=] 2819 | int cnt, offset = 0, i = 0; | ^~~~~~ In file included from ../include/linux/string.h:383, 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:100, 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:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:3930 Excess function parameter 'count' description in 'ice_dpll_init_fwnode_pins' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:4032 Excess function parameter 'cgu' description in 'ice_dpll_init_pins_e825' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:3930 Excess function parameter 'count' description in 'ice_dpll_init_fwnode_pins' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:4032 Excess function parameter 'cgu' description in 'ice_dpll_init_pins_e825' ../drivers/scsi/elx/libefc/efc_node.c: In function ‘efc_node_alloc’: ../drivers/scsi/elx/libefc/efc_node.c:254:70: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~ In function ‘efc_node_update_display_name’, inlined from ‘efc_node_alloc’ at ../drivers/scsi/elx/libefc/efc_node.c:95:2: ../drivers/scsi/elx/libefc/efc_node.c:254:9: note: ‘snprintf’ output between 2 and 48 bytes into a destination of size 32 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c: In function ‘efc_node_update_display_name’: ../drivers/scsi/elx/libefc/efc_node.c:254:70: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c:254:9: note: ‘snprintf’ output between 2 and 48 bytes into a destination of size 32 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/scsi/mpt3sas/mpt3sas_ctl.c:2913 expecting prototype for mpt3sas_send_passthru_cmd(). Prototype was for mpt3sas_send_mctp_passthru_req() instead Warning: ../drivers/infiniband/hw/mlx5/umr.c:981 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/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 1279 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 1284 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/esas2r/esas2r_vda.c: In function ‘esas2r_complete_vda_ioctl’: ../drivers/scsi/esas2r/esas2r_vda.c:313:59: warning: ‘%2.2u’ directive output may be truncated writing between 2 and 3 bytes into a region of size between 1 and 3 [-Wformat-truncation=] 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~ ../drivers/scsi/esas2r/esas2r_vda.c:313:52: note: directive argument in the range [0, 255] 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~~~~~~~~~ ../drivers/scsi/esas2r/esas2r_vda.c:313:25: note: ‘snprintf’ output between 5 and 8 bytes into a destination of size 5 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | (int)LOBYTE(le16_to_cpu(rsp->fw_release)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | (int)HIBYTE(le16_to_cpu(rsp->fw_release))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) 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/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' ../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:898:65: warning: ‘snprintf’ output may be truncated before the last format character [-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:17: note: ‘snprintf’ output 7 or more bytes (assuming 17) 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 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) 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:383, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/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:4094:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4268:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4353:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:5138:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:5213:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:5285:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/hid/wacom_sys.c: In function ‘wacom_update_name’: ../drivers/hid/wacom_sys.c:2295:61: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 38 [-Wformat-truncation=] 2295 | snprintf(name, sizeof(name), "Wacom %s", product_name); | ^~ ../drivers/hid/wacom_sys.c:2295:25: note: ‘snprintf’ output between 7 and 134 bytes into a destination of size 44 2295 | 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/amd/amdgpu/../display/dc/core/dc.c:3659 Excess function parameter 'update_descriptor' description in 'update_planes_and_stream_state' Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3659 Excess function parameter 'update_descriptor' description in 'update_planes_and_stream_state' Documentation/.renames.txt: warning: ignored by one of the .gitignore files Documentation/.renames.txt: warning: ignored by one of the .gitignore files