========== build_clang - FAILED ../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/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. ../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. ../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/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. ../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. ../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:408:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 408 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 409 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:387:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 387 | \ | ^ 388 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:295:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 295 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :139:1: note: expanded from here 139 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 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. ../arch/x86/kernel/process.c:960:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 960 | 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/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/tpm2-sessions.c:71: 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/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/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/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' ../drivers/acpi/property.c:1680:1: error: incompatible function pointer types initializing 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' with an expression of type 'int (const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Wincompatible-function-pointer-types] 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:25: note: expanded from macro 'DECLARE_ACPI_FWNODE_OPS' 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: error: incompatible function pointer types initializing 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' with an expression of type 'int (const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Wincompatible-function-pointer-types] 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:25: note: expanded from macro 'DECLARE_ACPI_FWNODE_OPS' 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/acpi/property.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: drivers/acpi] Error 2 make[4]: *** Waiting for unfinished jobs.... 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. ../drivers/gpu/drm/imx/dcss/dcss-scaler.c:174: warning: Function parameter or struct member 'phase0_identity' not described in 'dcss_scaler_gaussian_filter' ../drivers/gpu/drm/imx/dcss/dcss-scaler.c:271: warning: Function parameter or struct member 'phase0_identity' not described in 'dcss_scaler_filter_design' ../drivers/gpu/drm/imx/dcss/dcss-scaler.c:271: warning: Function parameter or struct member 'nn_interpolation' not described in 'dcss_scaler_filter_design' 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/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/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_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_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/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:6: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_i2c_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_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. ../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_i2c_infineon.c:21: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/block/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' 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/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_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. ../arch/x86/kernel/apic/apic.c:2140: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2140: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead 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/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. ../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/iommu/mtk_iommu_v1.c:512:28: warning: variable 'mtk_mapping' set but not used [-Wunused-but-set-variable] 512 | struct dma_iommu_mapping *mtk_mapping; | ^ 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. ../drivers/misc/vmw_balloon.c:260: warning: Function parameter or struct member '5' not described in 'vmballoon_batch_entry' ../drivers/misc/vmw_balloon.c:260: warning: Excess struct member 'reserved' description in 'vmballoon_batch_entry' ../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:27:16: warning: unused function 'dchan2dev' [-Wunused-function] 27 | struct device *dchan2dev(struct dma_chan *dchan) | ^~~~~~~~~ ../drivers/dma/dw-edma/dw-edma-core.c:33:16: warning: unused function 'chan2dev' [-Wunused-function] 33 | struct device *chan2dev(struct dw_edma_chan *chan) | ^~~~~~~~ 2 warnings 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. ../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/sh-sci.c:3242:19: warning: unused function 'sci_probe_earlyprintk' [-Wunused-function] 3242 | static inline int sci_probe_earlyprintk(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../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/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. ../sound/soc/sunxi/sun4i-spdif.c:180: warning: Function parameter or struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' ../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/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/gpu/drm/drm_gpusvm.c:466: warning: Function parameter or struct member 'gpusvm__' not described in 'drm_gpusvm_for_each_notifier' ../drivers/gpu/drm/drm_gpusvm.c:483: warning: Function parameter or struct member 'gpusvm__' not described in 'drm_gpusvm_for_each_notifier_safe' ../drivers/gpu/drm/drm_gpusvm.c:2082: warning: Function parameter or struct member 'gpusvm' not described in 'drm_gpusvm_range_evict' ../drivers/gpu/drm/drm_gpusvm.c:2239: warning: Function parameter or struct member 'devmem_allocation' not described in 'drm_gpusvm_devmem_init' ../drivers/regulator/pf9453-regulator.c:304: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * pf9453_regulator_enable_regmap for regmap users ../drivers/regulator/pf9453-regulator.c:329: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * pf9453_regulator_disable_regmap for regmap users ../drivers/regulator/pf9453-regulator.c:354: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * pf9453_regulator_set_voltage_sel_regmap for regmap users ../drivers/regulator/pf9453-regulator.c:421: warning: Function parameter or struct member 'ramp_delay' not described in 'pf9453_regulator_set_ramp_delay_regmap' ../drivers/gpu/drm/ttm/ttm_bo.c:1098: warning: Function parameter or struct member 'hit_low' not described in 'ttm_bo_swapout_walk' ../drivers/gpu/drm/ttm/ttm_bo.c:1098: warning: Function parameter or struct member 'evict_low' not described in 'ttm_bo_swapout_walk' ../drivers/gpu/drm/scheduler/sched_main.c:397: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done' ../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/gpu/drm/radeon/radeon_cs.c:418: warning: Excess function parameter 'backoff' description in 'radeon_cs_parser_fini' ../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/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:267: warning: Excess struct member 'ping_work' description in 'panthor_fw' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'runnable' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'idle' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'waiting' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'has_ref' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'in_progress' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'stopped_groups' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'mem' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'input' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'output' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'input_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'output_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'gpu_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'ref' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'gt' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'sync64' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'bo' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'offset' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'kmap' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'lock' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'id' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'last_fence' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'in_flight_jobs' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'slots' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'slot_count' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:699: warning: Excess struct member 'data' description in 'panthor_group' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'size' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'latest_flush' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'end' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'mask' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'slot' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:1762: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:1762: warning: Function parameter or struct member 'events' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:2655: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c:549: warning: Function parameter or struct member 'adev' not described in 'amdgpu_sdma_register_on_reset_callbacks' ../sound/soc/codecs/tas2764.c:762:19: warning: cast to smaller integer type 'enum tas2764_devid' from 'const void *' [-Wvoid-pointer-to-enum-cast] 762 | tas2764->devid = (enum tas2764_devid)of_device_get_match_data(&client->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1997: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../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/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. ../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. ../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/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-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. ../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/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. ../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. ../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:408:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 408 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 409 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:387:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 387 | \ | ^ 388 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:295:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 295 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :139:1: note: expanded from here 139 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 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. ../arch/x86/kernel/process.c:960:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 960 | u32 lo, hi; | ^ 1 warning generated. ../drivers/acpi/property.c:1680:1: error: incompatible function pointer types initializing 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' with an expression of type 'int (const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Wincompatible-function-pointer-types] 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:25: note: expanded from macro 'DECLARE_ACPI_FWNODE_OPS' 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: error: incompatible function pointer types initializing 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' with an expression of type 'int (const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Wincompatible-function-pointer-types] 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:25: note: expanded from macro 'DECLARE_ACPI_FWNODE_OPS' 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/acpi/property.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: drivers/acpi] Error 2 make[4]: *** Waiting for unfinished jobs.... 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:71: 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. 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. ../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_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. ../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_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. ../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/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. ../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' ../arch/x86/kernel/apic/apic.c:2140: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2140: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead 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. ../drivers/iommu/mtk_iommu_v1.c:512:28: warning: variable 'mtk_mapping' set but not used [-Wunused-but-set-variable] 512 | struct dma_iommu_mapping *mtk_mapping; | ^ 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/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. ../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/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. 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. ../drivers/video/fbdev/matrox/g450_pll.c:410:18: warning: variable 'mnp' set but not used [-Wunused-but-set-variable] 410 | unsigned int mnp; | ^ 1 warning generated. In file included from ../drivers/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/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/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. ../sound/soc/sunxi/sun4i-spdif.c:180: warning: Function parameter or struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' ../drivers/dma/dw-edma/dw-edma-core.c:27:16: warning: unused function 'dchan2dev' [-Wunused-function] 27 | struct device *dchan2dev(struct dma_chan *dchan) | ^~~~~~~~~ ../drivers/dma/dw-edma/dw-edma-core.c:33:16: warning: unused function 'chan2dev' [-Wunused-function] 33 | struct device *chan2dev(struct dw_edma_chan *chan) | ^~~~~~~~ 2 warnings 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/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/tty/serial/sh-sci.c:3242:19: warning: unused function 'sci_probe_earlyprintk' [-Wunused-function] 3242 | static inline int sci_probe_earlyprintk(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~~~ 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/regulator/pf9453-regulator.c:304: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * pf9453_regulator_enable_regmap for regmap users ../drivers/regulator/pf9453-regulator.c:329: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * pf9453_regulator_disable_regmap for regmap users ../drivers/regulator/pf9453-regulator.c:354: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * pf9453_regulator_set_voltage_sel_regmap for regmap users ../drivers/regulator/pf9453-regulator.c:421: warning: Function parameter or struct member 'ramp_delay' not described in 'pf9453_regulator_set_ramp_delay_regmap' ../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/gpu/drm/radeon/radeon_cs.c:418: warning: Excess function parameter 'backoff' description in 'radeon_cs_parser_fini' ../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:267: warning: Excess struct member 'ping_work' description in 'panthor_fw' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'runnable' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'idle' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'waiting' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'has_ref' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'in_progress' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:318: warning: Excess struct member 'stopped_groups' description in 'panthor_scheduler' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'mem' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'input' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'output' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'input_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'output_fw_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'gpu_va' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'ref' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'gt' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'sync64' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'bo' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'offset' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'kmap' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'lock' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'id' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'last_fence' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'in_flight_jobs' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'slots' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'slot_count' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:490: warning: Excess struct member 'seqno' description in 'panthor_queue' ../drivers/gpu/drm/panthor/panthor_sched.c:699: warning: Excess struct member 'data' description in 'panthor_group' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'size' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'latest_flush' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'start' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'end' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'mask' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:835: warning: Excess struct member 'slot' description in 'panthor_job' ../drivers/gpu/drm/panthor/panthor_sched.c:1762: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:1762: warning: Function parameter or struct member 'events' not described in 'panthor_sched_report_fw_events' ../drivers/gpu/drm/panthor/panthor_sched.c:2655: warning: Function parameter or struct member 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c:549: warning: Function parameter or struct member 'adev' not described in 'amdgpu_sdma_register_on_reset_callbacks' ../sound/soc/codecs/tas2764.c:762:19: warning: cast to smaller integer type 'enum tas2764_devid' from 'const void *' [-Wvoid-pointer-to-enum-cast] 762 | tas2764->devid = (enum tas2764_devid)of_device_get_match_data(&client->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1997: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2