Warning: ../sound/usb/qcom/qc_audio_offload.c:1018 function parameter 'xfer_buf_cpu' not described in 'uaudio_transfer_buffer_setup' ../drivers/pwm/core.c:54:1: warning: unused function 'class_pwmchip_lock_err' [-Wunused-function] 54 | DEFINE_GUARD(pwmchip, struct pwm_chip *, pwmchip_lock(_T), pwmchip_unlock(_T)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :131:1: note: expanded from here 131 | class_pwmchip_lock_err | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../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. In file included from ../drivers/char/tpm/tpm-chip.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/tpm-dev-common.c:19: 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-dev.c:16: In file included from ../drivers/char/tpm/tpm-dev.h:6: 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-interface.c:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm1-cmd.c:21: ../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/tpm2-cmd.c:14: 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/tpmrm-dev.c:6: In file included from ../drivers/char/tpm/tpm-dev.h:6: 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-sysfs.c:16: 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/tpm2-space.c:16: 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/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/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/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. ../kernel/sched/core.c:6408:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6408 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6409 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6410 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6411 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:350:22: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 350 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :109:1: note: expanded from here 109 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/sched/core.c:6408:1: warning: unused function 'class_core_lock_lock_err' [-Wunused-function] 6408 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6409 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6410 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6411 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :113:1: note: expanded from here 113 | class_core_lock_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. In file included from ../drivers/char/tpm/tpm2-sessions.c:66: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'boost_ctrl' not described in 'lm3692x_led' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'brightness_ctrl' not described in 'lm3692x_led' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'enabled' not described in 'lm3692x_led' In file included from ../drivers/char/tpm/tpm_ppi.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/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/efi.c:11: ../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:974:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 974 | u32 lo, hi; | ^ 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/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_core.c:28: 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.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_crb.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. ../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. 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. In file included from ../drivers/char/tpm/tpm_i2c_atmel.c:23: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_i2c_infineon.c:21: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_i2c_nuvoton.c:24: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/scsi/pm8001/pm8001_hwi.c:40: In file included from ../include/linux/slab.h:16: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_nsc.c:19: 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_atmel.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/scsi/pm8001/pm80xx_hwi.c:40: In file included from ../include/linux/slab.h:16: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_infineon.c:16: 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:693:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 693 | unsigned lo, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/generic.c:1061:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1061 | unsigned long config, dummy; | ^ 2 warnings 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/tpm_vtpm_proxy.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_svsm.c: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/st33zp24/st33zp24.c:22: 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/i2c.c:13: In file included from ../drivers/char/tpm/st33zp24/../tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/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. 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. Warning: ../kernel/time/tick-oneshot.c:23 function parameter 'expires' not described in 'tick_program_event' Warning: ../kernel/time/tick-oneshot.c:23 function parameter 'force' not described in 'tick_program_event' Warning: ../kernel/time/tick-oneshot.c:63 function parameter 'newdev' not described in 'tick_setup_oneshot' Warning: ../kernel/time/tick-oneshot.c:63 function parameter 'handler' not described in 'tick_setup_oneshot' Warning: ../kernel/time/tick-oneshot.c:63 function parameter 'next_event' not described in 'tick_setup_oneshot' Warning: ../kernel/time/tick-oneshot.c:73 function parameter 'handler' not described in 'tick_switch_to_oneshot' ../drivers/tty/serial/sh-sci.c:3343:19: warning: unused function 'sci_probe_earlyprintk' [-Wunused-function] 3343 | static inline int sci_probe_earlyprintk(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/pwm/pwm-twl-led.c:64:39: warning: unused function 'to_twl' [-Wunused-function] 64 | static inline struct twl_pwmled_chip *to_twl(struct pwm_chip *chip) | ^~~~~~ 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. In file included from ../drivers/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/acpi/apei/ghes.c:20: In file included from ../include/linux/arm_sdei.h:8: In file included from ../include/acpi/ghes.h:5: In file included from ../include/acpi/apei.h:9: In file included from ../include/linux/acpi.h:13: In file included from ../include/linux/resource_ext.h:11: In file included from ../include/linux/slab.h:16: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../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:412:18: warning: variable 'mnp' set but not used [-Wunused-but-set-variable] 412 | unsigned int mnp; | ^ 1 warning generated. ../drivers/video/fbdev/sis/sis_main.c:4542:5: warning: variable 'reg' set but not used [-Wunused-but-set-variable] 4542 | u8 reg; | ^ 1 warning generated. ../drivers/scsi/lpfc/lpfc_bsg.c:2819:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2819 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. ../drivers/video/fbdev/aty/aty128fb.c:534:18: warning: unused function '_aty_ld_8' [-Wunused-function] 534 | static inline u8 _aty_ld_8(unsigned int regindex, | ^~~~~~~~~ 1 warning generated. Warning: ../drivers/usb/dwc2/core_intr.c:341 function parameter '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/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/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1119 | 0) > 10 ? | ^ 1120 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1121 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/i2c/busses/i2c-bcm-iproc.c:1102:3: warning: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1102 | (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../sound/soc/sunxi/sun4i-spdif.c:179 struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' ../drivers/usb/musb/musb_host.c:1489:19: warning: unused function 'musb_rx_dma_iso_cppi41' [-Wunused-function] 1489 | static inline int musb_rx_dma_iso_cppi41(struct dma_controller *dma, | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/input/touchscreen/mms114.c:507:15: warning: cast to smaller integer type 'enum mms_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 507 | data->type = (enum mms_type)match_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/platform/x86/dell/dcdbas.c:103 function parameter 'size' not described in 'smi_data_buf_realloc' Warning: ../drivers/platform/x86/dell/dcdbas.c:284 function parameter 'smi_cmd' not described in 'dcdbas_smi_request' Warning: ../drivers/platform/x86/dell/dcdbas.c:316 function parameter 'dev' not described in 'smi_request_store' Warning: ../drivers/platform/x86/dell/dcdbas.c:316 function parameter 'attr' not described in 'smi_request_store' Warning: ../drivers/platform/x86/dell/dcdbas.c:316 function parameter 'buf' not described in 'smi_request_store' Warning: ../drivers/platform/x86/dell/dcdbas.c:316 function parameter 'count' not described in 'smi_request_store' Warning: ../drivers/platform/x86/dell/dcdbas.c:615 function parameter 'nb' not described in 'dcdbas_reboot_notify' Warning: ../drivers/platform/x86/dell/dcdbas.c:615 function parameter 'code' not described in 'dcdbas_reboot_notify' Warning: ../drivers/platform/x86/dell/dcdbas.c:615 function parameter 'unused' not described in 'dcdbas_reboot_notify' Warning: ../drivers/rtc/rtc-omap.c:411 function parameter 'dev' not described in 'omap_rtc_power_off_program' ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch Warning: ../drivers/firmware/broadcom/bcm47xx_nvram.c:40 function parameter 'nvram' not described in 'bcm47xx_nvram_is_valid' Warning: ../drivers/firmware/broadcom/bcm47xx_nvram.c:48 function parameter 'nvram_start' not described in 'bcm47xx_nvram_copy' Warning: ../drivers/firmware/broadcom/bcm47xx_nvram.c:48 function parameter 'res_size' not described in 'bcm47xx_nvram_copy' Warning: ../drivers/firmware/broadcom/bcm47xx_nvram.c:72 function parameter 'flash_start' not described in 'bcm47xx_nvram_find_and_copy' Warning: ../drivers/firmware/broadcom/bcm47xx_nvram.c:72 function parameter 'res_size' not described in 'bcm47xx_nvram_find_and_copy' Warning: ../drivers/hv/channel.c:578 function parameter 'size' not described in 'request_arr_init' ../drivers/devfreq/event/exynos-ppmu.c:527:20: warning: cast to smaller integer type 'enum exynos_ppmu_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 527 | info->ppmu_type = (enum exynos_ppmu_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing0' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing1' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing2' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dmach' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'pio_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'addr_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'sg_io' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dma_read' not described in 'mxs_i2c_dev' Warning: ../drivers/thermal/max77620_thermal.c:47 function parameter 'tz' not described in 'max77620_thermal_read_temp' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'offset' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'irq_mask' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_up_coeff' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_down_coeff' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_up_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_down_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'avg_dependency_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'config' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'regs' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'avg_count' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'boost_freq' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'target_freq' not described in 'tegra_devfreq_device' ../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:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:350:22: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 350 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :103:1: note: expanded from here 103 | class_tt_zone_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/thermal/testing/zone.c:54:1: warning: unused function 'class_tt_zone_lock_err' [-Wunused-function] 54 | DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :107:1: note: expanded from here 107 | class_tt_zone_lock_err | ^~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ../drivers/staging/gpib/gpio/gpib_bitbang.c:1359:13: warning: unused function 'usec_diff' [-Wunused-function] 1359 | inline long usec_diff(struct timespec64 *a, struct timespec64 *b) | ^~~~~~~~~ 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. ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/firmware/turris-mox-rwtm.c:12: In file included from ../include/linux/completion.h:12: In file included from ../include/linux/swait.h:7: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../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/clocksource/timer-nxp-stm.c:80:1: warning: unused function 'class_stm_instances_lock_ptr' [-Wunused-function] 80 | DEFINE_GUARD(stm_instances, struct mutex *, mutex_lock(_T), mutex_unlock(_T)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:350:22: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 350 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :14:1: note: expanded from here 14 | class_stm_instances_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/clocksource/timer-nxp-stm.c:80:1: warning: unused function 'class_stm_instances_lock_err' [-Wunused-function] 80 | DEFINE_GUARD(stm_instances, struct mutex *, mutex_lock(_T), mutex_unlock(_T)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :18:1: note: expanded from here 18 | class_stm_instances_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ../drivers/gpu/drm/rockchip/cdn-dp-core.c:35:37: warning: unused function 'encoder_to_dp' [-Wunused-function] 35 | static inline struct cdn_dp_device *encoder_to_dp(struct drm_encoder *encoder) | ^~~~~~~~~~~~~ 1 warning generated. ../drivers/i2c/busses/i2c-rcar.c:1144:18: warning: cast to smaller integer type 'enum rcar_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1144 | priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/gpu/drm/gma500/framebuffer.c:34 function parameter 'info' not described in 'psb_framebuffer_init' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:101 function parameter 'info' not described in 'psb_user_framebuffer_create' ../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/ata/ahci_imx.c:872:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 872 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/ata/ahci_xgene.c:776:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 776 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. Warning: ../drivers/iio/industrialio-backend.c:727 function parameter 'chan' not described in 'iio_backend_oversampling_ratio_set' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2654 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../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. Warning: ../drivers/gpu/drm/msm/dp/dp_drm.c:24 function parameter 'connector' not described in 'msm_dp_bridge_detect' ../drivers/pwm/core.c:54:1: warning: unused function 'class_pwmchip_lock_err' [-Wunused-function] 54 | DEFINE_GUARD(pwmchip, struct pwm_chip *, pwmchip_lock(_T), pwmchip_unlock(_T)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :131:1: note: expanded from here 131 | class_pwmchip_lock_err | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../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. Warning: ../sound/usb/qcom/qc_audio_offload.c:1018 function parameter 'xfer_buf_cpu' not described in 'uaudio_transfer_buffer_setup' ../drivers/video/fbdev/neofb.c:145:20: warning: unused function 'write_le32' [-Wunused-function] 145 | static inline void write_le32(int regindex, u32 val, const struct neofb_par *par) | ^~~~~~~~~~ 1 warning generated. Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'boost_ctrl' not described in 'lm3692x_led' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'brightness_ctrl' not described in 'lm3692x_led' Warning: ../drivers/leds/leds-lm3692x.c:119 struct member 'enabled' not described in 'lm3692x_led' ../kernel/sched/core.c:6408:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6408 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6409 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6410 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6411 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:350:22: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 350 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :109:1: note: expanded from here 109 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/sched/core.c:6408:1: warning: unused function 'class_core_lock_lock_err' [-Wunused-function] 6408 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6409 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6410 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6411 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :113:1: note: expanded from here 113 | class_core_lock_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ../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-dev-common.c:19: 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-chip.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/tpm-dev.c:16: In file included from ../drivers/char/tpm/tpm-dev.h:6: 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:974:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 974 | u32 lo, hi; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm-interface.c:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm1-cmd.c:21: ../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/tpm2-cmd.c:14: 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/tpmrm-dev.c:6: In file included from ../drivers/char/tpm/tpm-dev.h:6: 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/tpm2-space.c:16: 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-sysfs.c:16: 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/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/tpm2-sessions.c:66: 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_ppi.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/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/efi.c:11: ../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_core.c:28: 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:693:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 693 | unsigned lo, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/generic.c:1061:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1061 | unsigned long config, dummy; | ^ 2 warnings 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_crb.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_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. In file included from ../drivers/char/tpm/tpm_i2c_atmel.c:23: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_i2c_infineon.c:21: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_i2c_nuvoton.c:24: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/pwm/pwm-twl-led.c:64:39: warning: unused function 'to_twl' [-Wunused-function] 64 | static inline struct twl_pwmled_chip *to_twl(struct pwm_chip *chip) | ^~~~~~ 1 warning generated. In file included from ../drivers/char/tpm/tpm_nsc.c:19: 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_atmel.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/tpm_infineon.c:16: 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/scsi/pm8001/pm8001_hwi.c:40: In file included from ../include/linux/slab.h:16: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/acpi/apei/ghes.c:20: In file included from ../include/linux/arm_sdei.h:8: In file included from ../include/acpi/ghes.h:5: In file included from ../include/acpi/apei.h:9: In file included from ../include/linux/acpi.h:13: In file included from ../include/linux/resource_ext.h:11: In file included from ../include/linux/slab.h:16: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../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. 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/tpm_vtpm_proxy.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_svsm.c: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/scsi/pm8001/pm80xx_hwi.c:40: In file included from ../include/linux/slab.h:16: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/char/tpm/st33zp24/st33zp24.c:22: 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/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. In file included from ../drivers/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../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. Warning: ../kernel/time/tick-oneshot.c:23 function parameter 'expires' not described in 'tick_program_event' Warning: ../kernel/time/tick-oneshot.c:23 function parameter 'force' not described in 'tick_program_event' Warning: ../kernel/time/tick-oneshot.c:63 function parameter 'newdev' not described in 'tick_setup_oneshot' Warning: ../kernel/time/tick-oneshot.c:63 function parameter 'handler' not described in 'tick_setup_oneshot' Warning: ../kernel/time/tick-oneshot.c:63 function parameter 'next_event' not described in 'tick_setup_oneshot' Warning: ../kernel/time/tick-oneshot.c:73 function parameter '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/matrox/g450_pll.c:412:18: warning: variable 'mnp' set but not used [-Wunused-but-set-variable] 412 | unsigned int mnp; | ^ 1 warning generated. ../drivers/video/fbdev/sis/sis_main.c:4542:5: warning: variable 'reg' set but not used [-Wunused-but-set-variable] 4542 | u8 reg; | ^ 1 warning generated. Warning: ../drivers/usb/dwc2/core_intr.c:341 function parameter '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/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/tty/serial/sh-sci.c:3343:19: warning: unused function 'sci_probe_earlyprintk' [-Wunused-function] 3343 | static inline int sci_probe_earlyprintk(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~~~ 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/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1119 | 0) > 10 ? | ^ 1120 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1121 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../sound/soc/sunxi/sun4i-spdif.c:179 struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' ../drivers/scsi/lpfc/lpfc_bsg.c:2819:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2819 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. ../drivers/usb/musb/musb_host.c:1489:19: warning: unused function 'musb_rx_dma_iso_cppi41' [-Wunused-function] 1489 | static inline int musb_rx_dma_iso_cppi41(struct dma_controller *dma, | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/i2c/busses/i2c-bcm-iproc.c:1102:3: warning: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1102 | (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/input/touchscreen/mms114.c:507:15: warning: cast to smaller integer type 'enum mms_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 507 | data->type = (enum mms_type)match_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/firmware/broadcom/bcm47xx_nvram.c:40 function parameter 'nvram' not described in 'bcm47xx_nvram_is_valid' Warning: ../drivers/firmware/broadcom/bcm47xx_nvram.c:48 function parameter 'nvram_start' not described in 'bcm47xx_nvram_copy' Warning: ../drivers/firmware/broadcom/bcm47xx_nvram.c:48 function parameter 'res_size' not described in 'bcm47xx_nvram_copy' Warning: ../drivers/firmware/broadcom/bcm47xx_nvram.c:72 function parameter 'flash_start' not described in 'bcm47xx_nvram_find_and_copy' Warning: ../drivers/firmware/broadcom/bcm47xx_nvram.c:72 function parameter 'res_size' not described in 'bcm47xx_nvram_find_and_copy' Warning: ../drivers/platform/x86/dell/dcdbas.c:103 function parameter 'size' not described in 'smi_data_buf_realloc' Warning: ../drivers/platform/x86/dell/dcdbas.c:284 function parameter 'smi_cmd' not described in 'dcdbas_smi_request' Warning: ../drivers/platform/x86/dell/dcdbas.c:316 function parameter 'dev' not described in 'smi_request_store' Warning: ../drivers/platform/x86/dell/dcdbas.c:316 function parameter 'attr' not described in 'smi_request_store' Warning: ../drivers/platform/x86/dell/dcdbas.c:316 function parameter 'buf' not described in 'smi_request_store' Warning: ../drivers/platform/x86/dell/dcdbas.c:316 function parameter 'count' not described in 'smi_request_store' Warning: ../drivers/platform/x86/dell/dcdbas.c:615 function parameter 'nb' not described in 'dcdbas_reboot_notify' Warning: ../drivers/platform/x86/dell/dcdbas.c:615 function parameter 'code' not described in 'dcdbas_reboot_notify' Warning: ../drivers/platform/x86/dell/dcdbas.c:615 function parameter 'unused' not described in 'dcdbas_reboot_notify' Warning: ../drivers/rtc/rtc-omap.c:411 function parameter 'dev' not described in 'omap_rtc_power_off_program' Warning: ../drivers/thermal/max77620_thermal.c:47 function parameter 'tz' not described in 'max77620_thermal_read_temp' ../drivers/devfreq/event/exynos-ppmu.c:527:20: warning: cast to smaller integer type 'enum exynos_ppmu_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 527 | info->ppmu_type = (enum exynos_ppmu_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/hv/channel.c:578 function parameter 'size' not described in 'request_arr_init' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing0' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing1' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing2' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dmach' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'pio_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'addr_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'sg_io' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dma_read' not described in 'mxs_i2c_dev' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'offset' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'irq_mask' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_up_coeff' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_down_coeff' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_up_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_down_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'avg_dependency_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'config' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'regs' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'avg_count' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'boost_freq' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'target_freq' not described in 'tegra_devfreq_device' ../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:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:350:22: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 350 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :103:1: note: expanded from here 103 | class_tt_zone_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/thermal/testing/zone.c:54:1: warning: unused function 'class_tt_zone_lock_err' [-Wunused-function] 54 | DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :107:1: note: expanded from here 107 | class_tt_zone_lock_err | ^~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. In file included from ../drivers/firmware/turris-mox-rwtm.c:12: In file included from ../include/linux/completion.h:12: In file included from ../include/linux/swait.h:7: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/staging/gpib/gpio/gpib_bitbang.c:1359:13: warning: unused function 'usec_diff' [-Wunused-function] 1359 | inline long usec_diff(struct timespec64 *a, struct timespec64 *b) | ^~~~~~~~~ 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. ../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/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/clocksource/timer-nxp-stm.c:80:1: warning: unused function 'class_stm_instances_lock_ptr' [-Wunused-function] 80 | DEFINE_GUARD(stm_instances, struct mutex *, mutex_lock(_T), mutex_unlock(_T)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:350:22: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 350 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :14:1: note: expanded from here 14 | class_stm_instances_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/clocksource/timer-nxp-stm.c:80:1: warning: unused function 'class_stm_instances_lock_err' [-Wunused-function] 80 | DEFINE_GUARD(stm_instances, struct mutex *, mutex_lock(_T), mutex_unlock(_T)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :18:1: note: expanded from here 18 | class_stm_instances_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ../drivers/gpu/drm/rockchip/cdn-dp-core.c:35:37: warning: unused function 'encoder_to_dp' [-Wunused-function] 35 | static inline struct cdn_dp_device *encoder_to_dp(struct drm_encoder *encoder) | ^~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/gpu/drm/gma500/framebuffer.c:34 function parameter 'info' not described in 'psb_framebuffer_init' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:101 function parameter 'info' not described in 'psb_user_framebuffer_create' ../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/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. Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' Warning: ../drivers/iio/industrialio-backend.c:727 function parameter 'chan' not described in 'iio_backend_oversampling_ratio_set' ../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/ata/ahci_imx.c:872:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 872 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/ata/ahci_xgene.c:776:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 776 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2654 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/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. Warning: ../drivers/gpu/drm/msm/dp/dp_drm.c:24 function parameter 'connector' not described in 'msm_dp_bridge_detect'