.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. In file included from ../drivers/char/tpm/tpm-interface.c:28: ../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/common.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm1.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm2.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'boost_ctrl' not described in 'lm3692x_led' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'brightness_ctrl' not described in 'lm3692x_led' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'enabled' not described in 'lm3692x_led' 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. ../arch/x86/kernel/process.c:952:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 952 | u32 lo, hi; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_tis_i2c_cr50.c:29: In file included from ../drivers/char/tpm/tpm_tis_core.h:22: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/video/fbdev/neofb.c:145:20: warning: unused function 'write_le32' [-Wunused-function] 145 | static inline void write_le32(int regindex, u32 val, const struct neofb_par *par) | ^~~~~~~~~~ 1 warning generated. In file included from ../drivers/char/tpm/tpm_tis_i2c.c:15: In file included from ../drivers/char/tpm/tpm_tis_core.h:22: In file included from ../drivers/char/tpm/tpm.h:28: ../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/tpm_i2c_atmel.c:23: In file included from ../drivers/char/tpm/tpm.h:28: ../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. In file included from ../drivers/char/tpm/tpm_i2c_infineon.c:21: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/block/rbd.c:6092:17: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6093 | / sizeof (u64)) { | ~~~~~~~~~~~~~~ 1 warning generated. ../drivers/block/ublk_drv.c:1102:20: warning: unused function 'ubq_daemon_is_dying' [-Wunused-function] 1102 | static inline bool ubq_daemon_is_dying(struct ublk_queue *ubq) | ^~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/char/tpm/tpm_i2c_nuvoton.c:24: In file included from ../drivers/char/tpm/tpm.h:28: ../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' In file included from ../drivers/char/tpm/st33zp24/i2c.c:13: In file included from ../drivers/char/tpm/st33zp24/../tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c: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: ../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/video/fbdev/arkfb.c:321:20: warning: unused function 'dac_read_regs' [-Wunused-function] 321 | static inline void dac_read_regs(struct dac_info *info, u8 *code, int count) | ^~~~~~~~~~~~~ 1 warning generated. ../kernel/sched/core.c:6453:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6453 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6454 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | 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) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :139:1: note: expanded from here 139 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/misc/vmw_balloon.c:259 struct member '5' not described in 'vmballoon_batch_entry' Warning: ../drivers/misc/vmw_balloon.c:259 Excess struct member 'reserved' description in 'vmballoon_batch_entry' 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: ../kernel/power/swap.c:535 function parameter 'handle' not described in 'save_image' Warning: ../kernel/power/swap.c:535 function parameter 'snapshot' not described in 'save_image' Warning: ../kernel/power/swap.c:535 function parameter 'nr_to_write' not described in 'save_image' Warning: ../kernel/power/swap.c:914 function parameter 'nr_pages' not described in 'enough_swap' Warning: ../kernel/power/swap.c:1088 function parameter 'handle' not described in 'load_image' Warning: ../kernel/power/swap.c:1088 function parameter 'snapshot' not described in 'load_image' Warning: ../kernel/power/swap.c:1088 function parameter 'nr_to_read' not described in 'load_image' Warning: ../drivers/usb/dwc2/core_intr.c:341 function parameter 'remotewakeup' not described in 'dwc2_wakeup_from_lpm_l1' ../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. ../drivers/md/raid10.c:2440:7: warning: variable 'd' set but not used [-Wunused-but-set-variable] 2440 | int d; | ^ 1 warning generated. ../drivers/usb/dwc2/hcd_ddma.c:555:16: warning: variable 'n_desc' set but not used [-Wunused-but-set-variable] 555 | u16 idx, inc, n_desc = 0, ntd_max = 0; | ^ 1 warning generated. ../drivers/video/fbdev/nvidia/nv_hw.c:245:21: warning: variable 'pclks' set but not used [-Wunused-but-set-variable] 245 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^ 1 warning generated. ../drivers/video/fbdev/matrox/g450_pll.c:410:18: warning: variable 'mnp' set but not used [-Wunused-but-set-variable] 410 | unsigned int mnp; | ^ 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. ../drivers/i2c/busses/i2c-bcm-iproc.c:1102:3: warning: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1102 | (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/video/fbdev/sis/sis_main.c:4558:5: warning: variable 'reg' set but not used [-Wunused-but-set-variable] 4558 | u8 reg; | ^ 1 warning generated. ../drivers/video/fbdev/aty/aty128fb.c:534:18: warning: unused function '_aty_ld_8' [-Wunused-function] 534 | static inline u8 _aty_ld_8(unsigned int regindex, | ^~~~~~~~~ 1 warning generated. Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' In file included from ../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. ../drivers/input/touchscreen/mms114.c:507:15: warning: cast to smaller integer type 'enum mms_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 507 | data->type = (enum mms_type)match_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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/staging/rtl8723bs/core/rtw_xmit.c:1939:13: warning: variable 'drop_cnt' set but not used [-Wunused-but-set-variable] 1939 | static u32 drop_cnt; | ^ 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); | ^ 2 warnings generated. ../drivers/usb/musb/musb_host.c:1489:19: warning: unused function 'musb_rx_dma_iso_cppi41' [-Wunused-function] 1489 | static inline int musb_rx_dma_iso_cppi41(struct dma_controller *dma, | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/staging/rtl8723bs/hal/hal_com.c:893:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] 893 | u32 res, i = 0; | ^ 1 warning generated. Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing0' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing1' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing2' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dmach' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'pio_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'addr_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'sg_io' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dma_read' not described in 'mxs_i2c_dev' Warning: ../kernel/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' ../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. ../drivers/i2c/busses/i2c-pxa.c:1269:15: warning: cast to smaller integer type 'enum pxa_i2c_types' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1269 | *i2c_types = (enum pxa_i2c_types)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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. 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/devfreq/event/exynos-ppmu.c:527:20: warning: cast to smaller integer type 'enum exynos_ppmu_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 527 | info->ppmu_type = (enum exynos_ppmu_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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. Warning: ../drivers/gpu/drm/drm_gpusvm.c:462 function parameter 'gpusvm__' not described in 'drm_gpusvm_for_each_notifier' Warning: ../drivers/gpu/drm/drm_gpusvm.c:478 function parameter 'gpusvm__' not described in 'drm_gpusvm_for_each_notifier_safe' Warning: ../drivers/gpu/drm/drm_gpusvm.c:2104 function parameter 'gpusvm' not described in 'drm_gpusvm_range_evict' Warning: ../drivers/gpu/drm/drm_gpusvm.c:2261 function parameter 'devmem_allocation' not described in 'drm_gpusvm_devmem_init' Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' 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' ../drivers/i2c/busses/i2c-rcar.c:1144:18: warning: cast to smaller integer type 'enum rcar_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1144 | priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/android/binder.c:2432 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2452 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4012 function parameter 'thread' not described in 'binder_free_buf' ../fs/coda/upcall.c:115:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 115 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:164:20: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 164 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:238:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 238 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:306:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 306 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:329:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 329 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:383:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 383 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:410:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 410 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:443:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 443 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:459:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 459 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:577:20: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 577 | union outputArgs *outp; | ^ 10 warnings generated. ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1119 | 0) > 10 ? | ^ 1120 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1121 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' ../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: ../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. ../drivers/ata/ahci_imx.c:871:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 871 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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' ../drivers/ata/ahci_xgene.c:779:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 779 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../fs/ufs/inode.c:375 function parameter 'inode' not described in 'ufs_getfrag_block' Warning: ../fs/ufs/inode.c:375 function parameter 'fragment' not described in 'ufs_getfrag_block' Warning: ../fs/ufs/inode.c:375 function parameter 'bh_result' not described in 'ufs_getfrag_block' Warning: ../fs/ufs/inode.c:375 function parameter 'create' not described in 'ufs_getfrag_block' Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/intel/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. 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. Warning: ../fs/ubifs/replay.c:594 function parameter 'log_hash' not described in 'authenticate_sleb' ../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. 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. ../fs/fuse/ioctl.c:132:18: warning: result of comparison of constant 18446744073709551611 with expression of type '__u16' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare] 132 | if (digest_size > SIZE_MAX - sizeof(struct fsverity_digest)) | ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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. ../drivers/bluetooth/btnxpuart.c:494:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 494 | int ret; | ^ 1 warning generated. Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:266 Excess struct member 'ping_work' description in 'panthor_fw' ../net/ceph/osdmap.c:1441:10: warning: result of comparison of constant 4611686018427387891 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 1441 | if (len > (SIZE_MAX - sizeof(*pg)) / sizeof(u32)) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/ceph/osdmap.c:1624:10: warning: result of comparison of constant 2305843009213693945 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 1624 | if (len > (SIZE_MAX - sizeof(*pg)) / (2 * sizeof(u32))) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'runnable' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'idle' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'waiting' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'has_ref' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'in_progress' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'stopped_groups' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'mem' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gpu_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'ref' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gt' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'sync64' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'bo' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'offset' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'kmap' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'lock' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'id' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'last_fence' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'in_flight_jobs' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slots' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slot_count' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:698 Excess struct member 'data' description in 'panthor_group' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'size' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'latest_flush' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'end' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'mask' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'slot' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2654 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../fs/ceph/snap.c:377:10: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 377 | if (num > (SIZE_MAX - sizeof(*snapc)) / sizeof(u64)) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/net/ethernet/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/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' 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/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 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. Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_set_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:242:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 242 | static inline void scrub_bitmap_set_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~ :263:1: note: expanded from here 263 | scrub_bitmap_set_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_clear_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:251:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 251 | static inline void scrub_bitmap_clear_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :18:1: note: expanded from here 18 | scrub_bitmap_clear_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_clear_bit_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :82:1: note: expanded from here 82 | scrub_bitmap_clear_bit_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_weight_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:301:28: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 301 | static inline unsigned int scrub_bitmap_weight_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ :126:1: note: expanded from here 126 | scrub_bitmap_weight_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_set_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:242:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 242 | static inline void scrub_bitmap_set_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~ :128:1: note: expanded from here 128 | scrub_bitmap_set_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_clear_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:251:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 251 | static inline void scrub_bitmap_clear_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :149:1: note: expanded from here 149 | scrub_bitmap_clear_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_clear_bit_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :213:1: note: expanded from here 213 | scrub_bitmap_clear_bit_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_empty_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :255:1: note: expanded from here 255 | scrub_bitmap_empty_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_weight_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:301:28: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 301 | static inline unsigned int scrub_bitmap_weight_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ :257:1: note: expanded from here 257 | scrub_bitmap_weight_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:309:1: warning: unused function 'scrub_bitmap_test_bit_error' [-Wunused-function] 309 | IMPLEMENT_SCRUB_BITMAP_OPS(error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:260:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 260 | static inline bool scrub_bitmap_test_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ :26:1: note: expanded from here 26 | scrub_bitmap_test_bit_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:309:1: warning: unused function 'scrub_bitmap_weight_error' [-Wunused-function] 309 | IMPLEMENT_SCRUB_BITMAP_OPS(error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:301:28: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 301 | static inline unsigned int scrub_bitmap_weight_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ :113:1: note: expanded from here 113 | scrub_bitmap_weight_error | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:310:1: warning: unused function 'scrub_bitmap_clear_bit_io_error' [-Wunused-function] 310 | IMPLEMENT_SCRUB_BITMAP_OPS(io_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :200:1: note: expanded from here 200 | scrub_bitmap_clear_bit_io_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:310:1: warning: unused function 'scrub_bitmap_empty_io_error' [-Wunused-function] 310 | IMPLEMENT_SCRUB_BITMAP_OPS(io_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :242:1: note: expanded from here 242 | scrub_bitmap_empty_io_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:311:1: warning: unused function 'scrub_bitmap_set_csum_error' [-Wunused-function] 311 | IMPLEMENT_SCRUB_BITMAP_OPS(csum_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:242:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 242 | static inline void scrub_bitmap_set_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~ :246:1: note: expanded from here 246 | scrub_bitmap_set_csum_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:311:1: warning: unused function 'scrub_bitmap_empty_csum_error' [-Wunused-function] 311 | IMPLEMENT_SCRUB_BITMAP_OPS(csum_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :98:1: note: expanded from here 98 | scrub_bitmap_empty_csum_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:312:1: warning: unused function 'scrub_bitmap_set_bit_meta_error' [-Wunused-function] 312 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:268:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 268 | static inline void scrub_bitmap_set_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ :166:1: note: expanded from here 166 | scrub_bitmap_set_bit_meta_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:312:1: warning: unused function 'scrub_bitmap_clear_bit_meta_error' [-Wunused-function] 312 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :187:1: note: expanded from here 187 | scrub_bitmap_clear_bit_meta_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:312:1: warning: unused function 'scrub_bitmap_empty_meta_error' [-Wunused-function] 312 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :229:1: note: expanded from here 229 | scrub_bitmap_empty_meta_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:313:1: warning: unused function 'scrub_bitmap_set_bit_meta_gen_error' [-Wunused-function] 313 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_gen_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:268:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 268 | static inline void scrub_bitmap_set_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ :24:1: note: expanded from here 24 | scrub_bitmap_set_bit_meta_gen_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:313:1: warning: unused function 'scrub_bitmap_clear_bit_meta_gen_error' [-Wunused-function] 313 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_gen_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :45:1: note: expanded from here 45 | scrub_bitmap_clear_bit_meta_gen_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:313:1: warning: unused function 'scrub_bitmap_empty_meta_gen_error' [-Wunused-function] 313 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_gen_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :87:1: note: expanded from here 87 | scrub_bitmap_empty_meta_gen_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 warnings generated. ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' ../fs/xfs/scrub/rtbitmap_repair.c:91:1: warning: unused function 'rtxlen_to_wordcnt' [-Wunused-function] 91 | rtxlen_to_wordcnt( | ^~~~~~~~~~~~~~~~~ 1 warning generated. .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. In file included from ../drivers/char/tpm/tpm-interface.c:28: ../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/common.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm1.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm2.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/acpi.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' In file included from ../drivers/char/tpm/tpm_tis_i2c_cr50.c:29: In file included from ../drivers/char/tpm/tpm_tis_core.h:22: In file included from ../drivers/char/tpm/tpm.h:28: ../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/tpm_tis_i2c.c:15: In file included from ../drivers/char/tpm/tpm_tis_core.h:22: In file included from ../drivers/char/tpm/tpm.h:28: ../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/tpm_i2c_atmel.c:23: In file included from ../drivers/char/tpm/tpm.h:28: ../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/tpm_i2c_infineon.c:21: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/block/ublk_drv.c:1102:20: warning: unused function 'ubq_daemon_is_dying' [-Wunused-function] 1102 | static inline bool ubq_daemon_is_dying(struct ublk_queue *ubq) | ^~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/char/tpm/tpm_i2c_nuvoton.c:24: In file included from ../drivers/char/tpm/tpm.h:28: ../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/leds/leds-lm3692x.c:119 struct member 'boost_ctrl' not described in 'lm3692x_led' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'brightness_ctrl' not described in 'lm3692x_led' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'enabled' not described in 'lm3692x_led' In file included from ../drivers/char/tpm/st33zp24/i2c.c:13: In file included from ../drivers/char/tpm/st33zp24/../tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/block/rbd.c:6092:17: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6093 | / sizeof (u64)) { | ~~~~~~~~~~~~~~ 1 warning generated. ../arch/x86/kernel/process.c:952:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 952 | 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/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/video/fbdev/neofb.c:145:20: warning: unused function 'write_le32' [-Wunused-function] 145 | static inline void write_le32(int regindex, u32 val, const struct neofb_par *par) | ^~~~~~~~~~ 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' ../drivers/video/fbdev/arkfb.c:321:20: warning: unused function 'dac_read_regs' [-Wunused-function] 321 | static inline void dac_read_regs(struct dac_info *info, u8 *code, int count) | ^~~~~~~~~~~~~ 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' Warning: ../drivers/misc/vmw_balloon.c:259 struct member '5' not described in 'vmballoon_batch_entry' Warning: ../drivers/misc/vmw_balloon.c:259 Excess struct member 'reserved' description in 'vmballoon_batch_entry' ../kernel/sched/core.c:6453:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6453 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6454 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | 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) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :139:1: note: expanded from here 139 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 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: ../kernel/power/swap.c:535 function parameter 'handle' not described in 'save_image' Warning: ../kernel/power/swap.c:535 function parameter 'snapshot' not described in 'save_image' Warning: ../kernel/power/swap.c:535 function parameter 'nr_to_write' not described in 'save_image' Warning: ../kernel/power/swap.c:914 function parameter 'nr_pages' not described in 'enough_swap' Warning: ../kernel/power/swap.c:1088 function parameter 'handle' not described in 'load_image' Warning: ../kernel/power/swap.c:1088 function parameter 'snapshot' not described in 'load_image' Warning: ../kernel/power/swap.c:1088 function parameter 'nr_to_read' not described in 'load_image' ../drivers/net/ethernet/8390/pcnet_cs.c:1169:9: warning: variable 'xfer_count' set but not used [-Wunused-but-set-variable] 1169 | int xfer_count = count; | ^ 1 warning generated. Warning: ../drivers/usb/dwc2/core_intr.c:341 function parameter 'remotewakeup' not described in 'dwc2_wakeup_from_lpm_l1' ../drivers/video/fbdev/matrox/g450_pll.c:410:18: warning: variable 'mnp' set but not used [-Wunused-but-set-variable] 410 | unsigned int mnp; | ^ 1 warning generated. ../drivers/video/fbdev/nvidia/nv_hw.c:245:21: warning: variable 'pclks' set but not used [-Wunused-but-set-variable] 245 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^ 1 warning generated. ../drivers/usb/dwc2/hcd_ddma.c:555:16: warning: variable 'n_desc' set but not used [-Wunused-but-set-variable] 555 | u16 idx, inc, n_desc = 0, ntd_max = 0; | ^ 1 warning generated. ../drivers/video/fbdev/aty/aty128fb.c:534:18: warning: unused function '_aty_ld_8' [-Wunused-function] 534 | static inline u8 _aty_ld_8(unsigned int regindex, | ^~~~~~~~~ 1 warning generated. ../drivers/video/fbdev/sis/sis_main.c:4558:5: warning: variable 'reg' set but not used [-Wunused-but-set-variable] 4558 | u8 reg; | ^ 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: ../kernel/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../drivers/input/touchscreen/mms114.c:507:15: warning: cast to smaller integer type 'enum mms_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 507 | data->type = (enum mms_type)match_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/usb/musb/musb_host.c:1489:19: warning: unused function 'musb_rx_dma_iso_cppi41' [-Wunused-function] 1489 | static inline int musb_rx_dma_iso_cppi41(struct dma_controller *dma, | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/i2c/busses/i2c-bcm-iproc.c:1102:3: warning: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1102 | (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/md/raid10.c:2440:7: warning: variable 'd' set but not used [-Wunused-but-set-variable] 2440 | int d; | ^ 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. 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/gpu/drm/drm_gpusvm.c:462 function parameter 'gpusvm__' not described in 'drm_gpusvm_for_each_notifier' Warning: ../drivers/gpu/drm/drm_gpusvm.c:478 function parameter 'gpusvm__' not described in 'drm_gpusvm_for_each_notifier_safe' Warning: ../drivers/gpu/drm/drm_gpusvm.c:2104 function parameter 'gpusvm' not described in 'drm_gpusvm_range_evict' Warning: ../drivers/gpu/drm/drm_gpusvm.c:2261 function parameter 'devmem_allocation' not described in 'drm_gpusvm_devmem_init' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing0' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing1' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing2' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dmach' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'pio_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'addr_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'sg_io' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dma_read' not described in 'mxs_i2c_dev' ../drivers/scsi/lpfc/lpfc_bsg.c:2819:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2819 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. ../fs/coda/upcall.c:115:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 115 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:164:20: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 164 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:238:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 238 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:306:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 306 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:329:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 329 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:383:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 383 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:410:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 410 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:443:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 443 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:459:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 459 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:577:20: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 577 | union outputArgs *outp; | ^ 10 warnings generated. Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' ../drivers/i2c/busses/i2c-pxa.c:1269:15: warning: cast to smaller integer type 'enum pxa_i2c_types' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1269 | *i2c_types = (enum pxa_i2c_types)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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. ../net/ceph/osdmap.c:1441:10: warning: result of comparison of constant 4611686018427387891 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 1441 | if (len > (SIZE_MAX - sizeof(*pg)) / sizeof(u32)) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/ceph/osdmap.c:1624:10: warning: result of comparison of constant 2305843009213693945 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 1624 | if (len > (SIZE_MAX - sizeof(*pg)) / (2 * sizeof(u32))) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/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. 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/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/staging/rtl8723bs/core/rtw_xmit.c:1939:13: warning: variable 'drop_cnt' set but not used [-Wunused-but-set-variable] 1939 | static u32 drop_cnt; | ^ 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); | ^ 2 warnings generated. ../drivers/staging/rtl8723bs/hal/hal_com.c:893:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] 893 | u32 res, i = 0; | ^ 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/i2c/busses/i2c-rcar.c:1144:18: warning: cast to smaller integer type 'enum rcar_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1144 | priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../fs/ufs/inode.c:375 function parameter 'inode' not described in 'ufs_getfrag_block' Warning: ../fs/ufs/inode.c:375 function parameter 'fragment' not described in 'ufs_getfrag_block' Warning: ../fs/ufs/inode.c:375 function parameter 'bh_result' not described in 'ufs_getfrag_block' Warning: ../fs/ufs/inode.c:375 function parameter 'create' not described in 'ufs_getfrag_block' ../drivers/devfreq/event/exynos-ppmu.c:527:20: warning: cast to smaller integer type 'enum exynos_ppmu_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 527 | info->ppmu_type = (enum exynos_ppmu_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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' 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. Warning: ../fs/ubifs/replay.c:594 function parameter 'log_hash' not described in 'authenticate_sleb' 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. 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. ../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/binderfs.c:237 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'arg' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binder.c:2432 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2452 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4012 function parameter 'thread' not described in 'binder_free_buf' 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' ../fs/fuse/ioctl.c:132:18: warning: result of comparison of constant 18446744073709551611 with expression of type '__u16' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare] 132 | if (digest_size > SIZE_MAX - sizeof(struct fsverity_digest)) | ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' 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: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' 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/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:266 Excess struct member 'ping_work' description in 'panthor_fw' ../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. ../drivers/ata/ahci_imx.c:871:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 871 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'runnable' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'idle' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'waiting' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'has_ref' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'in_progress' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'stopped_groups' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'mem' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gpu_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'ref' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gt' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'sync64' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'bo' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'offset' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'kmap' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'lock' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'id' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'last_fence' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'in_flight_jobs' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slots' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slot_count' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:698 Excess struct member 'data' description in 'panthor_group' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'size' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'latest_flush' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'end' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'mask' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'slot' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2654 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' 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/ata/ahci_xgene.c:779:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 779 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_set_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:242:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 242 | static inline void scrub_bitmap_set_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~ :263:1: note: expanded from here 263 | scrub_bitmap_set_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_clear_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:251:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 251 | static inline void scrub_bitmap_clear_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :18:1: note: expanded from here 18 | scrub_bitmap_clear_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_clear_bit_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :82:1: note: expanded from here 82 | scrub_bitmap_clear_bit_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_weight_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:301:28: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 301 | static inline unsigned int scrub_bitmap_weight_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ :126:1: note: expanded from here 126 | scrub_bitmap_weight_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_set_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:242:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 242 | static inline void scrub_bitmap_set_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~ :128:1: note: expanded from here 128 | scrub_bitmap_set_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_clear_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:251:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 251 | static inline void scrub_bitmap_clear_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :149:1: note: expanded from here 149 | scrub_bitmap_clear_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_clear_bit_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :213:1: note: expanded from here 213 | scrub_bitmap_clear_bit_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_empty_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :255:1: note: expanded from here 255 | scrub_bitmap_empty_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_weight_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:301:28: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 301 | static inline unsigned int scrub_bitmap_weight_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ :257:1: note: expanded from here 257 | scrub_bitmap_weight_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:309:1: warning: unused function 'scrub_bitmap_test_bit_error' [-Wunused-function] 309 | IMPLEMENT_SCRUB_BITMAP_OPS(error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:260:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 260 | static inline bool scrub_bitmap_test_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ :26:1: note: expanded from here 26 | scrub_bitmap_test_bit_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:309:1: warning: unused function 'scrub_bitmap_weight_error' [-Wunused-function] 309 | IMPLEMENT_SCRUB_BITMAP_OPS(error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:301:28: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 301 | static inline unsigned int scrub_bitmap_weight_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ :113:1: note: expanded from here 113 | scrub_bitmap_weight_error | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:310:1: warning: unused function 'scrub_bitmap_clear_bit_io_error' [-Wunused-function] 310 | IMPLEMENT_SCRUB_BITMAP_OPS(io_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :200:1: note: expanded from here 200 | scrub_bitmap_clear_bit_io_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:310:1: warning: unused function 'scrub_bitmap_empty_io_error' [-Wunused-function] 310 | IMPLEMENT_SCRUB_BITMAP_OPS(io_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :242:1: note: expanded from here 242 | scrub_bitmap_empty_io_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:311:1: warning: unused function 'scrub_bitmap_set_csum_error' [-Wunused-function] 311 | IMPLEMENT_SCRUB_BITMAP_OPS(csum_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:242:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 242 | static inline void scrub_bitmap_set_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~ :246:1: note: expanded from here 246 | scrub_bitmap_set_csum_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:311:1: warning: unused function 'scrub_bitmap_empty_csum_error' [-Wunused-function] 311 | IMPLEMENT_SCRUB_BITMAP_OPS(csum_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :98:1: note: expanded from here 98 | scrub_bitmap_empty_csum_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:312:1: warning: unused function 'scrub_bitmap_set_bit_meta_error' [-Wunused-function] 312 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:268:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 268 | static inline void scrub_bitmap_set_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ :166:1: note: expanded from here 166 | scrub_bitmap_set_bit_meta_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:312:1: warning: unused function 'scrub_bitmap_clear_bit_meta_error' [-Wunused-function] 312 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :187:1: note: expanded from here 187 | scrub_bitmap_clear_bit_meta_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:312:1: warning: unused function 'scrub_bitmap_empty_meta_error' [-Wunused-function] 312 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :229:1: note: expanded from here 229 | scrub_bitmap_empty_meta_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:313:1: warning: unused function 'scrub_bitmap_set_bit_meta_gen_error' [-Wunused-function] 313 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_gen_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:268:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 268 | static inline void scrub_bitmap_set_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ :24:1: note: expanded from here 24 | scrub_bitmap_set_bit_meta_gen_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:313:1: warning: unused function 'scrub_bitmap_clear_bit_meta_gen_error' [-Wunused-function] 313 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_gen_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :45:1: note: expanded from here 45 | scrub_bitmap_clear_bit_meta_gen_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:313:1: warning: unused function 'scrub_bitmap_empty_meta_gen_error' [-Wunused-function] 313 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_gen_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :87:1: note: expanded from here 87 | scrub_bitmap_empty_meta_gen_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 warnings 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' ../drivers/bluetooth/btnxpuart.c:494:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 494 | int ret; | ^ 1 warning generated. Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' ../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. ../fs/xfs/scrub/rtbitmap_repair.c:91:1: warning: unused function 'rtxlen_to_wordcnt' [-Wunused-function] 91 | rtxlen_to_wordcnt( | ^~~~~~~~~~~~~~~~~ 1 warning generated. .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. Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' In file included from ../drivers/char/tpm/tpm-interface.c:28: ../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/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. Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'boost_ctrl' not described in 'lm3692x_led' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'brightness_ctrl' not described in 'lm3692x_led' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'enabled' not described in 'lm3692x_led' In file included from ../drivers/char/tpm/eventlog/tpm1.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm2.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. Warning: ../security/landlock/ruleset.c:206 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:206 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:685 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:685 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../security/ipe/hooks.c:54 function parameter '__always_unused' not described in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:54 Excess function parameter 'reqprot' description in 'ipe_mmap_file' Warning: ../security/ipe/hooks.c:82 function parameter '__always_unused' not described in 'ipe_file_mprotect' Warning: ../security/ipe/hooks.c:82 Excess function parameter 'reqprot' description in 'ipe_file_mprotect' ../drivers/video/fbdev/neofb.c:145:20: warning: unused function 'write_le32' [-Wunused-function] 145 | static inline void write_le32(int regindex, u32 val, const struct neofb_par *par) | ^~~~~~~~~~ 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. 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:952:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 952 | u32 lo, hi; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_tis_i2c_cr50.c:29: In file included from ../drivers/char/tpm/tpm_tis_core.h:22: In file included from ../drivers/char/tpm/tpm.h:28: ../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/tpm_tis_i2c.c:15: In file included from ../drivers/char/tpm/tpm_tis_core.h:22: In file included from ../drivers/char/tpm/tpm.h:28: ../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/tpm_i2c_atmel.c:23: In file included from ../drivers/char/tpm/tpm.h:28: ../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/tpm_i2c_infineon.c:21: In file included from ../drivers/char/tpm/tpm.h:28: ../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/tpm_i2c_nuvoton.c:24: In file included from ../drivers/char/tpm/tpm.h:28: ../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/st33zp24/i2c.c:13: In file included from ../drivers/char/tpm/st33zp24/../tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/block/rbd.c:6092:17: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6093 | / sizeof (u64)) { | ~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/nfc/pn533/pn533.c:9: In file included from ../include/linux/device.h:15: In file included from ../include/linux/dev_printk.h:16: In file included from ../include/linux/ratelimit.h:6: In file included from ../include/linux/sched.h:13: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h: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/block/ublk_drv.c:1102:20: warning: unused function 'ubq_daemon_is_dying' [-Wunused-function] 1102 | static inline bool ubq_daemon_is_dying(struct ublk_queue *ubq) | ^~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/sched/core.c:6453:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6453 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6454 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | 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) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :139:1: note: expanded from here 139 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/video/fbdev/arkfb.c:321:20: warning: unused function 'dac_read_regs' [-Wunused-function] 321 | static inline void dac_read_regs(struct dac_info *info, u8 *code, int count) | ^~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2302 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2337 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2506 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2506 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2855 function parameter 'handle' not described in 'snapshot_write_finalize' Warning: ../kernel/power/swap.c:535 function parameter 'handle' not described in 'save_image' Warning: ../kernel/power/swap.c:535 function parameter 'snapshot' not described in 'save_image' Warning: ../kernel/power/swap.c:535 function parameter 'nr_to_write' not described in 'save_image' Warning: ../kernel/power/swap.c:914 function parameter 'nr_pages' not described in 'enough_swap' Warning: ../kernel/power/swap.c:1088 function parameter 'handle' not described in 'load_image' Warning: ../kernel/power/swap.c:1088 function parameter 'snapshot' not described in 'load_image' Warning: ../kernel/power/swap.c:1088 function parameter 'nr_to_read' not described in 'load_image' Warning: ../drivers/misc/vmw_balloon.c:259 struct member '5' not described in 'vmballoon_batch_entry' Warning: ../drivers/misc/vmw_balloon.c:259 Excess struct member 'reserved' description in 'vmballoon_batch_entry' ../drivers/net/ethernet/8390/pcnet_cs.c:1169:9: warning: variable 'xfer_count' set but not used [-Wunused-but-set-variable] 1169 | int xfer_count = count; | ^ 1 warning generated. Warning: ../drivers/usb/dwc2/core_intr.c:341 function parameter 'remotewakeup' not described in 'dwc2_wakeup_from_lpm_l1' ../drivers/video/fbdev/matrox/g450_pll.c:410:18: warning: variable 'mnp' set but not used [-Wunused-but-set-variable] 410 | unsigned int mnp; | ^ 1 warning generated. ../drivers/video/fbdev/nvidia/nv_hw.c:245:21: warning: variable 'pclks' set but not used [-Wunused-but-set-variable] 245 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^ 1 warning generated. ../drivers/usb/dwc2/hcd_ddma.c:555:16: warning: variable 'n_desc' set but not used [-Wunused-but-set-variable] 555 | u16 idx, inc, n_desc = 0, ntd_max = 0; | ^ 1 warning generated. ../drivers/video/fbdev/sis/sis_main.c:4558:5: warning: variable 'reg' set but not used [-Wunused-but-set-variable] 4558 | u8 reg; | ^ 1 warning generated. ../drivers/video/fbdev/aty/aty128fb.c:534:18: warning: unused function '_aty_ld_8' [-Wunused-function] 534 | static inline u8 _aty_ld_8(unsigned int regindex, | ^~~~~~~~~ 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' ../drivers/md/raid10.c:2440:7: warning: variable 'd' set but not used [-Wunused-but-set-variable] 2440 | int d; | ^ 1 warning generated. ../drivers/i2c/busses/i2c-bcm-iproc.c:1102:3: warning: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1102 | (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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' ../drivers/usb/musb/musb_host.c:1489:19: warning: unused function 'musb_rx_dma_iso_cppi41' [-Wunused-function] 1489 | static inline int musb_rx_dma_iso_cppi41(struct dma_controller *dma, | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/input/touchscreen/mms114.c:507:15: warning: cast to smaller integer type 'enum mms_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 507 | data->type = (enum mms_type)match_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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' ../fs/ext2/super.c:503:1: warning: unused function 'ctx_test_mount_opt' [-Wunused-function] 503 | ctx_test_mount_opt(struct ext2_fs_context *ctx, unsigned long flag) | ^~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/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: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing0' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing1' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing2' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dmach' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'pio_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'addr_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'sg_io' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dma_read' not described in 'mxs_i2c_dev' 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/i2c/busses/i2c-pxa.c:1269:15: warning: cast to smaller integer type 'enum pxa_i2c_types' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1269 | *i2c_types = (enum pxa_i2c_types)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../fs/coda/upcall.c:115:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 115 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:164:20: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 164 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:238:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 238 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:306:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 306 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:329:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 329 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:383:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 383 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:410:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 410 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:443:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 443 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:459:27: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 459 | union outputArgs *outp; | ^ ../fs/coda/upcall.c:577:20: warning: variable 'outp' set but not used [-Wunused-but-set-variable] 577 | union outputArgs *outp; | ^ 10 warnings generated. ../net/ceph/osdmap.c:1441:10: warning: result of comparison of constant 4611686018427387891 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 1441 | if (len > (SIZE_MAX - sizeof(*pg)) / sizeof(u32)) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/ceph/osdmap.c:1624:10: warning: result of comparison of constant 2305843009213693945 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 1624 | if (len > (SIZE_MAX - sizeof(*pg)) / (2 * sizeof(u32))) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Warning: ../drivers/gpu/drm/drm_gpusvm.c:462 function parameter 'gpusvm__' not described in 'drm_gpusvm_for_each_notifier' Warning: ../drivers/gpu/drm/drm_gpusvm.c:478 function parameter 'gpusvm__' not described in 'drm_gpusvm_for_each_notifier_safe' Warning: ../drivers/gpu/drm/drm_gpusvm.c:2104 function parameter 'gpusvm' not described in 'drm_gpusvm_range_evict' Warning: ../drivers/gpu/drm/drm_gpusvm.c:2261 function parameter 'devmem_allocation' not described in 'drm_gpusvm_devmem_init' ../drivers/i2c/busses/i2c-rcar.c:1144:18: warning: cast to smaller integer type 'enum rcar_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1144 | priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/staging/rtl8723bs/core/rtw_xmit.c:1939:13: warning: variable 'drop_cnt' set but not used [-Wunused-but-set-variable] 1939 | static u32 drop_cnt; | ^ 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); | ^ 2 warnings generated. ../drivers/staging/rtl8723bs/hal/hal_com.c:893:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] 893 | u32 res, i = 0; | ^ 1 warning generated. ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1119 | 0) > 10 ? | ^ 1120 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1121 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' ../drivers/devfreq/event/exynos-ppmu.c:527:20: warning: cast to smaller integer type 'enum exynos_ppmu_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 527 | info->ppmu_type = (enum exynos_ppmu_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../fs/ufs/inode.c:375 function parameter 'inode' not described in 'ufs_getfrag_block' Warning: ../fs/ufs/inode.c:375 function parameter 'fragment' not described in 'ufs_getfrag_block' Warning: ../fs/ufs/inode.c:375 function parameter 'bh_result' not described in 'ufs_getfrag_block' Warning: ../fs/ufs/inode.c:375 function parameter 'create' not described in 'ufs_getfrag_block' 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:2432 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2452 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4012 function parameter 'thread' not described in 'binder_free_buf' 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: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/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: ../fs/ubifs/replay.c:594 function parameter 'log_hash' not described in 'authenticate_sleb' Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' 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. Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' ../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. 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. ../fs/fuse/ioctl.c:132:18: warning: result of comparison of constant 18446744073709551611 with expression of type '__u16' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare] 132 | if (digest_size > SIZE_MAX - sizeof(struct fsverity_digest)) | ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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' 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. ../drivers/ata/ahci_imx.c:871:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 871 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' ../drivers/ata/ahci_xgene.c:779:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 779 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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. ../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. ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_set_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:242:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 242 | static inline void scrub_bitmap_set_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~ :263:1: note: expanded from here 263 | scrub_bitmap_set_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_clear_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:251:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 251 | static inline void scrub_bitmap_clear_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :18:1: note: expanded from here 18 | scrub_bitmap_clear_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_clear_bit_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :82:1: note: expanded from here 82 | scrub_bitmap_clear_bit_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:307:1: warning: unused function 'scrub_bitmap_weight_has_extent' [-Wunused-function] 307 | IMPLEMENT_SCRUB_BITMAP_OPS(has_extent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:301:28: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 301 | static inline unsigned int scrub_bitmap_weight_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ :126:1: note: expanded from here 126 | scrub_bitmap_weight_has_extent | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_set_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:242:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 242 | static inline void scrub_bitmap_set_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~ :128:1: note: expanded from here 128 | scrub_bitmap_set_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_clear_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:251:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 251 | static inline void scrub_bitmap_clear_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :149:1: note: expanded from here 149 | scrub_bitmap_clear_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_clear_bit_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :213:1: note: expanded from here 213 | scrub_bitmap_clear_bit_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_empty_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :255:1: note: expanded from here 255 | scrub_bitmap_empty_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:308:1: warning: unused function 'scrub_bitmap_weight_is_metadata' [-Wunused-function] 308 | IMPLEMENT_SCRUB_BITMAP_OPS(is_metadata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:301:28: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 301 | static inline unsigned int scrub_bitmap_weight_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ :257:1: note: expanded from here 257 | scrub_bitmap_weight_is_metadata | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:309:1: warning: unused function 'scrub_bitmap_test_bit_error' [-Wunused-function] 309 | IMPLEMENT_SCRUB_BITMAP_OPS(error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:260:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 260 | static inline bool scrub_bitmap_test_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ :26:1: note: expanded from here 26 | scrub_bitmap_test_bit_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:309:1: warning: unused function 'scrub_bitmap_weight_error' [-Wunused-function] 309 | IMPLEMENT_SCRUB_BITMAP_OPS(error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:301:28: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 301 | static inline unsigned int scrub_bitmap_weight_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ :113:1: note: expanded from here 113 | scrub_bitmap_weight_error | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:310:1: warning: unused function 'scrub_bitmap_clear_bit_io_error' [-Wunused-function] 310 | IMPLEMENT_SCRUB_BITMAP_OPS(io_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :200:1: note: expanded from here 200 | scrub_bitmap_clear_bit_io_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:310:1: warning: unused function 'scrub_bitmap_empty_io_error' [-Wunused-function] 310 | IMPLEMENT_SCRUB_BITMAP_OPS(io_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :242:1: note: expanded from here 242 | scrub_bitmap_empty_io_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:311:1: warning: unused function 'scrub_bitmap_set_csum_error' [-Wunused-function] 311 | IMPLEMENT_SCRUB_BITMAP_OPS(csum_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:242:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 242 | static inline void scrub_bitmap_set_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~ :246:1: note: expanded from here 246 | scrub_bitmap_set_csum_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:311:1: warning: unused function 'scrub_bitmap_empty_csum_error' [-Wunused-function] 311 | IMPLEMENT_SCRUB_BITMAP_OPS(csum_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :98:1: note: expanded from here 98 | scrub_bitmap_empty_csum_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:312:1: warning: unused function 'scrub_bitmap_set_bit_meta_error' [-Wunused-function] 312 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:268:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 268 | static inline void scrub_bitmap_set_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ :166:1: note: expanded from here 166 | scrub_bitmap_set_bit_meta_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:312:1: warning: unused function 'scrub_bitmap_clear_bit_meta_error' [-Wunused-function] 312 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :187:1: note: expanded from here 187 | scrub_bitmap_clear_bit_meta_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:312:1: warning: unused function 'scrub_bitmap_empty_meta_error' [-Wunused-function] 312 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :229:1: note: expanded from here 229 | scrub_bitmap_empty_meta_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:313:1: warning: unused function 'scrub_bitmap_set_bit_meta_gen_error' [-Wunused-function] 313 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_gen_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:268:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 268 | static inline void scrub_bitmap_set_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ :24:1: note: expanded from here 24 | scrub_bitmap_set_bit_meta_gen_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:313:1: warning: unused function 'scrub_bitmap_clear_bit_meta_gen_error' [-Wunused-function] 313 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_gen_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:276:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 276 | static inline void scrub_bitmap_clear_bit_##name(struct scrub_stripe *stripe, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :45:1: note: expanded from here 45 | scrub_bitmap_clear_bit_meta_gen_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:313:1: warning: unused function 'scrub_bitmap_empty_meta_gen_error' [-Wunused-function] 313 | IMPLEMENT_SCRUB_BITMAP_OPS(meta_gen_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/btrfs/scrub.c:295:20: note: expanded from macro 'IMPLEMENT_SCRUB_BITMAP_OPS' 295 | static inline bool scrub_bitmap_empty_##name(struct scrub_stripe *stripe) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :87:1: note: expanded from here 87 | scrub_bitmap_empty_meta_gen_error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 warnings 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. 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. 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. 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/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:266 Excess struct member 'ping_work' description in 'panthor_fw' ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'runnable' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'idle' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'waiting' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'has_ref' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'in_progress' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'stopped_groups' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'mem' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gpu_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'ref' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gt' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'sync64' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'bo' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'offset' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'kmap' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'lock' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'id' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'last_fence' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'in_flight_jobs' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slots' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slot_count' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:698 Excess struct member 'data' description in 'panthor_group' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'size' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'latest_flush' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'end' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'mask' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'slot' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2654 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/bluetooth/btnxpuart.c:494:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 494 | int ret; | ^ 1 warning generated. ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:68 Excess struct member 'kobj' description in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../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/xfs/scrub/rtbitmap_repair.c:91:1: warning: unused function 'rtxlen_to_wordcnt' [-Wunused-function] 91 | rtxlen_to_wordcnt( | ^~~~~~~~~~~~~~~~~ 1 warning generated.