In file included from ../include/trace/define_trace.h:132, from ../samples/trace_events/trace-events-sample.h:640, from ../samples/trace_events/trace-events-sample.c:12: ../samples/trace_events/./trace-events-sample.h: In function ‘trace_event_get_offsets_foo_bar’: ../include/linux/cpumask.h:121:42: warning: function ‘trace_event_get_offsets_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 121 | #define cpu_possible_mask ((const struct cpumask *)&__cpu_possible_mask) | ^~~~~~~ ../include/trace/trace_events.h:285:9: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 285 | tstruct; \ | ^~~~~~~ ../include/trace/trace_events.h:43:30: note: in expansion of macro ‘PARAMS’ 43 | PARAMS(tstruct), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:299:9: note: in expansion of macro ‘TP_STRUCT__entry’ 299 | TP_STRUCT__entry( | ^~~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:110:34: note: in expansion of macro ‘__dynamic_array’ 110 | #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, \ | ^~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:98:11: note: in expansion of macro ‘__bitmask_size_in_bytes_raw’ 98 | ((__bitmask_size_in_bytes_raw(nr_bits) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:111:42: note: in expansion of macro ‘__bitmask_size_in_longs’ 111 | __bitmask_size_in_longs(nr_bits)) | ^~~~~~~~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:304:17: note: in expansion of macro ‘__bitmask’ 304 | __bitmask( cpus, num_possible_cpus() ) | ^~~~~~~~~ ../include/linux/cpumask.h:1190:48: note: in expansion of macro ‘cpu_possible_mask’ 1190 | #define num_possible_cpus() cpumask_weight(cpu_possible_mask) | ^~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:304:41: note: in expansion of macro ‘num_possible_cpus’ 304 | __bitmask( cpus, num_possible_cpus() ) | ^~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h: In function ‘do_trace_event_raw_event_foo_bar’: ../arch/x86/include/asm/bug.h:55:45: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 55 | "i" (sizeof(struct bug_entry))); \ | ^~~~~~~~~ ../include/trace/trace_events.h:427:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’ 427 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:435:23: note: in expansion of macro ‘PARAMS’ 435 | PARAMS(assign), PARAMS(print)) \ | ^~~~~~ ../include/trace/trace_events.h:40:9: note: in expansion of macro ‘DECLARE_EVENT_CLASS’ 40 | DECLARE_EVENT_CLASS(name, \ | ^~~~~~~~~~~~~~~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:310:9: note: in expansion of macro ‘TP_fast_assign’ 310 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:99:9: note: in expansion of macro ‘_BUG_FLAGS’ 99 | _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:634:9: note: in expansion of macro ‘fortify_warn_once’ 634 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:690:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ In file included from ../include/trace/define_trace.h:133: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:55:45: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 55 | "i" (sizeof(struct bug_entry))); \ | ^~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/perf.h:67:23: note: in expansion of macro ‘PARAMS’ 67 | PARAMS(assign), PARAMS(print)) \ | ^~~~~~ ../include/trace/trace_events.h:40:9: note: in expansion of macro ‘DECLARE_EVENT_CLASS’ 40 | DECLARE_EVENT_CLASS(name, \ | ^~~~~~~~~~~~~~~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:310:9: note: in expansion of macro ‘TP_fast_assign’ 310 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:99:9: note: in expansion of macro ‘_BUG_FLAGS’ 99 | _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:634:9: note: in expansion of macro ‘fortify_warn_once’ 634 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:690:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ .pylintrc: warning: ignored by one of the .gitignore files In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:54 Excess function parameter 'reqprot' description in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' Warning: ../security/ipe/hooks.c:82 Excess function parameter 'reqprot' description in 'ipe_file_mprotect' Warning: ../security/landlock/ruleset.c:206 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:206 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:685 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:685 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1034 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1034 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2302 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2337 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2506 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2506 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2855 function parameter 'handle' not described in 'snapshot_write_finalize' Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/scsi/qla2xxx/qla_def.h:12, from ../drivers/scsi/qla2xxx/qla_init.c:6: In function ‘fortify_memcpy_chk’, inlined from ‘qla81xx_nvram_config’ at ../drivers/scsi/qla2xxx/qla_init.c:9250:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:103, from ../arch/x86/include/asm/alternative.h:9, from ../arch/x86/include/asm/barrier.h:5, from ../include/asm-generic/bitops/generic-non-atomic.h:7, from ../include/linux/bitops.h:28, from ../include/linux/kernel.h:23, from ../include/linux/bcm47xx_nvram.h:10, from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:479:25: note: in definition of macro ‘printk_index_wrap’ 479 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:560:9: note: in expansion of macro ‘printk’ 560 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:560:16: note: in expansion of macro ‘KERN_WARNING’ 560 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 92 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:479:25: note: in definition of macro ‘printk_index_wrap’ 479 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:560:9: note: in expansion of macro ‘printk’ 560 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:560:16: note: in expansion of macro ‘KERN_WARNING’ 560 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 90 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../kernel/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'len' not described in 'krb5_etm_decrypt' Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'buf' not described in 'krb5_etm_decrypt' In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1064:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1064 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1212:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/android/binderfs.c:237 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'arg' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binder.c:2434 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2454 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4010 function parameter 'thread' not described in 'binder_free_buf' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 476 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../fs/ubifs/replay.c:594 function parameter 'log_hash' not described in 'authenticate_sleb' ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../fs/nfsd/localio.c:50 function parameter 'pnf' not described in 'nfsd_open_local_fh' Warning: ../fs/nfsd/localio.c:50 Excess function parameter 'nfp' description in 'nfsd_open_local_fh' Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' 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/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../fs/smb/client/cifssmb.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘CIFSPOSIXCreate’ at ../fs/smb/client/cifssmb.c:993:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFileInfo’ at ../fs/smb/client/cifssmb.c:3693:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:3859:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:3941:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:4697:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:4768:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:4837:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' In file included from ../include/trace/define_trace.h:132, from ../samples/trace_events/trace-events-sample.h:640, from ../samples/trace_events/trace-events-sample.c:12: ../samples/trace_events/./trace-events-sample.h: In function ‘trace_event_get_offsets_foo_bar’: ../include/linux/cpumask.h:121:42: warning: function ‘trace_event_get_offsets_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 121 | #define cpu_possible_mask ((const struct cpumask *)&__cpu_possible_mask) | ^~~~~~~ ../include/trace/trace_events.h:285:9: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 285 | tstruct; \ | ^~~~~~~ ../include/trace/trace_events.h:43:30: note: in expansion of macro ‘PARAMS’ 43 | PARAMS(tstruct), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:299:9: note: in expansion of macro ‘TP_STRUCT__entry’ 299 | TP_STRUCT__entry( | ^~~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:110:34: note: in expansion of macro ‘__dynamic_array’ 110 | #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, \ | ^~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:98:11: note: in expansion of macro ‘__bitmask_size_in_bytes_raw’ 98 | ((__bitmask_size_in_bytes_raw(nr_bits) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage5_get_offsets.h:111:42: note: in expansion of macro ‘__bitmask_size_in_longs’ 111 | __bitmask_size_in_longs(nr_bits)) | ^~~~~~~~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:304:17: note: in expansion of macro ‘__bitmask’ 304 | __bitmask( cpus, num_possible_cpus() ) | ^~~~~~~~~ ../include/linux/cpumask.h:1190:48: note: in expansion of macro ‘cpu_possible_mask’ 1190 | #define num_possible_cpus() cpumask_weight(cpu_possible_mask) | ^~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:304:41: note: in expansion of macro ‘num_possible_cpus’ 304 | __bitmask( cpus, num_possible_cpus() ) | ^~~~~~~~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h: In function ‘do_trace_event_raw_event_foo_bar’: ../arch/x86/include/asm/bug.h:55:45: warning: function ‘do_trace_event_raw_event_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 55 | "i" (sizeof(struct bug_entry))); \ | ^~~~~~~~~ ../include/trace/trace_events.h:427:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’ 427 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:435:23: note: in expansion of macro ‘PARAMS’ 435 | PARAMS(assign), PARAMS(print)) \ | ^~~~~~ ../include/trace/trace_events.h:40:9: note: in expansion of macro ‘DECLARE_EVENT_CLASS’ 40 | DECLARE_EVENT_CLASS(name, \ | ^~~~~~~~~~~~~~~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:310:9: note: in expansion of macro ‘TP_fast_assign’ 310 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:99:9: note: in expansion of macro ‘_BUG_FLAGS’ 99 | _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:634:9: note: in expansion of macro ‘fortify_warn_once’ 634 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:690:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ In file included from ../include/trace/define_trace.h:133: ../samples/trace_events/./trace-events-sample.h: In function ‘do_perf_trace_foo_bar’: ../arch/x86/include/asm/bug.h:55:45: warning: function ‘do_perf_trace_foo_bar’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 55 | "i" (sizeof(struct bug_entry))); \ | ^~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/perf.h:67:23: note: in expansion of macro ‘PARAMS’ 67 | PARAMS(assign), PARAMS(print)) \ | ^~~~~~ ../include/trace/trace_events.h:40:9: note: in expansion of macro ‘DECLARE_EVENT_CLASS’ 40 | DECLARE_EVENT_CLASS(name, \ | ^~~~~~~~~~~~~~~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:291:1: note: in expansion of macro ‘TRACE_EVENT’ 291 | TRACE_EVENT(foo_bar, | ^~~~~~~~~~~ ../samples/trace_events/./trace-events-sample.h:310:9: note: in expansion of macro ‘TP_fast_assign’ 310 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../arch/x86/include/asm/bug.h:99:9: note: in expansion of macro ‘_BUG_FLAGS’ 99 | _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ | ^~~~~~~~~~ ../include/asm-generic/bug.h:107:17: note: in expansion of macro ‘__WARN_FLAGS’ 107 | __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ | ^~~~~~~~~~~~ ../include/asm-generic/bug.h:134:17: note: in expansion of macro ‘__WARN_printf’ 134 | __WARN_printf(TAINT_WARN, format); \ | ^~~~~~~~~~~~~ ../include/linux/once_lite.h:31:25: note: in expansion of macro ‘WARN’ 31 | func(__VA_ARGS__); \ | ^~~~ ../include/asm-generic/bug.h:152:9: note: in expansion of macro ‘DO_ONCE_LITE_IF’ 152 | DO_ONCE_LITE_IF(condition, WARN, 1, format) | ^~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:24:41: note: in expansion of macro ‘WARN_ONCE’ 24 | # define fortify_warn_once(x...) WARN_ONCE(x) | ^~~~~~~~~ ../include/linux/fortify-string.h:634:9: note: in expansion of macro ‘fortify_warn_once’ 634 | fortify_warn_once(fortify_memcpy_chk(__fortify_size, __p_size, \ | ^~~~~~~~~~~~~~~~~ ../include/linux/fortify-string.h:690:26: note: in expansion of macro ‘__fortify_memcpy_chk’ 690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../include/trace/stages/stage6_event_callback.h:38:17: note: in expansion of macro ‘memcpy’ 38 | memcpy(__str__, __data_offsets.dst##_ptr_ ? : \ | ^~~~~~ ../samples/trace_events/./trace-events-sample.h:316:17: note: in expansion of macro ‘__assign_str’ 316 | __assign_str(lstr); | ^~~~~~~~~~~~ .pylintrc: warning: ignored by one of the .gitignore files Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../security/landlock/ruleset.c:206 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:206 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:685 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:685 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:54 Excess function parameter 'reqprot' description in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' Warning: ../security/ipe/hooks.c:82 Excess function parameter 'reqprot' description in 'ipe_file_mprotect' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1034 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1034 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2302 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2337 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2506 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2506 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2855 function parameter 'handle' not described in 'snapshot_write_finalize' Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' Warning: ../kernel/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/scsi/qla2xxx/qla_def.h:12, from ../drivers/scsi/qla2xxx/qla_init.c:6: In function ‘fortify_memcpy_chk’, inlined from ‘qla81xx_nvram_config’ at ../drivers/scsi/qla2xxx/qla_init.c:9250:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'len' not described in 'krb5_etm_decrypt' Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'buf' not described in 'krb5_etm_decrypt' ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1064:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1064 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 476 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:103, from ../arch/x86/include/asm/alternative.h:9, from ../arch/x86/include/asm/barrier.h:5, from ../include/asm-generic/bitops/generic-non-atomic.h:7, from ../include/linux/bitops.h:28, from ../include/linux/kernel.h:23, from ../include/linux/bcm47xx_nvram.h:10, from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:479:25: note: in definition of macro ‘printk_index_wrap’ 479 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:560:9: note: in expansion of macro ‘printk’ 560 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:560:16: note: in expansion of macro ‘KERN_WARNING’ 560 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 92 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:479:25: note: in definition of macro ‘printk_index_wrap’ 479 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:560:9: note: in expansion of macro ‘printk’ 560 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:560:16: note: in expansion of macro ‘KERN_WARNING’ 560 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 90 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/stream.c: In function ‘bpf_stream_vprintk’: ../kernel/bpf/stream.c:382:9: warning: function ‘bpf_stream_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 382 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt__str, data.bin_args); | ^~~ Warning: ../fs/ubifs/replay.c:594 function parameter 'log_hash' not described in 'authenticate_sleb' ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../fs/nfsd/localio.c:50 function parameter 'pnf' not described in 'nfsd_open_local_fh' Warning: ../fs/nfsd/localio.c:50 Excess function parameter 'nfp' description in 'nfsd_open_local_fh' In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1212:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/android/binderfs.c:237 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'arg' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binder.c:2434 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2454 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4010 function parameter 'thread' not described in 'binder_free_buf' Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../fs/smb/client/cifssmb.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘CIFSPOSIXCreate’ at ../fs/smb/client/cifssmb.c:993:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFileInfo’ at ../fs/smb/client/cifssmb.c:3693:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:3859:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:3941:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:4697:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:4768:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:4837:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c: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/net/ethernet/sfc/ptp.c:204 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' New errors added --- /tmp/tmp.nbIWfSy5Y0 2025-07-03 14:16:51.187567616 -0700 +++ /tmp/tmp.j38lJgs629 2025-07-03 14:20:09.002313486 -0700 @@ -143,0 +144 @@ +Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' @@ -158,4 +158,0 @@ -Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' -Warning: ../security/ipe/hooks.c:54 Excess function parameter 'reqprot' description in 'ipe_mmap_file' -Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' -Warning: ../security/ipe/hooks.c:82 Excess function parameter 'reqprot' description in 'ipe_file_mprotect' @@ -165,0 +163,4 @@ +Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' +Warning: ../security/ipe/hooks.c:54 Excess function parameter 'reqprot' description in 'ipe_mmap_file' +Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' +Warning: ../security/ipe/hooks.c:82 Excess function parameter 'reqprot' description in 'ipe_file_mprotect' @@ -172 +172,0 @@ -Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' @@ -223,0 +224 @@ +Warning: ../kernel/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' @@ -240,0 +242,6 @@ +Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'len' not described in 'krb5_etm_decrypt' +Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'buf' not described in 'krb5_etm_decrypt' +../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: +../kernel/bpf/helpers.c:1064:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 1064 | err = bstr_printf(str, str_size, fmt, data.bin_args); + | ^~~ @@ -241,0 +249,12 @@ +../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: +../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); + | ^~~ +../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: +../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); + | ^~~ +../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: +../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 476 | seq_bprintf(m, fmt, data.bin_args); + | ^~~~~~~~~~~ @@ -294,0 +314,2 @@ +Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' +Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' @@ -309,3 +330,6 @@ -Warning: ../kernel/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' -Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'len' not described in 'krb5_etm_decrypt' -Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'buf' not described in 'krb5_etm_decrypt' +../kernel/bpf/stream.c: In function ‘bpf_stream_vprintk’: +../kernel/bpf/stream.c:382:9: warning: function ‘bpf_stream_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 382 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt__str, data.bin_args); + | ^~~ +Warning: ../fs/ubifs/replay.c:594 function parameter 'log_hash' not described in 'authenticate_sleb' +../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch @@ -327,4 +351,2 @@ -../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: -../kernel/bpf/helpers.c:1064:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 1064 | err = bstr_printf(str, str_size, fmt, data.bin_args); - | ^~~ +Warning: ../fs/nfsd/localio.c:50 function parameter 'pnf' not described in 'nfsd_open_local_fh' +Warning: ../fs/nfsd/localio.c:50 Excess function parameter 'nfp' description in 'nfsd_open_local_fh' @@ -357,0 +380 @@ +Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' @@ -361 +383,0 @@ -../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch @@ -363,17 +385 @@ -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' -../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: -../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); - | ^~~ -../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: -../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); - | ^~~ -../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: -../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 476 | seq_bprintf(m, fmt, data.bin_args); - | ^~~~~~~~~~~ +Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' @@ -397,17 +403,5 @@ -Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' -Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' -../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new -Warning: ../fs/ubifs/replay.c:594 function parameter 'log_hash' not described in 'authenticate_sleb' -../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new -../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new -Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' -Warning: ../fs/nfsd/localio.c:50 function parameter 'pnf' not described in 'nfsd_open_local_fh' -Warning: ../fs/nfsd/localio.c:50 Excess function parameter 'nfp' description in 'nfsd_open_local_fh' -Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' -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/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' @@ -458,0 +453,10 @@ +../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new +../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new +../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new +Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' +Warning: ../drivers/most/most_usb.c: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/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' Per-file breakdown --- /tmp/tmp.gr8DnUTCxQ 2025-07-03 14:20:09.021486737 -0700 +++ /tmp/tmp.DHCvVI2R1m 2025-07-03 14:20:09.030486688 -0700 @@ -9,0 +10 @@ + 1 ../kernel/bpf/stream.c