../drivers/phy/broadcom/phy-bcm-ns-usb3.c:206:17: warning: cast to smaller integer type 'enum bcm_ns_family' from 'const void *' [-Wvoid-pointer-to-enum-cast] 206 | usb3->family = (enum bcm_ns_family)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/pwm/core.c:54:1: warning: unused function 'class_pwmchip_lock_err' [-Wunused-function] 54 | DEFINE_GUARD(pwmchip, struct pwm_chip *, pwmchip_lock(_T), pwmchip_unlock(_T)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :131:1: note: expanded from here 131 | class_pwmchip_lock_err | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../samples/ftrace/ftrace-direct.c:210:65: error: too few arguments to function call, expected 3, have 2 210 | return register_ftrace_direct(&direct, (unsigned long) my_tramp); | ~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct.c:215:65: error: too few arguments to function call, expected 4, have 3 215 | unregister_ftrace_direct(&direct, (unsigned long)my_tramp, true); | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 541 | bool free_filters); | ~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct.o] Error 1 make[4]: *** [../scripts/Makefile.build:556: samples/ftrace] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:556: samples] Error 2 make[3]: *** Waiting for unfinished jobs.... ../arch/x86/events/intel/p4.c:1370:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1370 | unsigned int low, high; | ^ 1 warning generated. Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described 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:1035 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1035 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' In file included from ../drivers/char/tpm/eventlog/common.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm1.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm2.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/acpi.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/block/rbd.c:6092:17: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6093 | / sizeof (u64)) { | ~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/nfc/pn533/pn533.c:9: In file included from ../include/linux/device.h:15: In file included from ../include/linux/dev_printk.h:16: In file included from ../include/linux/ratelimit.h:6: In file included from ../include/linux/sched.h:13: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../fs/namespace.c:1779:1: warning: unused function 'class_namespace_lock_lock_err' [-Wunused-function] 1779 | DEFINE_GUARD(namespace_lock, struct rw_semaphore *, namespace_lock(), namespace_unlock()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :47:1: note: expanded from here 47 | class_namespace_lock_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../fs/namespace.c:2772 function parameter 'pinned' not described in 'do_lock_mount' ../security/apparmor/af_unix.c:28:28: warning: unused function 'aa_unix_sk' [-Wunused-function] 28 | static inline struct sock *aa_unix_sk(struct unix_sock *u) | ^~~~~~~~~~ 1 warning generated. 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' ../arch/x86/kernel/process.c:974:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 974 | u32 lo, hi; | ^ 1 warning generated. Warning: ../drivers/gpu/drm/scheduler/sched_main.c:388 function parameter 'result' not described in 'drm_sched_job_done' ../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; | ^ 1 warning generated. ../kernel/sched/core.c:6408:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6408 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6409 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6410 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6411 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:350:22: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 350 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :109:1: note: expanded from here 109 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/sched/core.c:6408:1: warning: unused function 'class_core_lock_lock_err' [-Wunused-function] 6408 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6409 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6410 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6411 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :113:1: note: expanded from here 113 | class_core_lock_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. 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' In file included from ../drivers/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../kernel/time/posix-timers.c:89:1: warning: unused function 'class_lock_timer_lock_err' [-Wunused-function] 89 | DEFINE_CLASS_IS_COND_GUARD(lock_timer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:376:2: note: expanded from macro 'DEFINE_CLASS_IS_COND_GUARD' 376 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :47:1: note: expanded from here 47 | class_lock_timer_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/scsi/qla2xxx/qla_init.c:6: In file included from ../drivers/scsi/qla2xxx/qla_def.h:12: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../kernel/trace/ftrace.c:5980 function parameter 'ip' not described in 'register_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6011 function parameter 'ip' not described in 'unregister_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6043 function parameter 'ip' not described in 'modify_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6043 function parameter 'lock_direct_mutex' not described in 'modify_ftrace_direct' In file included from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/android/binderfs.c:234 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:234 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:234 function parameter 'arg' not described in 'binder_ctl_ioctl' In file included from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/android/binder.c:2435 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2435 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2435 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2435 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2455 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2455 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2455 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2455 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4009 function parameter 'thread' not described in 'binder_free_buf' ../drivers/scsi/lpfc/lpfc_bsg.c:2819:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2819 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. ../fs/ext2/super.c:503:1: warning: unused function 'ctx_test_mount_opt' [-Wunused-function] 503 | ctx_test_mount_opt(struct ext2_fs_context *ctx, unsigned long flag) | ^~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1119 | 0) > 10 ? | ^ 1120 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1121 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/perf/arm_cspmu/ampere_cspmu.c:35:1: warning: unused function 'get_event' [-Wunused-function] 35 | SOC_PMU_EVENT_ATTR_EXTRACTOR(event, config, 0, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/perf/arm_cspmu/ampere_cspmu.c:29:20: note: expanded from macro 'SOC_PMU_EVENT_ATTR_EXTRACTOR' 29 | static inline u32 get_##_name(const struct perf_event *event) \ | ^~~~~~~~~~~ :23:1: note: expanded from here 23 | get_event | ^~~~~~~~~ 1 warning generated. In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' ../drivers/net/ethernet/natsemi/ns83820.c:1703:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1703 | int loops = 0; | ^ 1 warning generated. ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 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' In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/tehuti/tehuti.c:63: In file included from ../drivers/net/ethernet/tehuti/tehuti.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../fs/gfs2/glock.c:1263 function parameter 'ip' not described in '__gfs2_holder_init' ../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../fs/ceph/snap.c:377:10: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 377 | if (num > (SIZE_MAX - sizeof(*snapc)) / sizeof(u64)) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../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_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 ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2011: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../samples/ftrace/ftrace-direct.c:210:65: error: too few arguments to function call, expected 3, have 2 210 | return register_ftrace_direct(&direct, (unsigned long) my_tramp); | ~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct.c:215:65: error: too few arguments to function call, expected 4, have 3 215 | unregister_ftrace_direct(&direct, (unsigned long)my_tramp, true); | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 541 | bool free_filters); | ~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../samples/ftrace/ftrace-direct-too.c:243:65: error: too few arguments to function call, expected 3, have 2 243 | return register_ftrace_direct(&direct, (unsigned long) my_tramp); | ~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct-too.c:248:65: error: too few arguments to function call, expected 4, have 3 248 | unregister_ftrace_direct(&direct, (unsigned long)my_tramp, true); | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 541 | bool free_filters); | ~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-too.o] Error 1 make[4]: *** [../scripts/Makefile.build:556: samples/ftrace] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/phy/broadcom/phy-bcm-ns-usb3.c:206:17: warning: cast to smaller integer type 'enum bcm_ns_family' from 'const void *' [-Wvoid-pointer-to-enum-cast] 206 | usb3->family = (enum bcm_ns_family)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make[3]: *** [../scripts/Makefile.build:556: samples] Error 2 make[3]: *** Waiting for unfinished jobs.... ../drivers/pwm/core.c:54:1: warning: unused function 'class_pwmchip_lock_err' [-Wunused-function] 54 | DEFINE_GUARD(pwmchip, struct pwm_chip *, pwmchip_lock(_T), pwmchip_unlock(_T)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :131:1: note: expanded from here 131 | class_pwmchip_lock_err | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../arch/x86/events/intel/p4.c:1370:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1370 | unsigned int low, high; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/common.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm1.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm2.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' In file included from ../drivers/char/tpm/eventlog/acpi.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../fs/namespace.c:1779:1: warning: unused function 'class_namespace_lock_lock_err' [-Wunused-function] 1779 | DEFINE_GUARD(namespace_lock, struct rw_semaphore *, namespace_lock(), namespace_unlock()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :47:1: note: expanded from here 47 | class_namespace_lock_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../fs/namespace.c:2772 function parameter 'pinned' not described in 'do_lock_mount' 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:1035 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1035 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' In file included from ../drivers/nfc/pn533/pn533.c:9: In file included from ../include/linux/device.h:15: In file included from ../include/linux/dev_printk.h:16: In file included from ../include/linux/ratelimit.h:6: In file included from ../include/linux/sched.h:13: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/block/rbd.c:6092:17: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6093 | / sizeof (u64)) { | ~~~~~~~~~~~~~~ 1 warning generated. ../arch/x86/kernel/process.c:974:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 974 | u32 lo, hi; | ^ 1 warning generated. ../security/apparmor/af_unix.c:28:28: warning: unused function 'aa_unix_sk' [-Wunused-function] 28 | static inline struct sock *aa_unix_sk(struct unix_sock *u) | ^~~~~~~~~~ 1 warning generated. 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' ../kernel/sched/core.c:6408:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6408 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6409 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6410 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6411 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:350:22: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 350 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :109:1: note: expanded from here 109 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/sched/core.c:6408:1: warning: unused function 'class_core_lock_lock_err' [-Wunused-function] 6408 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6409 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6410 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6411 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :113:1: note: expanded from here 113 | class_core_lock_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Warning: ../drivers/gpu/drm/scheduler/sched_main.c:388 function parameter 'result' not described in 'drm_sched_job_done' ../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; | ^ 1 warning generated. ../kernel/time/posix-timers.c:89:1: warning: unused function 'class_lock_timer_lock_err' [-Wunused-function] 89 | DEFINE_CLASS_IS_COND_GUARD(lock_timer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:376:2: note: expanded from macro 'DEFINE_CLASS_IS_COND_GUARD' 376 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :47:1: note: expanded from here 47 | class_lock_timer_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/scsi/qla2xxx/qla_init.c:6: In file included from ../drivers/scsi/qla2xxx/qla_def.h:12: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../drivers/scsi/lpfc/lpfc_bsg.c:2819:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2819 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. In file included from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../kernel/trace/ftrace.c:5980 function parameter 'ip' not described in 'register_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6011 function parameter 'ip' not described in 'unregister_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6043 function parameter 'ip' not described in 'modify_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6043 function parameter 'lock_direct_mutex' not described in 'modify_ftrace_direct' Warning: ../drivers/android/binderfs.c:234 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:234 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:234 function parameter 'arg' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binder.c:2435 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2435 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2435 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2435 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2455 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2455 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2455 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2455 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4009 function parameter 'thread' not described in 'binder_free_buf' In file included from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/perf/arm_cspmu/ampere_cspmu.c:35:1: warning: unused function 'get_event' [-Wunused-function] 35 | SOC_PMU_EVENT_ATTR_EXTRACTOR(event, config, 0, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/perf/arm_cspmu/ampere_cspmu.c:29:20: note: expanded from macro 'SOC_PMU_EVENT_ATTR_EXTRACTOR' 29 | static inline u32 get_##_name(const struct perf_event *event) \ | ^~~~~~~~~~~ :23:1: note: expanded from here 23 | get_event | ^~~~~~~~~ 1 warning generated. ../fs/ext2/super.c:503:1: warning: unused function 'ctx_test_mount_opt' [-Wunused-function] 503 | ctx_test_mount_opt(struct ext2_fs_context *ctx, unsigned long flag) | ^~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1119 | 0) > 10 ? | ^ 1120 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1121 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../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 ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. 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' In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. ../drivers/net/ethernet/natsemi/ns83820.c:1703:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1703 | int loops = 0; | ^ 1 warning generated. ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../fs/gfs2/glock.c:1263 function parameter 'ip' not described in '__gfs2_holder_init' In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' In file included from ../drivers/net/ethernet/tehuti/tehuti.c:63: In file included from ../drivers/net/ethernet/tehuti/tehuti.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../fs/ceph/snap.c:377:10: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 377 | if (num > (SIZE_MAX - sizeof(*snapc)) / sizeof(u64)) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. ../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. ../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_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 ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2011: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.eMJXmRLef9 2025-09-23 17:08:21.825983761 -0700 +++ /tmp/tmp.cnzE5pm7lb 2025-09-23 17:14:08.832654776 -0700 @@ -1,20 +0,0 @@ -../drivers/phy/broadcom/phy-bcm-ns-usb3.c:206:17: warning: cast to smaller integer type 'enum bcm_ns_family' from 'const void *' [-Wvoid-pointer-to-enum-cast] - 206 | usb3->family = (enum bcm_ns_family)device_get_match_data(dev); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -1 warning generated. -../drivers/pwm/core.c:54:1: warning: unused function 'class_pwmchip_lock_err' [-Wunused-function] - 54 | DEFINE_GUARD(pwmchip, struct pwm_chip *, pwmchip_lock(_T), pwmchip_unlock(_T)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' - 380 | DEFINE_CLASS_IS_GUARD(_name) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' - 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' - 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ - | ^~~~~~~~~~~~~~~~~~~~~~~~ -:131:1: note: expanded from here - 131 | class_pwmchip_lock_err - | ^~~~~~~~~~~~~~~~~~~~~~ -1 warning generated. @@ -36,0 +17,17 @@ +make[5]: *** Waiting for unfinished jobs.... +../samples/ftrace/ftrace-direct-too.c:243:65: error: too few arguments to function call, expected 3, have 2 + 243 | return register_ftrace_direct(&direct, (unsigned long) my_tramp); + | ~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here + 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../samples/ftrace/ftrace-direct-too.c:248:65: error: too few arguments to function call, expected 4, have 3 + 248 | unregister_ftrace_direct(&direct, (unsigned long)my_tramp, true); + | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here + 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 541 | bool free_filters); + | ~~~~~~~~~~~~~~~~~ +2 errors generated. +make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-too.o] Error 1 @@ -38,0 +36,4 @@ +../drivers/phy/broadcom/phy-bcm-ns-usb3.c:206:17: warning: cast to smaller integer type 'enum bcm_ns_family' from 'const void *' [-Wvoid-pointer-to-enum-cast] + 206 | usb3->family = (enum bcm_ns_family)device_get_match_data(dev); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. @@ -40,0 +42,16 @@ +../drivers/pwm/core.c:54:1: warning: unused function 'class_pwmchip_lock_err' [-Wunused-function] + 54 | DEFINE_GUARD(pwmchip, struct pwm_chip *, pwmchip_lock(_T), pwmchip_unlock(_T)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' + 380 | DEFINE_CLASS_IS_GUARD(_name) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' + 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' + 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ + | ^~~~~~~~~~~~~~~~~~~~~~~~ +:131:1: note: expanded from here + 131 | class_pwmchip_lock_err + | ^~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. @@ -45,12 +61,0 @@ -Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' -Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described 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:1035 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] -Warning: ../security/landlock/fs.c:1035 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' @@ -71,0 +77,2 @@ +Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' +Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' @@ -77,21 +83,0 @@ -../drivers/block/rbd.c:6092:17: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] - 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) - | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6093 | / sizeof (u64)) { - | ~~~~~~~~~~~~~~ -1 warning generated. -In file included from ../drivers/nfc/pn533/pn533.c:9: -In file included from ../include/linux/device.h:15: -In file included from ../include/linux/dev_printk.h:16: -In file included from ../include/linux/ratelimit.h:6: -In file included from ../include/linux/sched.h:13: -In file included from ../arch/x86/include/asm/processor.h:19: -In file included from ../arch/x86/include/asm/cpuid/api.h:57: -In file included from ../arch/x86/include/asm/paravirt.h:21: -In file included from ../include/linux/cpumask.h:12: -In file included from ../include/linux/bitmap.h:13: -In file included from ../include/linux/string.h:382: -../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^ -1 warning generated. @@ -114,0 +101,35 @@ +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:1035 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] +Warning: ../security/landlock/fs.c:1035 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' +In file included from ../drivers/nfc/pn533/pn533.c:9: +In file included from ../include/linux/device.h:15: +In file included from ../include/linux/dev_printk.h:16: +In file included from ../include/linux/ratelimit.h:6: +In file included from ../include/linux/sched.h:13: +In file included from ../arch/x86/include/asm/processor.h:19: +In file included from ../arch/x86/include/asm/cpuid/api.h:57: +In file included from ../arch/x86/include/asm/paravirt.h:21: +In file included from ../include/linux/cpumask.h:12: +In file included from ../include/linux/bitmap.h:13: +In file included from ../include/linux/string.h:382: +../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] + 580 | __read_overflow2_field(q_size_field, size); + | ^ +1 warning generated. +../drivers/block/rbd.c:6092:17: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] + 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) + | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6093 | / sizeof (u64)) { + | ~~~~~~~~~~~~~~ +1 warning generated. +../arch/x86/kernel/process.c:974:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] + 974 | u32 lo, hi; + | ^ +1 warning generated. @@ -123,9 +144,46 @@ -../arch/x86/kernel/process.c:974:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] - 974 | u32 lo, hi; - | ^ -1 warning generated. -Warning: ../drivers/gpu/drm/scheduler/sched_main.c:388 function parameter 'result' not described in 'drm_sched_job_done' -../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; - | ^ -1 warning generated. +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' @@ -187,46 +245,18 @@ -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:388 function parameter 'result' not described in 'drm_sched_job_done' +../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; + | ^ +1 warning generated. +../kernel/time/posix-timers.c:89:1: warning: unused function 'class_lock_timer_lock_err' [-Wunused-function] + 89 | DEFINE_CLASS_IS_COND_GUARD(lock_timer); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:376:2: note: expanded from macro 'DEFINE_CLASS_IS_COND_GUARD' + 376 | __DEFINE_GUARD_LOCK_PTR(_name, _T) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' + 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ + | ^~~~~~~~~~~~~~~~~~~~~~~~ +:47:1: note: expanded from here + 47 | class_lock_timer_lock_err + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. @@ -250,13 +279,0 @@ -../kernel/time/posix-timers.c:89:1: warning: unused function 'class_lock_timer_lock_err' [-Wunused-function] - 89 | DEFINE_CLASS_IS_COND_GUARD(lock_timer); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:376:2: note: expanded from macro 'DEFINE_CLASS_IS_COND_GUARD' - 376 | __DEFINE_GUARD_LOCK_PTR(_name, _T) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' - 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ - | ^~~~~~~~~~~~~~~~~~~~~~~~ -:47:1: note: expanded from here - 47 | class_lock_timer_lock_err - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -1 warning generated. @@ -281,0 +299,18 @@ +../drivers/scsi/lpfc/lpfc_bsg.c:2819:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] + 2819 | int cnt, offset = 0, i = 0; + | ^ +1 warning generated. +In file included from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: +In file included from ../include/linux/gfp.h:7: +In file included from ../include/linux/mmzone.h:8: +In file included from ../include/linux/spinlock.h:59: +In file included from ../include/linux/irqflags.h:18: +In file included from ../arch/x86/include/asm/irqflags.h:102: +In file included from ../arch/x86/include/asm/paravirt.h:21: +In file included from ../include/linux/cpumask.h:12: +In file included from ../include/linux/bitmap.h:13: +In file included from ../include/linux/string.h:382: +../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] + 580 | __read_overflow2_field(q_size_field, size); + | ^ +1 warning generated. @@ -285,0 +321,12 @@ +Warning: ../drivers/android/binderfs.c:234 function parameter 'file' not described in 'binder_ctl_ioctl' +Warning: ../drivers/android/binderfs.c:234 function parameter 'cmd' not described in 'binder_ctl_ioctl' +Warning: ../drivers/android/binderfs.c:234 function parameter 'arg' not described in 'binder_ctl_ioctl' +Warning: ../drivers/android/binder.c:2435 struct member 'offset' not described in 'binder_ptr_fixup' +Warning: ../drivers/android/binder.c:2435 struct member 'skip_size' not described in 'binder_ptr_fixup' +Warning: ../drivers/android/binder.c:2435 struct member 'fixup_data' not described in 'binder_ptr_fixup' +Warning: ../drivers/android/binder.c:2435 struct member 'node' not described in 'binder_ptr_fixup' +Warning: ../drivers/android/binder.c:2455 struct member 'offset' not described in 'binder_sg_copy' +Warning: ../drivers/android/binder.c:2455 struct member 'sender_uaddr' not described in 'binder_sg_copy' +Warning: ../drivers/android/binder.c:2455 struct member 'length' not described in 'binder_sg_copy' +Warning: ../drivers/android/binder.c:2455 struct member 'node' not described in 'binder_sg_copy' +Warning: ../drivers/android/binder.c:4009 function parameter 'thread' not described in 'binder_free_buf' @@ -301,3 +347,0 @@ -Warning: ../drivers/android/binderfs.c:234 function parameter 'file' not described in 'binder_ctl_ioctl' -Warning: ../drivers/android/binderfs.c:234 function parameter 'cmd' not described in 'binder_ctl_ioctl' -Warning: ../drivers/android/binderfs.c:234 function parameter 'arg' not described in 'binder_ctl_ioctl' @@ -319,12 +363,9 @@ -Warning: ../drivers/android/binder.c:2435 struct member 'offset' not described in 'binder_ptr_fixup' -Warning: ../drivers/android/binder.c:2435 struct member 'skip_size' not described in 'binder_ptr_fixup' -Warning: ../drivers/android/binder.c:2435 struct member 'fixup_data' not described in 'binder_ptr_fixup' -Warning: ../drivers/android/binder.c:2435 struct member 'node' not described in 'binder_ptr_fixup' -Warning: ../drivers/android/binder.c:2455 struct member 'offset' not described in 'binder_sg_copy' -Warning: ../drivers/android/binder.c:2455 struct member 'sender_uaddr' not described in 'binder_sg_copy' -Warning: ../drivers/android/binder.c:2455 struct member 'length' not described in 'binder_sg_copy' -Warning: ../drivers/android/binder.c:2455 struct member 'node' not described in 'binder_sg_copy' -Warning: ../drivers/android/binder.c:4009 function parameter 'thread' not described in 'binder_free_buf' -../drivers/scsi/lpfc/lpfc_bsg.c:2819:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] - 2819 | int cnt, offset = 0, i = 0; - | ^ +../drivers/perf/arm_cspmu/ampere_cspmu.c:35:1: warning: unused function 'get_event' [-Wunused-function] + 35 | SOC_PMU_EVENT_ATTR_EXTRACTOR(event, config, 0, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/perf/arm_cspmu/ampere_cspmu.c:29:20: note: expanded from macro 'SOC_PMU_EVENT_ATTR_EXTRACTOR' + 29 | static inline u32 get_##_name(const struct perf_event *event) \ + | ^~~~~~~~~~~ +:23:1: note: expanded from here + 23 | get_event + | ^~~~~~~~~ @@ -343,0 +385 @@ +Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' @@ -353,14 +394,0 @@ -In file included from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: -In file included from ../include/linux/gfp.h:7: -In file included from ../include/linux/mmzone.h:8: -In file included from ../include/linux/spinlock.h:59: -In file included from ../include/linux/irqflags.h:18: -In file included from ../arch/x86/include/asm/irqflags.h:102: -In file included from ../arch/x86/include/asm/paravirt.h:21: -In file included from ../include/linux/cpumask.h:12: -In file included from ../include/linux/bitmap.h:13: -In file included from ../include/linux/string.h:382: -../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^ -1 warning generated. @@ -368,10 +395,0 @@ -../drivers/perf/arm_cspmu/ampere_cspmu.c:35:1: warning: unused function 'get_event' [-Wunused-function] - 35 | SOC_PMU_EVENT_ATTR_EXTRACTOR(event, config, 0, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/perf/arm_cspmu/ampere_cspmu.c:29:20: note: expanded from macro 'SOC_PMU_EVENT_ATTR_EXTRACTOR' - 29 | static inline u32 get_##_name(const struct perf_event *event) \ - | ^~~~~~~~~~~ -:23:1: note: expanded from here - 23 | get_event - | ^~~~~~~~~ -1 warning generated. @@ -414,0 +433,3 @@ +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' @@ -433 +453,0 @@ -Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' @@ -442,3 +462 @@ -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: ../fs/gfs2/glock.c:1263 function parameter 'ip' not described in '__gfs2_holder_init' @@ -462,0 +481,5 @@ +Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' +Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' +Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' +Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' +Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' @@ -481,4 +504,3 @@ -Warning: ../fs/gfs2/glock.c:1263 function parameter 'ip' not described in '__gfs2_holder_init' -../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] - 4650 | u64 val; - | ^ +../fs/ceph/snap.c:377:10: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] + 377 | if (num > (SIZE_MAX - sizeof(*snapc)) / sizeof(u64)) + | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -507,8 +529,3 @@ -Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' -Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' -Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' -Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' -Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' -../fs/ceph/snap.c:377:10: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] - 377 | if (num > (SIZE_MAX - sizeof(*snapc)) / sizeof(u64)) - | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] + 4650 | u64 val; + | ^ Per-file breakdown --- /tmp/tmp.aXG6Z8UXVA 2025-09-23 17:14:08.841654714 -0700 +++ /tmp/tmp.gVmgU2Tkux 2025-09-23 17:14:08.844654694 -0700 @@ -22,0 +23 @@ + 2 ../samples/ftrace/ftrace-direct-too.c