.pylintrc: warning: ignored by one of the .gitignore files ../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. ../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:555: samples/ftrace] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:555: 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. 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. Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:54 Excess function parameter 'reqprot' description in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' Warning: ../security/ipe/hooks.c:82 Excess function parameter 'reqprot' description in 'ipe_file_mprotect' 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/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' 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. Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1034 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1034 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' ../arch/x86/kernel/process.c:966:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 966 | u32 lo, hi; | ^ 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:392: ../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/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' ../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. 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:6454:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6454 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6457 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:406:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 406 | \ | ^ 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :145:1: note: expanded from here 145 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 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' ../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. 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:392: ../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/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' 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:392: ../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/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'len' not described in 'krb5_etm_decrypt' Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'buf' not described in 'krb5_etm_decrypt' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../kernel/trace/ftrace.c:6137:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6137 | if (!new_hash) | ^~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6137:2: note: remove the 'if' if its condition is always false 6137 | if (!new_hash) | ^~~~~~~~~~~~~~ 6138 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6133:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6133 | if (!filter_hash) | ^~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6133:2: note: remove the 'if' if its condition is always false 6133 | if (!filter_hash) | ^~~~~~~~~~~~~~~~~ 6134 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6128:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6128 | if (ops->flags & FTRACE_OPS_FL_ENABLED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6128:3: note: remove the 'if' if its condition is always false 6128 | if (ops->flags & FTRACE_OPS_FL_ENABLED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6129 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6126:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6126:3: note: remove the 'if' if its condition is always false 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6127 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6126:7: warning: variable 'err' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6126:7: note: remove the '||' if its condition is always false 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~ ../kernel/trace/ftrace.c:6116:8: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6116 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6116:4: note: remove the 'if' if its condition is always false 6116 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6117 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6104:18: note: initialize the variable 'err' to silence this warning 6104 | int i, size, err; | ^ | = 0 6 warnings generated. Warning: ../kernel/trace/ftrace.c:5970 function parameter 'ip' not described in 'register_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6001 function parameter 'ip' not described in 'unregister_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6033 function parameter 'ip' not described in 'modify_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6033 function parameter 'lock_direct_mutex' not described in 'modify_ftrace_direct' ../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. 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/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:392: ../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:392: ../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/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. 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:392: ../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:392: ../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/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/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:392: ../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/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:392: ../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/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. 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:392: ../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:1704:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1704 | int loops = 0; | ^ 1 warning generated. Warning: ../drivers/android/binderfs.c:237 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'arg' not described in 'binder_ctl_ioctl' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' Warning: ../drivers/android/binder.c:2434 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2454 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4010 function parameter 'thread' not described in 'binder_free_buf' ../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) \ | ^~~~~~~~~~~ :24:1: note: expanded from here 24 | get_event | ^~~~~~~~~ 1 warning generated. Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' Warning: ../fs/ubifs/replay.c:594 function parameter 'log_hash' not described in 'authenticate_sleb' 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:392: ../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/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:392: ../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. 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:392: ../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/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' ../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 Warning: ../fs/nfsd/localio.c:50 function parameter 'pnf' not described in 'nfsd_open_local_fh' Warning: ../fs/nfsd/localio.c:50 Excess function parameter 'nfp' description in 'nfsd_open_local_fh' ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' ../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. Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' ../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. Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:68 Excess struct member 'kobj' description in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 .pylintrc: warning: ignored by one of the .gitignore files ../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. ../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. ../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 ../samples/ftrace/ftrace-direct-modify.c:305:48: error: too few arguments to function call, expected 4, have 2 305 | ret = modify_ftrace_direct(&direct, tramps[t]); | ~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:542:5: note: 'modify_ftrace_direct' declared here 542 | int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, bool lock_direct_mutex); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct-modify.c:321:48: error: too few arguments to function call, expected 3, have 2 321 | ret = register_ftrace_direct(&direct, 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-modify.c:331:50: error: too few arguments to function call, expected 4, have 3 331 | unregister_ftrace_direct(&direct, 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); | ~~~~~~~~~~~~~~~~~ 3 errors generated. make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-modify.o] Error 1 make[4]: *** [../scripts/Makefile.build:555: samples/ftrace] Error 2 make[3]: *** [../scripts/Makefile.build:555: samples] Error 2 make[3]: *** Waiting for unfinished jobs.... Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:54 Excess function parameter 'reqprot' description in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' Warning: ../security/ipe/hooks.c:82 Excess function parameter 'reqprot' description in 'ipe_file_mprotect' Warning: ../security/landlock/ruleset.c:206 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:206 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:685 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:685 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1034 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1034 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' 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. ../arch/x86/kernel/process.c:966:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 966 | u32 lo, hi; | ^ 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. 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:392: ../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/sched/core.c:6454:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6454 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6457 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:406:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 406 | \ | ^ 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :145:1: note: expanded from here 145 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 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. Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2302 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2337 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2506 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2506 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2855 function parameter 'handle' not described in 'snapshot_write_finalize' Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' Warning: ../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' ../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. 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:392: ../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:392: ../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/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'len' not described in 'krb5_etm_decrypt' Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'buf' not described in 'krb5_etm_decrypt' ../kernel/trace/ftrace.c:6137:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6137 | if (!new_hash) | ^~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6137:2: note: remove the 'if' if its condition is always false 6137 | if (!new_hash) | ^~~~~~~~~~~~~~ 6138 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6133:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6133 | if (!filter_hash) | ^~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6133:2: note: remove the 'if' if its condition is always false 6133 | if (!filter_hash) | ^~~~~~~~~~~~~~~~~ 6134 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6128:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6128 | if (ops->flags & FTRACE_OPS_FL_ENABLED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6128:3: note: remove the 'if' if its condition is always false 6128 | if (ops->flags & FTRACE_OPS_FL_ENABLED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6129 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6126:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6126:3: note: remove the 'if' if its condition is always false 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6127 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6126:7: warning: variable 'err' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6126:7: note: remove the '||' if its condition is always false 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~ ../kernel/trace/ftrace.c:6116:8: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6116 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6116:4: note: remove the 'if' if its condition is always false 6116 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6117 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6104:18: note: initialize the variable 'err' to silence this warning 6104 | int i, size, err; | ^ | = 0 6 warnings generated. Warning: ../kernel/trace/ftrace.c:5970 function parameter 'ip' not described in 'register_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6001 function parameter 'ip' not described in 'unregister_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6033 function parameter 'ip' not described in 'modify_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6033 function parameter 'lock_direct_mutex' not described in 'modify_ftrace_direct' ../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. 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:392: ../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/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/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:392: ../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/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/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:392: ../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/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:392: ../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:392: ../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. 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:392: ../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/natsemi/ns83820.c:1704:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1704 | int loops = 0; | ^ 1 warning generated. Warning: ../drivers/android/binderfs.c:237 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'arg' not described in 'binder_ctl_ioctl' 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:392: ../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/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: ../drivers/android/binder.c:2434 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2454 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4010 function parameter 'thread' not described in 'binder_free_buf' ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' ../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) \ | ^~~~~~~~~~~ :24:1: note: expanded from here 24 | get_event | ^~~~~~~~~ 1 warning generated. Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' Warning: ../fs/ubifs/replay.c:594 function parameter 'log_hash' not described in 'authenticate_sleb' 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:392: ../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/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' 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:392: ../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. 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:392: ../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/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 Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' ../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. Warning: ../fs/nfsd/localio.c:50 function parameter 'pnf' not described in 'nfsd_open_local_fh' Warning: ../fs/nfsd/localio.c:50 Excess function parameter 'nfp' description in 'nfsd_open_local_fh' ../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. Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:68 Excess struct member 'kobj' description in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.z1I54HXX9I 2025-07-29 06:16:17.428923534 -0700 +++ /tmp/tmp.AdGUWfQAZ1 2025-07-29 06:22:14.123302041 -0700 @@ -5,0 +6,4 @@ +../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. @@ -21,0 +26,39 @@ +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 +../samples/ftrace/ftrace-direct-modify.c:305:48: error: too few arguments to function call, expected 4, have 2 + 305 | ret = modify_ftrace_direct(&direct, tramps[t]); + | ~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:542:5: note: 'modify_ftrace_direct' declared here + 542 | int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, bool lock_direct_mutex); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../samples/ftrace/ftrace-direct-modify.c:321:48: error: too few arguments to function call, expected 3, have 2 + 321 | ret = register_ftrace_direct(&direct, 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-modify.c:331:50: error: too few arguments to function call, expected 4, have 3 + 331 | unregister_ftrace_direct(&direct, 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); + | ~~~~~~~~~~~~~~~~~ +3 errors generated. +make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-modify.o] Error 1 @@ -23 +65,0 @@ -make[4]: *** Waiting for unfinished jobs.... @@ -26,4 +68,15 @@ -../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:54 Excess function parameter 'reqprot' description in 'ipe_mmap_file' +Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' +Warning: ../security/ipe/hooks.c:82 Excess function parameter 'reqprot' description in 'ipe_file_mprotect' +Warning: ../security/landlock/ruleset.c:206 Invalid param: const struct landlock_layer (*const layers)[] +Warning: ../security/landlock/ruleset.c:206 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' +Warning: ../security/landlock/ruleset.c:685 Invalid param: layer_mask_t (*const layer_masks)[] +Warning: ../security/landlock/ruleset.c:685 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' +Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] +Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' +Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] +Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' +Warning: ../security/landlock/fs.c:1034 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] +Warning: ../security/landlock/fs.c:1034 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' +Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' @@ -40,5 +93,4 @@ -Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' -Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' -Warning: ../security/ipe/hooks.c:54 Excess function parameter 'reqprot' description in 'ipe_mmap_file' -Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' -Warning: ../security/ipe/hooks.c:82 Excess function parameter 'reqprot' description in 'ipe_file_mprotect' +../arch/x86/kernel/process.c:966:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] + 966 | u32 lo, hi; + | ^ +1 warning generated. @@ -50,4 +101,0 @@ -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' @@ -59,10 +106,0 @@ -Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] -Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' -Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] -Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' -Warning: ../security/landlock/fs.c:1034 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] -Warning: ../security/landlock/fs.c:1034 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' -../arch/x86/kernel/process.c:966:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] - 966 | u32 lo, hi; - | ^ -1 warning generated. @@ -84 +122,28 @@ -Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' +../kernel/sched/core.c:6454:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] + 6454 | DEFINE_LOCK_GUARD_1(core_lock, int, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6455 | sched_core_lock(*_T->lock, &_T->flags), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6456 | sched_core_unlock(*_T->lock, &_T->flags), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6457 | unsigned long flags) + | ~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' + 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ + | ^ + 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:406:10: note: expanded from macro '\ +__DEFINE_UNLOCK_GUARD' + 406 | \ + | ^ + 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:314:23: note: expanded from macro '\ +__DEFINE_GUARD_LOCK_PTR' + 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ + | ^~~~~~~~~~~~~~~~~~~~~~~~ +:145:1: note: expanded from here + 145 | class_core_lock_lock_ptr + | ^~~~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. @@ -137,28 +202 @@ -../kernel/sched/core.c:6454:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] - 6454 | DEFINE_LOCK_GUARD_1(core_lock, int, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6455 | sched_core_lock(*_T->lock, &_T->flags), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6456 | sched_core_unlock(*_T->lock, &_T->flags), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6457 | unsigned long flags) - | ~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' - 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ - | ^ - 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:406:10: note: expanded from macro '\ -__DEFINE_UNLOCK_GUARD' - 406 | \ - | ^ - 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:314:23: note: expanded from macro '\ -__DEFINE_GUARD_LOCK_PTR' - 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ - | ^~~~~~~~~~~~~~~~~~~~~~~~ -:145:1: note: expanded from here - 145 | class_core_lock_lock_ptr - | ^~~~~~~~~~~~~~~~~~~~~~~~ -1 warning generated. +Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' @@ -190 +227,0 @@ -Warning: ../kernel/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' @@ -208,0 +246,2 @@ +Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' +Warning: ../kernel/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' @@ -211 +249,0 @@ -Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' @@ -285,15 +323,3 @@ -../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. -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/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:392: -../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); - | ^ +../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) + | ^~~~~~~~~~~~~~~~~~ @@ -315,20 +341,3 @@ -../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. -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:392: -../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); - | ^ +../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; + | ^ @@ -336,12 +345,7 @@ -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 ../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: @@ -364 +368 @@ -In file included from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: +In file included from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: @@ -379,11 +383,4 @@ -../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/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 ../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: @@ -395,4 +392,3 @@ -../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' @@ -416,0 +413,17 @@ +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:392: +../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. @@ -424,5 +437,24 @@ -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' +In file included from ../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:392: +../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/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. @@ -437,0 +470,6 @@ +../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' @@ -447,0 +486 @@ +Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' @@ -450 +488,0 @@ -Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' @@ -452,2 +490,2 @@ -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 ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: +In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: @@ -470,2 +508,3 @@ -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: +Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' +In file included from ../drivers/net/ethernet/tehuti/tehuti.c:63: +In file included from ../drivers/net/ethernet/tehuti/tehuti.h:10: @@ -492,4 +530,0 @@ -../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. @@ -513 +548,4 @@ -Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' +../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. @@ -514,0 +553 @@ +Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' @@ -515,0 +555,6 @@ +../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new +Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' +../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. @@ -518,3 +562,0 @@ -../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new -Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' -Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' @@ -525,5 +566,0 @@ -Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' -../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. @@ -535,0 +573 @@ +Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' Per-file breakdown --- /tmp/tmp.9dfURWEcID 2025-07-29 06:22:14.134301991 -0700 +++ /tmp/tmp.91TOgY0EVT 2025-07-29 06:22:14.137301978 -0700 @@ -20,0 +21,2 @@ + 3 ../samples/ftrace/ftrace-direct-modify.c + 2 ../samples/ftrace/ftrace-direct-too.c