../drivers/char/ipmi/ipmi_si_platform.c:268:15: warning: cast to smaller integer type 'enum si_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 268 | io.si_type = (enum si_type)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../ipc/sem.c:647: warning: expecting prototype for perform_atomic_semop[_slow](). Prototype was for perform_atomic_semop_slow() instead ../drivers/soc/fsl/qe/qe_ic.c:235:29: warning: unused function 'qe_ic_from_irq' [-Wunused-function] 235 | static inline struct qe_ic *qe_ic_from_irq(unsigned int virq) | ^~~~~~~~~~~~~~ 1 warning generated. ../arch/x86/events/intel/p4.c:1369:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1369 | unsigned int low, high; | ^ 1 warning generated. ../drivers/phy/broadcom/phy-bcm-ns-usb3.c:206:17: warning: cast to smaller integer type 'enum bcm_ns_family' from 'const void *' [-Wvoid-pointer-to-enum-cast] 206 | usb3->family = (enum bcm_ns_family)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'boost_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'enabled' not described in 'lm3692x_led' 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. In file included from ../drivers/char/tpm/eventlog/of.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. ../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.c:29: 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_synquacer.c:13: 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_spi_main.c:35: 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. ../arch/x86/kernel/process.c:955:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 955 | u32 lo, hi; | ^ 1 warning generated. ../kernel/reboot.c:241: warning: Function parameter or struct member 'cmd' not described in 'do_kernel_restart' ../kernel/reboot.c:972: warning: Function parameter or struct member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff' In file included from ../drivers/char/tpm/tpm_tis_spi_cr50.c:18: 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_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/gpu/drm/renesas/rcar-du/rcar_cmm.c:35:19: warning: unused function 'rcar_cmm_read' [-Wunused-function] 35 | static inline int rcar_cmm_read(struct rcar_cmm *rcmm, u32 reg) | ^~~~~~~~~~~~~ 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. 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/xen-tpmfront.c:17: 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. ../kernel/sched/core.c:6439:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6439 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6440 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6441 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6442 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:402:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 402 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 403 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:378:21: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 378 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :165:1: note: expanded from here 165 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 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. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1627, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1629, line 762. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1630, line 762. ../security/landlock/fs.c:762: warning: Function parameter or struct member '' not described in 'is_access_to_paths_allowed' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 762. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 762. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1806, line 762. Use of uninitialized value $parameterlist[6] in join or string at ../scripts/kernel-doc line 1806, line 762. ../security/landlock/fs.c:762: warning: Excess function parameter 'layer_masks_parent1' description in 'is_access_to_paths_allowed' ../security/landlock/fs.c:762: warning: Excess function parameter 'layer_masks_parent2' description in 'is_access_to_paths_allowed' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 1002. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 1002. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 1002. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 1002. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 1002. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 1002. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1626, line 1002. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1627, line 1002. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1629, line 1002. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1630, line 1002. ../security/landlock/fs.c:1002: warning: Function parameter or struct member '' not described in 'collect_domain_accesses' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 1002. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1806, line 1002. ../security/landlock/fs.c:1002: warning: Excess function parameter 'layer_masks_dom' description in 'collect_domain_accesses' In file included from ../drivers/char/tpm/st33zp24/spi.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. ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'zone' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'gfp_mask' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'safe_needed' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'ca' not described in 'add_rtree_block' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'gfp_mask' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'safe_needed' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'ca' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'start' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'end' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'zone' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'clear_nosave_free' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'bm' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'gfp_mask' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'safe_needed' not described in 'memory_bm_create' ../kernel/power/snapshot.c:728: warning: Function parameter or struct member 'clear_nosave_free' not described in 'memory_bm_free' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bm' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'pfn' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'addr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bit_nr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'start_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'end_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'zone' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'pfn' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'zone' not described in 'saveable_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'pfn' not described in 'saveable_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 'dst' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 's_page' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'x' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'multiplier' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'base' not described in '__fraction' ../kernel/power/snapshot.c:1994: warning: Function parameter or struct member 'nr_highmem' not described in 'count_pages_for_highmem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_pages' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_highmem' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2035: warning: Function parameter or struct member 'safe_needed' not described in 'get_highmem_buffer' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'bm' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'nr_highmem' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'copy_bm' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_pages' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_highmem' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2305: warning: Function parameter or struct member 'bm' not described in 'mark_unsafe_pages' ../kernel/power/snapshot.c:2340: warning: Function parameter or struct member 'info' not described in 'load_header' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'page' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'ca' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'bm' not described in 'get_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'ca' not described in 'get_buffer' ../kernel/power/snapshot.c:2858: warning: Function parameter or struct member 'handle' not described in 'snapshot_write_finalize' ../security/ipe/hooks.c:55: warning: Function parameter or struct member '__always_unused' not described in 'ipe_mmap_file' ../security/ipe/hooks.c:55: warning: Excess function parameter 'reqprot' description in 'ipe_mmap_file' ../security/ipe/hooks.c:83: warning: Function parameter or struct member '__always_unused' not described in 'ipe_file_mprotect' ../security/ipe/hooks.c:83: warning: Excess function parameter 'reqprot' description in 'ipe_file_mprotect' ../arch/x86/kernel/cpu/mtrr/generic.c:691:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 691 | unsigned lo, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/generic.c:1060:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1060 | unsigned long config, dummy; | ^ 2 warnings generated. ../security/ipe/policy_fs.c:21: warning: cannot understand function prototype: 'struct ipefs_file ' ../security/ipe/policy_fs.c:407: warning: cannot understand function prototype: 'const struct ipefs_file policy_subdir[] = ' ../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/regulator/da9121-regulator.c:1132:24: warning: cast to smaller integer type 'enum da9121_subvariant' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1132 | chip->subvariant_id = (enum da9121_subvariant)i2c_get_match_data(i2c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' ../arch/x86/kernel/apic/apic.c:2143: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2143: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/tty/serial/mxs-auart.c:1600:15: warning: cast to smaller integer type 'enum mxs_auart_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1600 | s->devtype = (enum mxs_auart_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/time/hrtimer.c:124:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 124 | [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:125:22: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 125 | [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:126:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 126 | [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:127:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 127 | [CLOCK_TAI] = HRTIMER_BASE_TAI, | ^~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. ../drivers/dma/mmp_tdma.c:644:9: warning: cast to smaller integer type 'enum mmp_tdma_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 644 | type = (enum mmp_tdma_type)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.h:71: 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/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/tty/serial/sh-sci.c:3226:19: warning: unused function 'sci_probe_earlyprintk' [-Wunused-function] 3226 | static inline int sci_probe_earlyprintk(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~~~ 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/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. ../kernel/time/tick-oneshot.c:24: warning: Function parameter or struct member 'expires' not described in 'tick_program_event' ../kernel/time/tick-oneshot.c:24: warning: Function parameter or struct member 'force' not described in 'tick_program_event' ../kernel/time/tick-oneshot.c:64: warning: Function parameter or struct member 'newdev' not described in 'tick_setup_oneshot' ../kernel/time/tick-oneshot.c:64: warning: Function parameter or struct member 'handler' not described in 'tick_setup_oneshot' ../kernel/time/tick-oneshot.c:64: warning: Function parameter or struct member 'next_event' not described in 'tick_setup_oneshot' ../kernel/time/tick-oneshot.c:74: warning: Function parameter or struct member 'handler' not described in 'tick_switch_to_oneshot' ../drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c:30:18: warning: unused function 'hdmi_read' [-Wunused-function] 30 | static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset) | ^~~~~~~~~ 1 warning generated. ../drivers/dma/dw-edma/dw-edma-core.c:26:16: warning: unused function 'dchan2dev' [-Wunused-function] 26 | struct device *dchan2dev(struct dma_chan *dchan) | ^~~~~~~~~ ../drivers/dma/dw-edma/dw-edma-core.c:32:16: warning: unused function 'chan2dev' [-Wunused-function] 32 | struct device *chan2dev(struct dw_edma_chan *chan) | ^~~~~~~~ 2 warnings generated. drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() ../drivers/input/keyboard/bcm-keypad.c:166:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 166 | u32 val; | ^ 1 warning generated. ../drivers/usb/dwc2/core_intr.c:342: warning: Function parameter or struct member 'remotewakeup' not described in 'dwc2_wakeup_from_lpm_l1' ../sound/soc/rockchip/rockchip_pdm.c:583:17: warning: cast to smaller integer type 'enum rk_pdm_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 583 | pdm->version = (enum rk_pdm_version)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../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/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. ../kernel/kprobes.c:142: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' ../drivers/usb/host/xhci.c:1372: warning: Function parameter or struct member 'desc' not described in 'xhci_get_endpoint_index' ../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. 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.h:71: 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:1056:3: warning: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1056 | (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../sound/soc/sunxi/sun4i-spdif.c:180: warning: Function parameter or struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' ../drivers/watchdog/pcwd_usb.c:586: warning: Function parameter or struct member 'usb_pcwd' not described in 'usb_pcwd_delete' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'id' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:770: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_disconnect' ../drivers/rtc/rtc-omap.c:412: warning: Function parameter or struct member 'dev' not described in 'omap_rtc_power_off_program' ../drivers/usb/renesas_usbhs/mod.c:195:6: warning: variable 'intenb0' set but not used [-Wunused-but-set-variable] 195 | u16 intenb0, intenb1; | ^ 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.h:71: 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-mxs.c:130: warning: Function parameter or struct member 'timing0' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'timing1' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'timing2' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'dmach' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'pio_data' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'addr_data' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'sg_io' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'dma_read' not described in 'mxs_i2c_dev' ../drivers/scsi/lpfc/lpfc_bsg.c:2820:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2820 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. ../drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c:597:29: warning: conditional expression between different enumeration types ('enum scp_ipi_id' and 'enum ipi_id') [-Wenum-compare-conditional] 597 | inst->vpu_inst.id = is_ext ? SCP_IPI_VENC_H264 : IPI_VENC_H264; | ^ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ 1 warning generated. ../drivers/gpu/drm/scheduler/sched_main.c:409: warning: Function parameter or struct member '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. ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:945:24: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 945 | flags |= is_new_rate ? IWL_MAC_BEACON_CCK | ^ ~~~~~~~~~~~~~~~~~~ 946 | : IWL_MAC_BEACON_CCK_V1; | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1112:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1112 | 0) > 10 ? | ^ 1113 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1114 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 2 warnings 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:80: 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/thermal/max77620_thermal.c:48: warning: Function parameter or struct member 'tz' not described in 'max77620_thermal_read_temp' ../drivers/thermal/max77620_thermal.c:48: warning: Excess function parameter 'data' description in 'max77620_thermal_read_temp' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'prot_stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'registered' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'suspended' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'connected' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'vbus_session' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'set_cfg_not_acked' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'waiting_zlp_ack' description in 'pch_udc_dev' ../drivers/thermal/testing/zone.c:54:1: warning: unused function 'class_tt_zone_lock_ptr' [-Wunused-function] 54 | DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:297:23: note: expanded from macro 'DEFINE_GUARD' 297 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :217:1: note: expanded from here 217 | class_tt_zone_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~ 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. ../drivers/gpu/drm/radeon/radeon_cs.c:418: warning: Excess function parameter 'backoff' description in 'radeon_cs_parser_fini' ../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. ../drivers/gpu/drm/vc4/vc4_drv.c:301:8: warning: cast to smaller integer type 'enum vc4_gen' from 'const void *' [-Wvoid-pointer-to-enum-cast] 301 | gen = (enum vc4_gen)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'nvram_start' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'flash_start' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_find_and_copy' drivers/media/pci/solo6x10/solo6x10.o: warning: objtool: tw28_set_ctrl_val() falls through to next function __cfi_tw28_get_ctrl_val() 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:80: 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/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. ../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:80: 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:890:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] 890 | u32 res, i = 0; | ^ 1 warning generated. ../drivers/hv/channel.c:578: warning: Function parameter or struct member 'size' not described in 'request_arr_init' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'offset' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'irq_mask' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_up_coeff' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_down_coeff' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_up_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_down_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'avg_dependency_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'config' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'regs' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'avg_count' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'boost_freq' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'target_freq' not described in 'tegra_devfreq_device' ../fs/gfs2/glock.c:1260: warning: Function parameter or struct member 'ip' not described in '__gfs2_holder_init' ../drivers/staging/gpib/gpio/gpib_bitbang.c:1371:13: warning: unused function 'usec_diff' [-Wunused-function] 1371 | inline long usec_diff(struct timespec64 *a, struct timespec64 *b) | ^~~~~~~~~ 1 warning generated. ../drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:266: warning: Function parameter or struct member 'leng' not described in 'send_command' ../drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:676: warning: Function parameter or struct member 'assert' not described in 'usb_gpib_interface_clear' ../drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:698: warning: expecting prototype for line_status(). Prototype was for WQT() instead ../drivers/staging/gpib/ni_usb/ni_usb_gpib.c:430:15: warning: variable 'adr1_bits' set but not used [-Wunused-but-set-variable] 430 | unsigned int adr1_bits; | ^ 1 warning generated. ../drivers/gpu/drm/pl111/pl111_versatile.c:488:24: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 488 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/pl111/pl111_versatile.c:508:26: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 508 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' ../drivers/memory/emif.c:68: warning: Function parameter or struct member 'lpmode' not described in 'emif_data' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'offset' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'skip_size' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'fixup_data' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'node' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'offset' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'sender_uaddr' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'length' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'node' not described in 'binder_sg_copy' ../drivers/android/binder.c:4013: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' ../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' 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.h:71: 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/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) \ | ^~~~~~~~~~~ :22:1: note: expanded from here 22 | get_event | ^~~~~~~~~ 1 warning generated. ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:197: warning: Excess struct member 'buf' description in 'panthor_fw_section' ../drivers/gpu/drm/panthor/panthor_fw.c:197: warning: Excess struct member 'size' description in 'panthor_fw_section' ../drivers/gpu/drm/panthor/panthor_fw.c:268: warning: Excess struct member 'ping_work' description in 'panthor_fw' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Function parameter or struct member 'as' not described in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots_lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'alloc_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'faulty_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lru_list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'reset_in_progress' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'wq' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'count' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'ptr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'page' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'addr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'range' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'vm_bo' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'bo_offset' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'sgt' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'new_vma' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'start' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'size' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'id' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'active_cnt' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lru_node' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'pool' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lock' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:412: warning: Cannot understand * @pt_cache: Cache used to allocate MMU page tables. on line 412 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:481: warning: Cannot understand * @free_pt() - Custom page table free function on line 481 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Excess function parameter 'VM' description in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Excess function parameter 'VM' description in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:1037: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1037: warning: Excess function parameter 'VM' description in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1070: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1070: warning: Excess function parameter 'VM' description in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Function parameter or struct member 'ptdev' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Function parameter or struct member 'args' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Excess function parameter 'kernel_va_start' description in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Excess function parameter 'kernel_va_range' description in 'panthor_vm_pool_create_vm' ../scripts/Makefile.build:207: ../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.h:71: 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/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.h:71: 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/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'runnable' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'idle' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'waiting' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'has_ref' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'in_progress' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'stopped_groups' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'mem' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'input' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'output' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'input_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'output_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'gpu_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'ref' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'gt' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'sync64' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'bo' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'offset' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'kmap' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'lock' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'id' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'last_fence' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'in_flight_jobs' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'slots' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'slot_count' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:698: warning: Excess struct member 'data' description in 'panthor_group' ../drivers/gpu/drm/panthor/panthor_sched.c:698: warning: Excess struct member 'lock' description in 'panthor_group' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'size' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'latest_flush' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'end' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'mask' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'slot' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:1763: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:1763: warning: Function parameter or struct member 'events' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:2656: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../drivers/net/usb/lan78xx.c:2514:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^ 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. ../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/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' ../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/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/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/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' 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.h:71: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:71: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. ../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:71: 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/hwmon/aht10.c:224: warning: Function parameter or struct member 'data' not described in 'aht10_interval_write' ../drivers/hwmon/aht10.c:224: warning: Function parameter or struct member 'val' not described in 'aht10_interval_write' ../drivers/hwmon/aht10.c:235: warning: Function parameter or struct member 'data' not described in 'aht10_interval_read' ../drivers/hwmon/aht10.c:235: warning: Function parameter or struct member 'val' not described in 'aht10_interval_read' ../drivers/hwmon/aht10.c:244: warning: Function parameter or struct member 'data' not described in 'aht10_temperature1_read' ../drivers/hwmon/aht10.c:244: warning: Function parameter or struct member 'val' not described in 'aht10_temperature1_read' ../drivers/hwmon/aht10.c:259: warning: Function parameter or struct member 'data' not described in 'aht10_humidity1_read' ../drivers/hwmon/aht10.c:259: warning: Function parameter or struct member 'val' not described in 'aht10_humidity1_read' ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/ntb/msi.c:33: warning: Function parameter or struct member 'desc_changed' not described in 'ntb_msi_init' ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/hid/hid-steam.c:1156:7: warning: variable 'connected' set but not used [-Wunused-but-set-variable] 1156 | bool connected; | ^ 1 warning generated. ../drivers/rpmsg/qcom_smd.c:229: warning: Excess struct member 'cb' description in 'qcom_smd_channel' ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/mtd/nand/raw/vf610_nfc.c:843:17: warning: cast to smaller integer type 'enum vf610_nfc_variant' from 'const void *' [-Wvoid-pointer-to-enum-cast] 843 | nfc->variant = (enum vf610_nfc_variant)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:1136: warning: cannot understand function prototype: 'struct registry_list_entry ' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:1340: warning: cannot understand function prototype: 'const struct nv_gsp_registry_entries r535_registry_entries[] = ' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2112: warning: cannot understand function prototype: 'struct rpc_ucode_libos_print_v1e_08 ' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2174: warning: expecting prototype for create_debufgs(). Prototype was for create_debugfs() instead ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 'parent' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 'name' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 's' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 't' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nouveau_drm.c:129: warning: Function parameter or struct member 'gsp_logs' not described in 'NVIF_LOGS_DECLARE' ../drivers/gpu/drm/nouveau/nouveau_drm.c:129: warning: expecting prototype for gsp_logs(). Prototype was for NVIF_LOGS_DECLARE() instead ../drivers/char/ipmi/ipmi_si_platform.c:268:15: warning: cast to smaller integer type 'enum si_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 268 | io.si_type = (enum si_type)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../ipc/sem.c:647: warning: expecting prototype for perform_atomic_semop[_slow](). Prototype was for perform_atomic_semop_slow() instead ../arch/x86/events/intel/p4.c:1369:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1369 | unsigned int low, high; | ^ 1 warning generated. ../drivers/phy/broadcom/phy-bcm-ns-usb3.c:206:17: warning: cast to smaller integer type 'enum bcm_ns_family' from 'const void *' [-Wvoid-pointer-to-enum-cast] 206 | usb3->family = (enum bcm_ns_family)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/soc/fsl/qe/qe_ic.c:235:29: warning: unused function 'qe_ic_from_irq' [-Wunused-function] 235 | static inline struct qe_ic *qe_ic_from_irq(unsigned int virq) | ^~~~~~~~~~~~~~ 1 warning generated. ../security/ipe/hooks.c:55: warning: Function parameter or struct member '__always_unused' not described in 'ipe_mmap_file' ../security/ipe/hooks.c:55: warning: Excess function parameter 'reqprot' description in 'ipe_mmap_file' ../security/ipe/hooks.c:83: warning: Function parameter or struct member '__always_unused' not described in 'ipe_file_mprotect' ../security/ipe/hooks.c:83: warning: Excess function parameter 'reqprot' description in 'ipe_file_mprotect' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1627, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1629, line 762. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1630, line 762. ../security/landlock/fs.c:762: warning: Function parameter or struct member '' not described in 'is_access_to_paths_allowed' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 762. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 762. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1806, line 762. Use of uninitialized value $parameterlist[6] in join or string at ../scripts/kernel-doc line 1806, line 762. ../security/landlock/fs.c:762: warning: Excess function parameter 'layer_masks_parent1' description in 'is_access_to_paths_allowed' ../security/landlock/fs.c:762: warning: Excess function parameter 'layer_masks_parent2' description in 'is_access_to_paths_allowed' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 1002. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 1002. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 1002. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 1002. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 1002. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 1002. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1626, line 1002. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1627, line 1002. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1629, line 1002. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1630, line 1002. ../security/landlock/fs.c:1002: warning: Function parameter or struct member '' not described in 'collect_domain_accesses' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 1002. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1806, line 1002. ../security/landlock/fs.c:1002: warning: Excess function parameter 'layer_masks_dom' description in 'collect_domain_accesses' ../security/ipe/policy_fs.c:21: warning: cannot understand function prototype: 'struct ipefs_file ' ../security/ipe/policy_fs.c:407: warning: cannot understand function prototype: 'const struct ipefs_file policy_subdir[] = ' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'boost_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'enabled' not described in 'lm3692x_led' ../kernel/reboot.c:241: warning: Function parameter or struct member 'cmd' not described in 'do_kernel_restart' ../kernel/reboot.c:972: warning: Function parameter or struct member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff' ../arch/x86/kernel/process.c:955:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 955 | u32 lo, hi; | ^ 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. ../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. In file included from ../drivers/char/tpm/eventlog/of.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/tpm_tis.c:29: 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. ../kernel/sched/core.c:6439:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6439 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6440 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6441 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6442 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:402:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 402 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 403 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:378:21: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 378 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :165:1: note: expanded from here 165 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/char/tpm/tpm_tis_synquacer.c:13: 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_spi_cr50.c:18: 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_spi_main.c:35: 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/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. 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. ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'zone' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'gfp_mask' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'safe_needed' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'ca' not described in 'add_rtree_block' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'gfp_mask' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'safe_needed' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'ca' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'start' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'end' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'zone' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'clear_nosave_free' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'bm' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'gfp_mask' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'safe_needed' not described in 'memory_bm_create' ../kernel/power/snapshot.c:728: warning: Function parameter or struct member 'clear_nosave_free' not described in 'memory_bm_free' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bm' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'pfn' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'addr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bit_nr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'start_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'end_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'zone' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'pfn' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'zone' not described in 'saveable_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'pfn' not described in 'saveable_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 'dst' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 's_page' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'x' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'multiplier' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'base' not described in '__fraction' ../kernel/power/snapshot.c:1994: warning: Function parameter or struct member 'nr_highmem' not described in 'count_pages_for_highmem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_pages' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_highmem' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2035: warning: Function parameter or struct member 'safe_needed' not described in 'get_highmem_buffer' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'bm' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'nr_highmem' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'copy_bm' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_pages' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_highmem' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2305: warning: Function parameter or struct member 'bm' not described in 'mark_unsafe_pages' ../kernel/power/snapshot.c:2340: warning: Function parameter or struct member 'info' not described in 'load_header' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'page' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'ca' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'bm' not described in 'get_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'ca' not described in 'get_buffer' ../kernel/power/snapshot.c:2858: warning: Function parameter or struct member 'handle' not described in 'snapshot_write_finalize' 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/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/xen-tpmfront.c:17: 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. In file included from ../drivers/char/tpm/st33zp24/spi.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. ../arch/x86/kernel/cpu/mtrr/generic.c:691:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 691 | unsigned lo, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/generic.c:1060:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1060 | unsigned long config, dummy; | ^ 2 warnings generated. ../drivers/dma/mmp_tdma.c:644:9: warning: cast to smaller integer type 'enum mmp_tdma_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 644 | type = (enum mmp_tdma_type)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/time/hrtimer.c:124:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 124 | [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:125:22: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 125 | [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:126:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 126 | [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:127:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 127 | [CLOCK_TAI] = HRTIMER_BASE_TAI, | ^~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. ../arch/x86/kernel/apic/apic.c:2143: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2143: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c:35:19: warning: unused function 'rcar_cmm_read' [-Wunused-function] 35 | static inline int rcar_cmm_read(struct rcar_cmm *rcmm, u32 reg) | ^~~~~~~~~~~~~ 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.h:71: 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/dma/dw-edma/dw-edma-core.c:26:16: warning: unused function 'dchan2dev' [-Wunused-function] 26 | struct device *dchan2dev(struct dma_chan *dchan) | ^~~~~~~~~ ../drivers/dma/dw-edma/dw-edma-core.c:32:16: warning: unused function 'chan2dev' [-Wunused-function] 32 | struct device *chan2dev(struct dw_edma_chan *chan) | ^~~~~~~~ 2 warnings generated. ../kernel/time/tick-oneshot.c:24: warning: Function parameter or struct member 'expires' not described in 'tick_program_event' ../kernel/time/tick-oneshot.c:24: warning: Function parameter or struct member 'force' not described in 'tick_program_event' ../kernel/time/tick-oneshot.c:64: warning: Function parameter or struct member 'newdev' not described in 'tick_setup_oneshot' ../kernel/time/tick-oneshot.c:64: warning: Function parameter or struct member 'handler' not described in 'tick_setup_oneshot' ../kernel/time/tick-oneshot.c:64: warning: Function parameter or struct member 'next_event' not described in 'tick_setup_oneshot' ../kernel/time/tick-oneshot.c:74: warning: Function parameter or struct member 'handler' not described in 'tick_switch_to_oneshot' ../drivers/tty/serial/mxs-auart.c:1600:15: warning: cast to smaller integer type 'enum mxs_auart_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1600 | s->devtype = (enum mxs_auart_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/regulator/da9121-regulator.c:1132:24: warning: cast to smaller integer type 'enum da9121_subvariant' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1132 | chip->subvariant_id = (enum da9121_subvariant)i2c_get_match_data(i2c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() ../drivers/tty/serial/sh-sci.c:3226:19: warning: unused function 'sci_probe_earlyprintk' [-Wunused-function] 3226 | static inline int sci_probe_earlyprintk(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c:30:18: warning: unused function 'hdmi_read' [-Wunused-function] 30 | static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset) | ^~~~~~~~~ 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. ../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/input/keyboard/bcm-keypad.c:166:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 166 | u32 val; | ^ 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/usb/dwc2/core_intr.c:342: warning: Function parameter or struct member 'remotewakeup' not described in 'dwc2_wakeup_from_lpm_l1' ../sound/soc/rockchip/rockchip_pdm.c:583:17: warning: cast to smaller integer type 'enum rk_pdm_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 583 | pdm->version = (enum rk_pdm_version)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/kprobes.c:142: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' ../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/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/watchdog/pcwd_usb.c:586: warning: Function parameter or struct member 'usb_pcwd' not described in 'usb_pcwd_delete' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'id' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:770: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_disconnect' 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.h:71: 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/usb/host/xhci.c:1372: warning: Function parameter or struct member 'desc' not described in 'xhci_get_endpoint_index' ../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../drivers/i2c/busses/i2c-bcm-iproc.c:1056:3: warning: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1056 | (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/scsi/lpfc/lpfc_bsg.c:2820:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2820 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. ../sound/soc/sunxi/sun4i-spdif.c:180: warning: Function parameter or struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' ../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/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.h:71: 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/rtc/rtc-omap.c:412: warning: Function parameter or struct member 'dev' not described in 'omap_rtc_power_off_program' ../drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'nvram_start' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'flash_start' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_find_and_copy' ../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/thermal/max77620_thermal.c:48: warning: Function parameter or struct member 'tz' not described in 'max77620_thermal_read_temp' ../drivers/thermal/max77620_thermal.c:48: warning: Excess function parameter 'data' description in 'max77620_thermal_read_temp' 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:80: 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-mxs.c:130: warning: Function parameter or struct member 'timing0' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'timing1' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'timing2' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'dmach' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'pio_data' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'addr_data' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'sg_io' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'dma_read' not described in 'mxs_i2c_dev' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' ../drivers/usb/renesas_usbhs/mod.c:195:6: warning: variable 'intenb0' set but not used [-Wunused-but-set-variable] 195 | u16 intenb0, intenb1; | ^ 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. ../drivers/thermal/testing/zone.c:54:1: warning: unused function 'class_tt_zone_lock_ptr' [-Wunused-function] 54 | DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:297:23: note: expanded from macro 'DEFINE_GUARD' 297 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :217:1: note: expanded from here 217 | class_tt_zone_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~ 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. 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:80: 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/gpu/drm/scheduler/sched_main.c:409: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done' ../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:80: 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/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:945:24: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 945 | flags |= is_new_rate ? IWL_MAC_BEACON_CCK | ^ ~~~~~~~~~~~~~~~~~~ 946 | : IWL_MAC_BEACON_CCK_V1; | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1112:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1112 | 0) > 10 ? | ^ 1113 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1114 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'prot_stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'registered' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'suspended' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'connected' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'vbus_session' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'set_cfg_not_acked' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'waiting_zlp_ack' description in 'pch_udc_dev' ../drivers/staging/rtl8723bs/hal/hal_com.c:890:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] 890 | u32 res, i = 0; | ^ 1 warning generated. ../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. ../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. ../drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c:597:29: warning: conditional expression between different enumeration types ('enum scp_ipi_id' and 'enum ipi_id') [-Wenum-compare-conditional] 597 | inst->vpu_inst.id = is_ext ? SCP_IPI_VENC_H264 : IPI_VENC_H264; | ^ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ 1 warning generated. ../drivers/hv/channel.c:578: warning: Function parameter or struct member 'size' not described in 'request_arr_init' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'offset' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'irq_mask' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_up_coeff' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_down_coeff' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_up_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_down_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'avg_dependency_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'config' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'regs' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'avg_count' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'boost_freq' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'target_freq' not described in 'tegra_devfreq_device' ../drivers/gpu/drm/vc4/vc4_drv.c:301:8: warning: cast to smaller integer type 'enum vc4_gen' from 'const void *' [-Wvoid-pointer-to-enum-cast] 301 | gen = (enum vc4_gen)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../scripts/Makefile.build:207: ../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. ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' ../drivers/memory/emif.c:68: warning: Function parameter or struct member 'lpmode' not described in 'emif_data' ../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'offset' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'skip_size' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'fixup_data' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'node' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'offset' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'sender_uaddr' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'length' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'node' not described in 'binder_sg_copy' ../drivers/android/binder.c:4013: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' ../drivers/gpu/drm/radeon/radeon_cs.c:418: warning: Excess function parameter 'backoff' description in 'radeon_cs_parser_fini' ../drivers/staging/gpib/gpio/gpib_bitbang.c:1371:13: warning: unused function 'usec_diff' [-Wunused-function] 1371 | inline long usec_diff(struct timespec64 *a, struct timespec64 *b) | ^~~~~~~~~ 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.h:71: 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/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) \ | ^~~~~~~~~~~ :22:1: note: expanded from here 22 | get_event | ^~~~~~~~~ 1 warning generated. ../drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:266: warning: Function parameter or struct member 'leng' not described in 'send_command' ../drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:676: warning: Function parameter or struct member 'assert' not described in 'usb_gpib_interface_clear' ../drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:698: warning: expecting prototype for line_status(). Prototype was for WQT() instead ../drivers/staging/gpib/ni_usb/ni_usb_gpib.c:430:15: warning: variable 'adr1_bits' set but not used [-Wunused-but-set-variable] 430 | unsigned int adr1_bits; | ^ 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.h:71: 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/media/pci/solo6x10/solo6x10.o: warning: objtool: tw28_set_ctrl_val() falls through to next function __cfi_tw28_get_ctrl_val() 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.h:71: 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/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' ../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. ../fs/gfs2/glock.c:1260: warning: Function parameter or struct member 'ip' not described in '__gfs2_holder_init' ../drivers/gpu/drm/pl111/pl111_versatile.c:488:24: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 488 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/pl111/pl111_versatile.c:508:26: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 508 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ../drivers/hid/hid-steam.c:1156:7: warning: variable 'connected' set but not used [-Wunused-but-set-variable] 1156 | bool connected; | ^ 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.h:71: 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_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/caif/caif_serial.c:130:20: warning: unused function 'debugfs_tx' [-Wunused-function] 130 | static inline void debugfs_tx(struct ser_device *ser, const u8 *data, int 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. ../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/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:197: warning: Excess struct member 'buf' description in 'panthor_fw_section' ../drivers/gpu/drm/panthor/panthor_fw.c:197: warning: Excess struct member 'size' description in 'panthor_fw_section' ../drivers/gpu/drm/panthor/panthor_fw.c:268: warning: Excess struct member 'ping_work' description in 'panthor_fw' 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.h:71: 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/gpu/drm/panthor/panthor_mmu.c:102: warning: Function parameter or struct member 'as' not described in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots_lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'alloc_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'faulty_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lru_list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'reset_in_progress' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'wq' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'count' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'ptr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'page' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'addr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'range' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'vm_bo' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'bo_offset' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'sgt' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'new_vma' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'start' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'size' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'id' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'active_cnt' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lru_node' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'pool' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lock' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:412: warning: Cannot understand * @pt_cache: Cache used to allocate MMU page tables. on line 412 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:481: warning: Cannot understand * @free_pt() - Custom page table free function on line 481 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Excess function parameter 'VM' description in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Excess function parameter 'VM' description in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:1037: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1037: warning: Excess function parameter 'VM' description in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1070: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1070: warning: Excess function parameter 'VM' description in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Function parameter or struct member 'ptdev' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Function parameter or struct member 'args' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Excess function parameter 'kernel_va_start' description in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Excess function parameter 'kernel_va_range' description in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'runnable' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'idle' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'waiting' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'has_ref' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'in_progress' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'stopped_groups' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'mem' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'input' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'output' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'input_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'output_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'gpu_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'ref' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'gt' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'sync64' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'bo' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'offset' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'kmap' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'lock' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'id' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'last_fence' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'in_flight_jobs' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'slots' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'slot_count' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:698: warning: Excess struct member 'data' description in 'panthor_group' ../drivers/gpu/drm/panthor/panthor_sched.c:698: warning: Excess struct member 'lock' description in 'panthor_group' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'size' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'latest_flush' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'end' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'mask' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'slot' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:1763: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:1763: warning: Function parameter or struct member 'events' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:2656: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. ../drivers/net/ethernet/sfc/ptp.c:205: warning: 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.h:71: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/hwmon/aht10.c:224: warning: Function parameter or struct member 'data' not described in 'aht10_interval_write' ../drivers/hwmon/aht10.c:224: warning: Function parameter or struct member 'val' not described in 'aht10_interval_write' ../drivers/hwmon/aht10.c:235: warning: Function parameter or struct member 'data' not described in 'aht10_interval_read' ../drivers/hwmon/aht10.c:235: warning: Function parameter or struct member 'val' not described in 'aht10_interval_read' ../drivers/hwmon/aht10.c:244: warning: Function parameter or struct member 'data' not described in 'aht10_temperature1_read' ../drivers/hwmon/aht10.c:244: warning: Function parameter or struct member 'val' not described in 'aht10_temperature1_read' ../drivers/hwmon/aht10.c:259: warning: Function parameter or struct member 'data' not described in 'aht10_humidity1_read' ../drivers/hwmon/aht10.c:259: warning: Function parameter or struct member 'val' not described in 'aht10_humidity1_read' ../drivers/bluetooth/btintel_pcie.c:339:20: warning: unused function 'btintel_pcie_in_rom' [-Wunused-function] 339 | static inline bool btintel_pcie_in_rom(struct btintel_pcie_data *data) | ^~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/net/usb/lan78xx.c:2514:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^ 1 warning generated. ../drivers/ntb/msi.c:33: warning: Function parameter or struct member 'desc_changed' not described in 'ntb_msi_init' ../drivers/rpmsg/qcom_smd.c:229: warning: Excess struct member 'cb' description in 'qcom_smd_channel' ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/mtd/nand/raw/vf610_nfc.c:843:17: warning: cast to smaller integer type 'enum vf610_nfc_variant' from 'const void *' [-Wvoid-pointer-to-enum-cast] 843 | nfc->variant = (enum vf610_nfc_variant)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../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. ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:1136: warning: cannot understand function prototype: 'struct registry_list_entry ' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:1340: warning: cannot understand function prototype: 'const struct nv_gsp_registry_entries r535_registry_entries[] = ' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2112: warning: cannot understand function prototype: 'struct rpc_ucode_libos_print_v1e_08 ' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2174: warning: expecting prototype for create_debufgs(). Prototype was for create_debugfs() instead ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 'parent' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 'name' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 's' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 't' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nouveau_drm.c:129: warning: Function parameter or struct member 'gsp_logs' not described in 'NVIF_LOGS_DECLARE' ../drivers/gpu/drm/nouveau/nouveau_drm.c:129: warning: expecting prototype for gsp_logs(). Prototype was for NVIF_LOGS_DECLARE() instead ../drivers/char/ipmi/ipmi_si_platform.c:268:15: warning: cast to smaller integer type 'enum si_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 268 | io.si_type = (enum si_type)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../ipc/sem.c:647: warning: expecting prototype for perform_atomic_semop[_slow](). Prototype was for perform_atomic_semop_slow() instead ../arch/x86/events/intel/p4.c:1369:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1369 | unsigned int low, high; | ^ 1 warning generated. ../drivers/phy/broadcom/phy-bcm-ns-usb3.c:206:17: warning: cast to smaller integer type 'enum bcm_ns_family' from 'const void *' [-Wvoid-pointer-to-enum-cast] 206 | usb3->family = (enum bcm_ns_family)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/soc/fsl/qe/qe_ic.c:235:29: warning: unused function 'qe_ic_from_irq' [-Wunused-function] 235 | static inline struct qe_ic *qe_ic_from_irq(unsigned int virq) | ^~~~~~~~~~~~~~ 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. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1627, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1629, line 762. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1630, line 762. ../security/landlock/fs.c:762: warning: Function parameter or struct member '' not described in 'is_access_to_paths_allowed' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 762. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 762. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 762. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 762. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 762. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1806, line 762. Use of uninitialized value $parameterlist[6] in join or string at ../scripts/kernel-doc line 1806, line 762. ../security/landlock/fs.c:762: warning: Excess function parameter 'layer_masks_parent1' description in 'is_access_to_paths_allowed' ../security/landlock/fs.c:762: warning: Excess function parameter 'layer_masks_parent2' description in 'is_access_to_paths_allowed' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1532, line 1002. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 1002. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1484, line 1002. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1588, line 1002. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1616, line 1002. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1626, line 1002. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1626, line 1002. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1627, line 1002. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1629, line 1002. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1630, line 1002. ../security/landlock/fs.c:1002: warning: Function parameter or struct member '' not described in 'collect_domain_accesses' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1645, line 1002. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1806, line 1002. ../security/landlock/fs.c:1002: warning: Excess function parameter 'layer_masks_dom' description in 'collect_domain_accesses' ../security/ipe/hooks.c:55: warning: Function parameter or struct member '__always_unused' not described in 'ipe_mmap_file' ../security/ipe/hooks.c:55: warning: Excess function parameter 'reqprot' description in 'ipe_mmap_file' ../security/ipe/hooks.c:83: warning: Function parameter or struct member '__always_unused' not described in 'ipe_file_mprotect' ../security/ipe/hooks.c:83: warning: Excess function parameter 'reqprot' description in 'ipe_file_mprotect' 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. ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'boost_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or 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. ../arch/x86/kernel/process.c:955:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 955 | u32 lo, hi; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm2.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/acpi.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../kernel/reboot.c:241: warning: Function parameter or struct member 'cmd' not described in 'do_kernel_restart' ../kernel/reboot.c:972: warning: Function parameter or struct member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff' ../security/ipe/policy_fs.c:21: warning: cannot understand function prototype: 'struct ipefs_file ' ../security/ipe/policy_fs.c:407: warning: cannot understand function prototype: 'const struct ipefs_file policy_subdir[] = ' In file included from ../drivers/char/tpm/eventlog/of.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. ../drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c:35:19: warning: unused function 'rcar_cmm_read' [-Wunused-function] 35 | static inline int rcar_cmm_read(struct rcar_cmm *rcmm, u32 reg) | ^~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/char/tpm/tpm_tis.c:29: 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/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. In file included from ../drivers/char/tpm/tpm_tis_synquacer.c:13: 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_spi_main.c:35: 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_spi_cr50.c:18: 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_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. ../kernel/sched/core.c:6439:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6439 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6440 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6441 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6442 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:402:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 402 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 403 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:378:21: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 378 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :165:1: note: expanded from here 165 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 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. ../arch/x86/kernel/cpu/mtrr/generic.c:691:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 691 | unsigned lo, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/generic.c:1060:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1060 | unsigned long config, dummy; | ^ 2 warnings 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/xen-tpmfront.c:17: 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. In file included from ../drivers/char/tpm/st33zp24/spi.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. ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'zone' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'gfp_mask' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'safe_needed' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'ca' not described in 'add_rtree_block' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'gfp_mask' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'safe_needed' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'ca' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'start' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'end' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'zone' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'clear_nosave_free' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'bm' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'gfp_mask' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'safe_needed' not described in 'memory_bm_create' ../kernel/power/snapshot.c:728: warning: Function parameter or struct member 'clear_nosave_free' not described in 'memory_bm_free' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bm' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'pfn' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'addr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bit_nr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'start_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'end_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'zone' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1319: warning: Function parameter or struct member 'pfn' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'zone' not described in 'saveable_page' ../kernel/power/snapshot.c:1378: warning: Function parameter or struct member 'pfn' not described in 'saveable_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 'dst' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1455: warning: Function parameter or struct member 's_page' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'x' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'multiplier' not described in '__fraction' ../kernel/power/snapshot.c:1696: warning: Function parameter or struct member 'base' not described in '__fraction' ../kernel/power/snapshot.c:1994: warning: Function parameter or struct member 'nr_highmem' not described in 'count_pages_for_highmem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_pages' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2012: warning: Function parameter or struct member 'nr_highmem' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2035: warning: Function parameter or struct member 'safe_needed' not described in 'get_highmem_buffer' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'bm' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2048: warning: Function parameter or struct member 'nr_highmem' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'copy_bm' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_pages' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2083: warning: Function parameter or struct member 'nr_highmem' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2305: warning: Function parameter or struct member 'bm' not described in 'mark_unsafe_pages' ../kernel/power/snapshot.c:2340: warning: Function parameter or struct member 'info' not described in 'load_header' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'page' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2509: warning: Function parameter or struct member 'ca' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'bm' not described in 'get_buffer' ../kernel/power/snapshot.c:2719: warning: Function parameter or struct member 'ca' not described in 'get_buffer' ../kernel/power/snapshot.c:2858: warning: Function parameter or struct member 'handle' not described in 'snapshot_write_finalize' 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.h:71: 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/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/dma/mmp_tdma.c:644:9: warning: cast to smaller integer type 'enum mmp_tdma_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 644 | type = (enum mmp_tdma_type)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/regulator/da9121-regulator.c:1132:24: warning: cast to smaller integer type 'enum da9121_subvariant' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1132 | chip->subvariant_id = (enum da9121_subvariant)i2c_get_match_data(i2c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c:30:18: warning: unused function 'hdmi_read' [-Wunused-function] 30 | static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset) | ^~~~~~~~~ 1 warning generated. ../drivers/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' ../arch/x86/kernel/apic/apic.c:2143: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2143: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/tty/serial/mxs-auart.c:1600:15: warning: cast to smaller integer type 'enum mxs_auart_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1600 | s->devtype = (enum mxs_auart_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/dma/dw-edma/dw-edma-core.c:26:16: warning: unused function 'dchan2dev' [-Wunused-function] 26 | struct device *dchan2dev(struct dma_chan *dchan) | ^~~~~~~~~ ../drivers/dma/dw-edma/dw-edma-core.c:32:16: warning: unused function 'chan2dev' [-Wunused-function] 32 | struct device *chan2dev(struct dw_edma_chan *chan) | ^~~~~~~~ 2 warnings generated. drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() ../kernel/time/hrtimer.c:124:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 124 | [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:125:22: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 125 | [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:126:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 126 | [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:127:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 127 | [CLOCK_TAI] = HRTIMER_BASE_TAI, | ^~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:27: note: previous initialization is here 122 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. ../drivers/tty/serial/sh-sci.c:3226:19: warning: unused function 'sci_probe_earlyprintk' [-Wunused-function] 3226 | static inline int sci_probe_earlyprintk(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~~~ 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. ../drivers/net/ethernet/8390/pcnet_cs.c:1169:9: warning: variable 'xfer_count' set but not used [-Wunused-but-set-variable] 1169 | int xfer_count = count; | ^ 1 warning generated. ../kernel/time/tick-oneshot.c:24: warning: Function parameter or struct member 'expires' not described in 'tick_program_event' ../kernel/time/tick-oneshot.c:24: warning: Function parameter or struct member 'force' not described in 'tick_program_event' ../kernel/time/tick-oneshot.c:64: warning: Function parameter or struct member 'newdev' not described in 'tick_setup_oneshot' ../kernel/time/tick-oneshot.c:64: warning: Function parameter or struct member 'handler' not described in 'tick_setup_oneshot' ../kernel/time/tick-oneshot.c:64: warning: Function parameter or struct member 'next_event' not described in 'tick_setup_oneshot' ../kernel/time/tick-oneshot.c:74: warning: Function parameter or struct member 'handler' not described in 'tick_switch_to_oneshot' ../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/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. ../drivers/input/keyboard/bcm-keypad.c:166:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 166 | u32 val; | ^ 1 warning generated. ../drivers/usb/dwc2/core_intr.c:342: warning: Function parameter or struct member 'remotewakeup' not described in 'dwc2_wakeup_from_lpm_l1' ../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' 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.h:71: 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/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/watchdog/pcwd_usb.c:586: warning: Function parameter or struct member 'usb_pcwd' not described in 'usb_pcwd_delete' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'id' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:770: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_disconnect' ../kernel/kprobes.c:142: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' ../drivers/usb/host/xhci.c:1372: warning: Function parameter or struct member 'desc' not described in 'xhci_get_endpoint_index' ../sound/soc/rockchip/rockchip_pdm.c:583:17: warning: cast to smaller integer type 'enum rk_pdm_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 583 | pdm->version = (enum rk_pdm_version)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/i2c/busses/i2c-bcm-iproc.c:1056:3: warning: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1056 | (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/scsi/lpfc/lpfc_bsg.c:2820:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2820 | int cnt, offset = 0, i = 0; | ^ 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.h:71: 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. ../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/gpu/drm/scheduler/sched_main.c:409: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done' ../drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c:597:29: warning: conditional expression between different enumeration types ('enum scp_ipi_id' and 'enum ipi_id') [-Wenum-compare-conditional] 597 | inst->vpu_inst.id = is_ext ? SCP_IPI_VENC_H264 : IPI_VENC_H264; | ^ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ 1 warning generated. ../drivers/rtc/rtc-omap.c:412: warning: Function parameter or struct member 'dev' not described in 'omap_rtc_power_off_program' 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:80: 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/thermal/max77620_thermal.c:48: warning: Function parameter or struct member 'tz' not described in 'max77620_thermal_read_temp' ../drivers/thermal/max77620_thermal.c:48: warning: Excess function parameter 'data' description in 'max77620_thermal_read_temp' ../drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'nvram_start' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'flash_start' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/thermal/testing/zone.c:54:1: warning: unused function 'class_tt_zone_lock_ptr' [-Wunused-function] 54 | DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:297:23: note: expanded from macro 'DEFINE_GUARD' 297 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :217:1: note: expanded from here 217 | class_tt_zone_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' ../sound/soc/sunxi/sun4i-spdif.c:180: warning: Function parameter or struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:945:24: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 945 | flags |= is_new_rate ? IWL_MAC_BEACON_CCK | ^ ~~~~~~~~~~~~~~~~~~ 946 | : IWL_MAC_BEACON_CCK_V1; | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1112:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1112 | 0) > 10 ? | ^ 1113 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1114 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'timing0' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'timing1' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'timing2' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'dmach' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'pio_data' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'addr_data' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'sg_io' not described in 'mxs_i2c_dev' ../drivers/i2c/busses/i2c-mxs.c:130: warning: Function parameter or struct member 'dma_read' not described in 'mxs_i2c_dev' ../drivers/gpu/drm/radeon/radeon_cs.c:418: warning: Excess function parameter 'backoff' description in 'radeon_cs_parser_fini' ../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/usb/renesas_usbhs/mod.c:195:6: warning: variable 'intenb0' set but not used [-Wunused-but-set-variable] 195 | u16 intenb0, intenb1; | ^ 1 warning generated. ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'prot_stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'registered' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'suspended' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'connected' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'vbus_session' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'set_cfg_not_acked' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'waiting_zlp_ack' description in 'pch_udc_dev' ../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. ../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. ../drivers/hv/channel.c:578: warning: Function parameter or struct member 'size' not described in 'request_arr_init' ../drivers/gpu/drm/vc4/vc4_drv.c:301:8: warning: cast to smaller integer type 'enum vc4_gen' from 'const void *' [-Wvoid-pointer-to-enum-cast] 301 | gen = (enum vc4_gen)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. drivers/media/pci/solo6x10/solo6x10.o: warning: objtool: tw28_set_ctrl_val() falls through to next function __cfi_tw28_get_ctrl_val() 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:80: 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/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'offset' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'irq_mask' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_up_coeff' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_down_coeff' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_up_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_down_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'avg_dependency_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'config' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'regs' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'avg_count' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'boost_freq' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'target_freq' not described in 'tegra_devfreq_device' ../drivers/staging/gpib/gpio/gpib_bitbang.c:1371:13: warning: unused function 'usec_diff' [-Wunused-function] 1371 | inline long usec_diff(struct timespec64 *a, struct timespec64 *b) | ^~~~~~~~~ 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:80: 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:890:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] 890 | u32 res, i = 0; | ^ 1 warning generated. ../drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:266: warning: Function parameter or struct member 'leng' not described in 'send_command' ../drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:676: warning: Function parameter or struct member 'assert' not described in 'usb_gpib_interface_clear' ../drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:698: warning: expecting prototype for line_status(). Prototype was for WQT() instead 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/staging/gpib/ni_usb/ni_usb_gpib.c:430:15: warning: variable 'adr1_bits' set but not used [-Wunused-but-set-variable] 430 | unsigned int adr1_bits; | ^ 1 warning generated. ../drivers/memory/emif.c:68: warning: Function parameter or struct member 'lpmode' not described in 'emif_data' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:238: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'offset' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'skip_size' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'fixup_data' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2433: warning: Function parameter or struct member 'node' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'offset' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'sender_uaddr' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'length' not described in 'binder_sg_copy' ../drivers/android/binder.c:2453: warning: Function parameter or struct member 'node' not described in 'binder_sg_copy' ../drivers/android/binder.c:4013: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' ../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../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.h:71: 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/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) \ | ^~~~~~~~~~~ :22:1: note: expanded from here 22 | get_event | ^~~~~~~~~ 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. ../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' 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.h:71: 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.h:71: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../fs/gfs2/glock.c:1260: warning: Function parameter or struct member 'ip' not described in '__gfs2_holder_init' ../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' ../drivers/gpu/drm/pl111/pl111_versatile.c:488:24: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 488 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/pl111/pl111_versatile.c:508:26: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 508 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ../fs/ceph/snap.c:377:10: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 377 | if (num > (SIZE_MAX - sizeof(*snapc)) / sizeof(u64)) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/net/ethernet/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.h:71: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:71: 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/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:140: warning: Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' ../drivers/gpu/drm/panthor/panthor_fw.c:197: warning: Excess struct member 'buf' description in 'panthor_fw_section' ../drivers/gpu/drm/panthor/panthor_fw.c:197: warning: Excess struct member 'size' description in 'panthor_fw_section' ../drivers/gpu/drm/panthor/panthor_fw.c:268: warning: Excess struct member 'ping_work' description in 'panthor_fw' ../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. ../drivers/hid/hid-steam.c:1156:7: warning: variable 'connected' set but not used [-Wunused-but-set-variable] 1156 | bool connected; | ^ 1 warning generated. ../drivers/net/ethernet/sfc/ptp.c:205: warning: 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.h:71: 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/gpu/drm/panthor/panthor_mmu.c:102: warning: Function parameter or struct member 'as' not described in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots_lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'alloc_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'faulty_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lru_list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'reset_in_progress' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'wq' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'count' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'ptr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'page' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'addr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'range' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'vm_bo' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'bo_offset' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'sgt' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'new_vma' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'start' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'size' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'id' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'active_cnt' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lru_node' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'pool' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lock' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:412: warning: Cannot understand * @pt_cache: Cache used to allocate MMU page tables. on line 412 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:481: warning: Cannot understand * @free_pt() - Custom page table free function on line 481 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Excess function parameter 'VM' description in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Excess function parameter 'VM' description in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:1037: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1037: warning: Excess function parameter 'VM' description in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1070: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1070: warning: Excess function parameter 'VM' description in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Function parameter or struct member 'ptdev' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Function parameter or struct member 'args' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Excess function parameter 'kernel_va_start' description in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1504: warning: Excess function parameter 'kernel_va_range' description in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'runnable' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'idle' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'waiting' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'has_ref' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'in_progress' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:320: warning: Excess struct member 'stopped_groups' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'mem' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'input' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'output' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'input_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'output_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'gpu_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'ref' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'gt' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'sync64' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'bo' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'offset' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'kmap' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'lock' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'id' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'last_fence' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'in_flight_jobs' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'slots' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'slot_count' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:492: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:698: warning: Excess struct member 'data' description in 'panthor_group' ../drivers/gpu/drm/panthor/panthor_sched.c:698: warning: Excess struct member 'lock' description in 'panthor_group' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'size' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'latest_flush' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'end' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'mask' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:834: warning: Excess struct member 'slot' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:1763: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:1763: warning: Function parameter or struct member 'events' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:2656: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../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. ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../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:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/ntb/msi.c:33: warning: Function parameter or struct member 'desc_changed' not described in 'ntb_msi_init' ../drivers/rpmsg/qcom_smd.c:229: warning: Excess struct member 'cb' description in 'qcom_smd_channel' ../drivers/net/usb/lan78xx.c:2514:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^ 1 warning generated. ../drivers/hwmon/aht10.c:224: warning: Function parameter or struct member 'data' not described in 'aht10_interval_write' ../drivers/hwmon/aht10.c:224: warning: Function parameter or struct member 'val' not described in 'aht10_interval_write' ../drivers/hwmon/aht10.c:235: warning: Function parameter or struct member 'data' not described in 'aht10_interval_read' ../drivers/hwmon/aht10.c:235: warning: Function parameter or struct member 'val' not described in 'aht10_interval_read' ../drivers/hwmon/aht10.c:244: warning: Function parameter or struct member 'data' not described in 'aht10_temperature1_read' ../drivers/hwmon/aht10.c:244: warning: Function parameter or struct member 'val' not described in 'aht10_temperature1_read' ../drivers/hwmon/aht10.c:259: warning: Function parameter or struct member 'data' not described in 'aht10_humidity1_read' ../drivers/hwmon/aht10.c:259: warning: Function parameter or struct member 'val' not described in 'aht10_humidity1_read' ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: 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. ../drivers/mtd/nand/raw/vf610_nfc.c:843:17: warning: cast to smaller integer type 'enum vf610_nfc_variant' from 'const void *' [-Wvoid-pointer-to-enum-cast] 843 | nfc->variant = (enum vf610_nfc_variant)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:1136: warning: cannot understand function prototype: 'struct registry_list_entry ' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:1340: warning: cannot understand function prototype: 'const struct nv_gsp_registry_entries r535_registry_entries[] = ' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2112: warning: cannot understand function prototype: 'struct rpc_ucode_libos_print_v1e_08 ' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2174: warning: expecting prototype for create_debufgs(). Prototype was for create_debugfs() instead ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 'parent' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 'name' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 's' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:2800: warning: Function parameter or struct member 't' not described in 'r535_gsp_copy_log' ../drivers/gpu/drm/nouveau/nouveau_drm.c:129: warning: Function parameter or struct member 'gsp_logs' not described in 'NVIF_LOGS_DECLARE' ../drivers/gpu/drm/nouveau/nouveau_drm.c:129: warning: expecting prototype for gsp_logs(). Prototype was for NVIF_LOGS_DECLARE() instead