.pylintrc: warning: ignored by one of the .gitignore files ../drivers/phy/broadcom/phy-bcm-ns-usb3.c:206:17: warning: cast to smaller integer type 'enum bcm_ns_family' from 'const void *' [-Wvoid-pointer-to-enum-cast] 206 | usb3->family = (enum bcm_ns_family)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../arch/x86/events/intel/p4.c:1370:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1370 | unsigned int low, high; | ^ 1 warning generated. Warning: ../drivers/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:6453:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6453 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6454 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:406:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 406 | \ | ^ 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :139:1: note: expanded from here 139 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 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. Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' ../drivers/char/applicom.c:130:25: warning: variable 'byte_reset_it' set but not used [-Wunused-but-set-variable] 130 | volatile unsigned char byte_reset_it; | ^ ../drivers/char/applicom.c:542:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 542 | int ret = 0; | ^ ../drivers/char/applicom.c:705:25: warning: variable 'byte_reset_it' set but not used [-Wunused-but-set-variable] 705 | volatile unsigned char byte_reset_it; | ^ 3 warnings generated. ../arch/x86/kernel/process.c:952:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 952 | u32 lo, hi; | ^ 1 warning generated. ../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-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. Warning: ../drivers/virtio/virtio_dma_buf.c:41 function parameter 'dma_buf' not described in 'virtio_dma_buf_attach' Warning: ../drivers/virtio/virtio_dma_buf.c:41 function parameter 'attach' not described in 'virtio_dma_buf_attach' 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. Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' 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. Warning: ../drivers/tty/vt/ucs.c:218 function parameter 'cp' not described in 'ucs_get_fallback' Warning: ../drivers/tty/vt/ucs.c:218 Excess function parameter 'base' description in 'ucs_get_fallback' 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. ../drivers/video/fbdev/arkfb.c:321:20: warning: unused function 'dac_read_regs' [-Wunused-function] 321 | static inline void dac_read_regs(struct dac_info *info, u8 *code, int count) | ^~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/char/tpm/tpm_tis_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. Warning: ../sound/usb/qcom/qc_audio_offload.c:1018 function parameter 'xfer_buf_cpu' not described in 'uaudio_transfer_buffer_setup' Warning: ../sound/usb/qcom/qc_audio_offload.c:1018 Excess function parameter 'xfer_buf' description in 'uaudio_transfer_buffer_setup' 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. ../arch/x86/kernel/cpu/intel.c:555:20: warning: variable 'l2' set but not used [-Wunused-but-set-variable] 555 | unsigned int l1, l2; | ^ 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_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_i2c_nuvoton.c:24: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_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. 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' ../arch/x86/kernel/cpu/mtrr/mtrr.c:563:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 563 | unsigned long config, dummy; | ^ 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. Warning: ../drivers/firewire/init_ohci1394_dma.c:177 function parameter 'ohci' not described in 'init_ohci1394_wait_for_busresets' Warning: ../drivers/firewire/init_ohci1394_dma.c:195 function parameter 'ohci' not described in 'init_ohci1394_enable_physical_dma' Warning: ../drivers/firewire/init_ohci1394_dma.c:206 function parameter 'ohci' not described in 'init_ohci1394_reset_and_init_dma' Warning: ../drivers/firewire/init_ohci1394_dma.c:235 function parameter 'num' not described in 'init_ohci1394_controller' Warning: ../drivers/firewire/init_ohci1394_dma.c:235 function parameter 'slot' not described in 'init_ohci1394_controller' Warning: ../drivers/firewire/init_ohci1394_dma.c:235 function parameter 'func' not described in 'init_ohci1394_controller' Warning: ../drivers/firewire/init_ohci1394_dma.c:288 function parameter 'opt' not described in 'setup_ohci1394_dma' ../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_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/cleanup.c:673:33: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 673 | unsigned long base, size, def, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/cleanup.c:869:53: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 869 | unsigned long i, base, size, highest_pfn = 0, def, dummy; | ^ 2 warnings 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. Warning: ../drivers/tty/n_hdlc.c:139 struct member 'write_work' not described in 'n_hdlc' Warning: ../drivers/tty/n_hdlc.c:139 struct member 'tty_for_write_work' not described in 'n_hdlc' 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. ../drivers/message/fusion/mptsas.c:4791:17: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable] 4791 | unsigned long timeleft; | ^ 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/net/ethernet/8390/pcnet_cs.c:1169:9: warning: variable 'xfer_count' set but not used [-Wunused-but-set-variable] 1169 | int xfer_count = count; | ^ 1 warning generated. In file included from ../drivers/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: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_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. 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/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. ../drivers/scsi/qla1280.c:1712:15: warning: variable 'num' set but not used [-Wunused-but-set-variable] 1712 | int err = 0, num, i; | ^ 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/scsi/dc395x.c:2185:6: warning: variable 'fact' set but not used [-Wunused-but-set-variable] 2185 | int fact; | ^ 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/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. Warning: ../drivers/usb/dwc2/core_intr.c:341 function parameter 'remotewakeup' not described in 'dwc2_wakeup_from_lpm_l1' ../drivers/video/fbdev/riva/riva_hw.c:659:24: warning: variable 'pclks' set but not used [-Wunused-but-set-variable] 659 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^ 1 warning generated. ../drivers/video/fbdev/matrox/g450_pll.c:410:18: warning: variable 'mnp' set but not used [-Wunused-but-set-variable] 410 | unsigned int mnp; | ^ 1 warning generated. ../drivers/video/fbdev/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/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/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/usb/dwc2/hcd_ddma.c:555:16: warning: variable 'n_desc' set but not used [-Wunused-but-set-variable] 555 | u16 idx, inc, n_desc = 0, ntd_max = 0; | ^ 1 warning generated. ../drivers/video/fbdev/sis/sis_main.c:4558:5: warning: variable 'reg' set but not used [-Wunused-but-set-variable] 4558 | u8 reg; | ^ 1 warning generated. ../drivers/md/raid10.c:2441:7: warning: variable 'd' set but not used [-Wunused-but-set-variable] 2441 | int d; | ^ 1 warning generated. ../drivers/i2c/busses/i2c-bcm-iproc.c:1102:3: warning: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1102 | (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/tty/serial/sh-sci.c:3301:19: warning: unused function 'sci_probe_earlyprintk' [-Wunused-function] 3301 | static inline int sci_probe_earlyprintk(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/usb/host/xhci-sideband.c:286 function parameter 'imod_interval' not described in 'xhci_sideband_create_interrupter' Warning: ../drivers/usb/host/xhci-sideband.c:286 function parameter 'intr_num' not described in 'xhci_sideband_create_interrupter' Warning: ../drivers/usb/host/xhci-sideband.c:371 function parameter 'type' not described in 'xhci_sideband_register' Warning: ../drivers/usb/host/xhci-sideband.c:371 function parameter 'notify_client' not described in 'xhci_sideband_register' ../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. Warning: ../sound/soc/sdca/sdca_asoc.c:114 function parameter 'dev' not described in 'sdca_asoc_count_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1009 function parameter 'kctl' not described in 'sdca_asoc_populate_controls' Warning: ../sound/soc/sdca/sdca_asoc.c:1009 Excess function parameter 'route' description in 'sdca_asoc_populate_controls' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'component_drv' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'dai_drv' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'num_dai_drv' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'ops' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 Excess function parameter 'copmonent_drv' description in 'sdca_asoc_populate_component' ../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/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/thermal/max77620_thermal.c:47 Excess function parameter 'data' description in 'max77620_thermal_read_temp' ../drivers/scsi/aic7xxx/aic7xxx_core.c:4171:13: warning: variable 'data_addr' set but not used [-Wunused-but-set-variable] 4171 | uint32_t data_addr; | ^ 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/firmware/broadcom/tee_bnxt_fw.c:61 struct member 'fw_shm_pool' not described in 'tee_bnxt_fw_private' ../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. Warning: ../drivers/rtc/rtc-omap.c:411 function parameter 'dev' not described in 'omap_rtc_power_off_program' ../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:327:2: note: expanded from macro 'DEFINE_GUARD' 327 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:319:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 319 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :188:1: note: expanded from here 188 | class_tt_zone_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~ 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/scsi/aic7xxx/aic79xx_core.c:5694:13: warning: variable 'data_addr' set but not used [-Wunused-but-set-variable] 5694 | uint64_t data_addr; | ^ 1 warning generated. ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1119 | 0) > 10 ? | ^ 1120 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1121 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/staging/sm750fb/ddk750_swi2c.c:95:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 95 | int i, tmp; | ^ 1 warning generated. In file included from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. 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: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/staging/rtl8723bs/core/rtw_xmit.c:7: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/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-rcar.c:1144:18: warning: cast to smaller integer type 'enum rcar_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1144 | priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/scsi/qla2xxx/qla_init.c:6: In file included from ../drivers/scsi/qla2xxx/qla_def.h:12: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../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/hv/channel.c:577 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. ../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:327:2: note: expanded from macro 'DEFINE_GUARD' 327 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:319:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 319 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :80:1: note: expanded from here 80 | class_stm_instances_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' ../drivers/scsi/lpfc/lpfc_bsg.c:2819:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2819 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'stall' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'prot_stall' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'registered' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'suspended' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'connected' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'vbus_session' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'set_cfg_not_acked' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'waiting_zlp_ack' description in 'pch_udc_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' ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpmac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../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. In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/memory/emif.c:67 struct member 'lpmode' not described in 'emif_data' ../drivers/scsi/mpi3mr/mpi3mr_fw.c:1644:47: warning: variable 'scratch_pad0' set but not used [-Wunused-but-set-variable] 1644 | u32 host_diagnostic, ioc_status, ioc_config, scratch_pad0; | ^ 1 warning generated. Warning: ../drivers/scsi/mpi3mr/mpi3mr_app.c:808 Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_hdb' Warning: ../drivers/scsi/mpi3mr/mpi3mr_app.c:835 Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_all_hdb' Warning: ../drivers/android/binderfs.c:237 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'arg' not described in 'binder_ctl_ioctl' In file included from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/android/binder.c:2434 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2454 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4010 function parameter 'thread' not described in 'binder_free_buf' In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/scsi/mpt3sas/mpt3sas_ctl.c:2917:22: warning: variable 'mpi_reply' set but not used [-Wunused-but-set-variable] 2917 | MPI2DefaultReply_t *mpi_reply; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/rapidio/rio_cm.c:669:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 669 | int rc; | ^ 1 warning generated. Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' ../drivers/net/ethernet/natsemi/ns83820.c:1704:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1704 | int loops = 0; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. ../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/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/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:266 Excess struct member 'ping_work' description in 'panthor_fw' ../drivers/ata/ahci_imx.c:871:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 871 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'runnable' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'idle' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'waiting' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'has_ref' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'in_progress' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'stopped_groups' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'mem' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gpu_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'ref' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gt' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'sync64' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'bo' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'offset' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'kmap' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'lock' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'id' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'last_fence' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'in_flight_jobs' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slots' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slot_count' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:698 Excess struct member 'data' description in 'panthor_group' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'size' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'latest_flush' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'end' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'mask' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'slot' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2654 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../drivers/ata/ahci_xgene.c:779:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 779 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/rpmsg/qcom_smd.c:228 Excess struct member 'cb' description in 'qcom_smd_channel' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' In file included from ../drivers/net/ethernet/tehuti/tehuti.c:63: In file included from ../drivers/net/ethernet/tehuti/tehuti.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:68 Excess struct member 'kobj' description in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/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/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' .pylintrc: warning: ignored by one of the .gitignore files ../arch/x86/events/intel/p4.c:1370:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1370 | unsigned int low, high; | ^ 1 warning generated. ../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: ../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' Warning: ../drivers/virtio/virtio_dma_buf.c:41 function parameter 'dma_buf' not described in 'virtio_dma_buf_attach' Warning: ../drivers/virtio/virtio_dma_buf.c:41 function parameter 'attach' not described in 'virtio_dma_buf_attach' ../kernel/sched/core.c:6453:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6453 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6454 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:406:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 406 | \ | ^ 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :139:1: note: expanded from here 139 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../arch/x86/kernel/process.c:952:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 952 | u32 lo, hi; | ^ 1 warning generated. Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' ../drivers/video/fbdev/neofb.c:145:20: warning: unused function 'write_le32' [-Wunused-function] 145 | static inline void write_le32(int regindex, u32 val, const struct neofb_par *par) | ^~~~~~~~~~ 1 warning generated. In file included from ../drivers/char/tpm/tpm-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. ../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.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/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. ../arch/x86/kernel/cpu/intel.c:555:20: warning: variable 'l2' set but not used [-Wunused-but-set-variable] 555 | unsigned int l1, l2; | ^ 1 warning generated. ../drivers/char/applicom.c:130:25: warning: variable 'byte_reset_it' set but not used [-Wunused-but-set-variable] 130 | volatile unsigned char byte_reset_it; | ^ ../drivers/char/applicom.c:542:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 542 | int ret = 0; | ^ ../drivers/char/applicom.c:705:25: warning: variable 'byte_reset_it' set but not used [-Wunused-but-set-variable] 705 | volatile unsigned char byte_reset_it; | ^ 3 warnings 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. ../drivers/block/ublk_drv.c:1102:20: warning: unused function 'ubq_daemon_is_dying' [-Wunused-function] 1102 | static inline bool ubq_daemon_is_dying(struct ublk_queue *ubq) | ^~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/char/tpm/tpm_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. ../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/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/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/cpu/mtrr/mtrr.c:563:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 563 | unsigned long config, dummy; | ^ 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. Warning: ../drivers/tty/n_hdlc.c:139 struct member 'write_work' not described in 'n_hdlc' Warning: ../drivers/tty/n_hdlc.c:139 struct member 'tty_for_write_work' not described in 'n_hdlc' ../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_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. ../arch/x86/kernel/cpu/mtrr/cleanup.c:673:33: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 673 | unsigned long base, size, def, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/cleanup.c:869:53: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 869 | unsigned long i, base, size, highest_pfn = 0, def, dummy; | ^ 2 warnings 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_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. Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' In file included from ../drivers/char/tpm/tpm_tis_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. 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/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_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. Warning: ../drivers/firewire/init_ohci1394_dma.c:177 function parameter 'ohci' not described in 'init_ohci1394_wait_for_busresets' Warning: ../drivers/firewire/init_ohci1394_dma.c:195 function parameter 'ohci' not described in 'init_ohci1394_enable_physical_dma' Warning: ../drivers/firewire/init_ohci1394_dma.c:206 function parameter 'ohci' not described in 'init_ohci1394_reset_and_init_dma' Warning: ../drivers/firewire/init_ohci1394_dma.c:235 function parameter 'num' not described in 'init_ohci1394_controller' Warning: ../drivers/firewire/init_ohci1394_dma.c:235 function parameter 'slot' not described in 'init_ohci1394_controller' Warning: ../drivers/firewire/init_ohci1394_dma.c:235 function parameter 'func' not described in 'init_ohci1394_controller' Warning: ../drivers/firewire/init_ohci1394_dma.c:288 function parameter 'opt' not described in 'setup_ohci1394_dma' 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. ../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. 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/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: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/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/message/fusion/mptsas.c:4791:17: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable] 4791 | unsigned long timeleft; | ^ 1 warning generated. ../drivers/scsi/qla1280.c:1712:15: warning: variable 'num' set but not used [-Wunused-but-set-variable] 1712 | int err = 0, num, i; | ^ 1 warning generated. ../drivers/net/ethernet/8390/pcnet_cs.c:1169:9: warning: variable 'xfer_count' set but not used [-Wunused-but-set-variable] 1169 | int xfer_count = count; | ^ 1 warning generated. ../drivers/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/scsi/dc395x.c:2185:6: warning: variable 'fact' set but not used [-Wunused-but-set-variable] 2185 | int fact; | ^ 1 warning generated. ../drivers/video/fbdev/riva/riva_hw.c:659:24: warning: variable 'pclks' set but not used [-Wunused-but-set-variable] 659 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^ 1 warning generated. ../drivers/video/fbdev/matrox/g450_pll.c:410:18: warning: variable 'mnp' set but not used [-Wunused-but-set-variable] 410 | unsigned int mnp; | ^ 1 warning generated. ../drivers/md/raid10.c:2440:7: warning: variable 'd' set but not used [-Wunused-but-set-variable] 2440 | int d; | ^ 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. Warning: ../drivers/usb/dwc2/core_intr.c:341 function parameter 'remotewakeup' not described in 'dwc2_wakeup_from_lpm_l1' ../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/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. Warning: ../drivers/usb/host/xhci.c:1368 function parameter 'desc' not described in 'xhci_get_endpoint_index' ../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/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/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: ../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/firmware/broadcom/tee_bnxt_fw.c:61 struct member 'fw_shm_pool' not described in 'tee_bnxt_fw_private' In file included from ../drivers/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../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. Warning: ../sound/soc/sdca/sdca_asoc.c:114 function parameter 'dev' not described in 'sdca_asoc_count_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1009 function parameter 'kctl' not described in 'sdca_asoc_populate_controls' Warning: ../sound/soc/sdca/sdca_asoc.c:1009 Excess function parameter 'route' description in 'sdca_asoc_populate_controls' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'component_drv' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'dai_drv' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'num_dai_drv' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'ops' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 Excess function parameter 'copmonent_drv' description in 'sdca_asoc_populate_component' Warning: ../drivers/thermal/max77620_thermal.c:47 function parameter 'tz' not described in 'max77620_thermal_read_temp' Warning: ../drivers/thermal/max77620_thermal.c:47 Excess function parameter 'data' description in 'max77620_thermal_read_temp' ../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:327:2: note: expanded from macro 'DEFINE_GUARD' 327 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:319:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 319 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :188:1: note: expanded from here 188 | class_tt_zone_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~ 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/i2c/busses/i2c-mxs.c:129 struct member 'timing0' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing1' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing2' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dmach' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'pio_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'addr_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'sg_io' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dma_read' not described in 'mxs_i2c_dev' ../drivers/scsi/aic7xxx/aic7xxx_core.c:4171:13: warning: variable 'data_addr' set but not used [-Wunused-but-set-variable] 4171 | uint32_t data_addr; | ^ 1 warning generated. In file included from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1939:13: warning: variable 'drop_cnt' set but not used [-Wunused-but-set-variable] 1939 | static u32 drop_cnt; | ^ In file included from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 2 warnings generated. Warning: ../drivers/rtc/rtc-omap.c:411 function parameter 'dev' not described in 'omap_rtc_power_off_program' ../drivers/staging/rtl8723bs/hal/hal_com.c:893:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] 893 | u32 res, i = 0; | ^ 1 warning generated. ../drivers/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/staging/sm750fb/ddk750_swi2c.c:95:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 95 | int i, tmp; | ^ 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:327:2: note: expanded from macro 'DEFINE_GUARD' 327 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:319:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 319 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :80:1: note: expanded from here 80 | class_stm_instances_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/scsi/aic7xxx/aic79xx_core.c:5694:13: warning: variable 'data_addr' set but not used [-Wunused-but-set-variable] 5694 | uint64_t data_addr; | ^ 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. 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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/scsi/qla2xxx/qla_init.c:6: In file included from ../drivers/scsi/qla2xxx/qla_def.h:12: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1119 | 0) > 10 ? | ^ 1120 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1121 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/hv/channel.c:577 function parameter 'size' not described in 'request_arr_init' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../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/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' Warning: ../drivers/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/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/usb/gadget/udc/pch_udc.c:359 Excess struct member 'stall' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'prot_stall' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'registered' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'suspended' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'connected' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'vbus_session' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'set_cfg_not_acked' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'waiting_zlp_ack' description in 'pch_udc_dev' ../drivers/staging/gpib/cb7210/cb7210.c:1249:24: warning: variable 'handle' set but not used [-Wunused-but-set-variable] 1249 | struct pcmcia_device *handle; | ^ ../drivers/staging/gpib/cb7210/cb7210.c:1250:21: warning: variable 'dev' set but not used [-Wunused-but-set-variable] 1250 | struct local_info *dev; | ^ 2 warnings generated. Warning: ../drivers/memory/emif.c:67 struct member 'lpmode' not described in 'emif_data' Warning: ../drivers/android/binderfs.c:237 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'arg' not described in 'binder_ctl_ioctl' Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' ../drivers/staging/gpib/gpio/gpib_bitbang.c:1361:13: warning: unused function 'usec_diff' [-Wunused-function] 1361 | inline long usec_diff(struct timespec64 *a, struct timespec64 *b) | ^~~~~~~~~ 1 warning generated. Warning: ../drivers/android/binder.c:2432 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2432 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2452 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2452 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4012 function parameter 'thread' not described in 'binder_free_buf' ../drivers/staging/gpib/ines/ines_gpib.c:1112:21: warning: variable 'dev' set but not used [-Wunused-but-set-variable] 1112 | struct local_info *dev; | ^ 1 warning generated. ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpmac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../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/scsi/mpt3sas/mpt3sas_ctl.c:2917:22: warning: variable 'mpi_reply' set but not used [-Wunused-but-set-variable] 2917 | MPI2DefaultReply_t *mpi_reply; | ^ 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/rapidio/rio_cm.c:669:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 669 | int rc; | ^ 1 warning generated. In file included from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/scsi/mpi3mr/mpi3mr_app.c:808 Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_hdb' Warning: ../drivers/scsi/mpi3mr/mpi3mr_app.c:835 Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_all_hdb' ../drivers/scsi/mpi3mr/mpi3mr_fw.c:1644:47: warning: variable 'scratch_pad0' set but not used [-Wunused-but-set-variable] 1644 | u32 host_diagnostic, ioc_status, ioc_config, scratch_pad0; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/ata/ahci_imx.c:871:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 871 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. ../drivers/ata/ahci_xgene.c:779:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 779 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/net/ethernet/natsemi/ns83820.c:1704:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1704 | int loops = 0; | ^ 1 warning generated. ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../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/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:266 Excess struct member 'ping_work' description in 'panthor_fw' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'runnable' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'idle' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'waiting' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'has_ref' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'in_progress' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'stopped_groups' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'mem' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gpu_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'ref' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gt' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'sync64' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'bo' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'offset' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'kmap' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'lock' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'id' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'last_fence' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'in_flight_jobs' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slots' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slot_count' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:698 Excess struct member 'data' description in 'panthor_group' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'size' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'latest_flush' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'end' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'mask' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'slot' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2654 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/tehuti/tehuti.c:63: In file included from ../drivers/net/ethernet/tehuti/tehuti.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' ../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/rpmsg/qcom_smd.c:228 Excess struct member 'cb' description in 'qcom_smd_channel' ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/mux/adgs1408.c:62:12: warning: cast to smaller integer type 'enum adgs1408_chip_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 62 | chip_id = (enum adgs1408_chip_id)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:68 Excess struct member 'kobj' description in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/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/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' .pylintrc: warning: ignored by one of the .gitignore files ../arch/x86/events/intel/p4.c:1370:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1370 | unsigned int low, high; | ^ 1 warning generated. ../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: ../drivers/virtio/virtio_dma_buf.c:41 function parameter 'dma_buf' not described in 'virtio_dma_buf_attach' Warning: ../drivers/virtio/virtio_dma_buf.c:41 function parameter 'attach' not described in 'virtio_dma_buf_attach' 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. 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-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/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/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/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-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. Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' ../arch/x86/kernel/process.c:952:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 952 | u32 lo, hi; | ^ 1 warning generated. In file included from ../drivers/char/tpm/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. ../kernel/sched/core.c:6453:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6453 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6454 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:406:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 406 | \ | ^ 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :139:1: note: expanded from here 139 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/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' Warning: ../sound/usb/qcom/qc_audio_offload.c:1018 function parameter 'xfer_buf_cpu' not described in 'uaudio_transfer_buffer_setup' Warning: ../sound/usb/qcom/qc_audio_offload.c:1018 Excess function parameter 'xfer_buf' description in 'uaudio_transfer_buffer_setup' 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. ../drivers/char/applicom.c:130:25: warning: variable 'byte_reset_it' set but not used [-Wunused-but-set-variable] 130 | volatile unsigned char byte_reset_it; | ^ ../drivers/char/applicom.c:542:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 542 | int ret = 0; | ^ ../drivers/char/applicom.c:705:25: warning: variable 'byte_reset_it' set but not used [-Wunused-but-set-variable] 705 | volatile unsigned char byte_reset_it; | ^ 3 warnings 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. Warning: ../drivers/tty/vt/ucs.c:218 function parameter 'cp' not described in 'ucs_get_fallback' Warning: ../drivers/tty/vt/ucs.c:218 Excess function parameter 'base' description in 'ucs_get_fallback' In file included from ../drivers/char/tpm/eventlog/of.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/video/fbdev/arkfb.c:321:20: warning: unused function 'dac_read_regs' [-Wunused-function] 321 | static inline void dac_read_regs(struct dac_info *info, u8 *code, int count) | ^~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/char/tpm/tpm_tis_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. Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' 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. ../arch/x86/kernel/cpu/intel.c:555:20: warning: variable 'l2' set but not used [-Wunused-but-set-variable] 555 | unsigned int l1, l2; | ^ 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. Warning: ../drivers/tty/n_hdlc.c:139 struct member 'write_work' not described in 'n_hdlc' Warning: ../drivers/tty/n_hdlc.c:139 struct member 'tty_for_write_work' not described in 'n_hdlc' In file included from ../drivers/char/tpm/tpm_i2c_nuvoton.c:24: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/tpm_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/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. ../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. ../arch/x86/kernel/cpu/mtrr/mtrr.c:563:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 563 | unsigned long config, dummy; | ^ 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. ../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/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. ../arch/x86/kernel/cpu/mtrr/cleanup.c:673:33: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 673 | unsigned long base, size, def, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/cleanup.c:869:53: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 869 | unsigned long i, base, size, highest_pfn = 0, def, dummy; | ^ 2 warnings 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/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. 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/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/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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/firewire/init_ohci1394_dma.c:177 function parameter 'ohci' not described in 'init_ohci1394_wait_for_busresets' Warning: ../drivers/firewire/init_ohci1394_dma.c:195 function parameter 'ohci' not described in 'init_ohci1394_enable_physical_dma' Warning: ../drivers/firewire/init_ohci1394_dma.c:206 function parameter 'ohci' not described in 'init_ohci1394_reset_and_init_dma' Warning: ../drivers/firewire/init_ohci1394_dma.c:235 function parameter 'num' not described in 'init_ohci1394_controller' Warning: ../drivers/firewire/init_ohci1394_dma.c:235 function parameter 'slot' not described in 'init_ohci1394_controller' Warning: ../drivers/firewire/init_ohci1394_dma.c:235 function parameter 'func' not described in 'init_ohci1394_controller' Warning: ../drivers/firewire/init_ohci1394_dma.c:288 function parameter 'opt' not described in 'setup_ohci1394_dma' ../drivers/scsi/qla1280.c:1712:15: warning: variable 'num' set but not used [-Wunused-but-set-variable] 1712 | int err = 0, num, i; | ^ 1 warning generated. ../drivers/scsi/dc395x.c:2185:6: warning: variable 'fact' set but not used [-Wunused-but-set-variable] 2185 | int fact; | ^ 1 warning generated. ../drivers/message/fusion/mptsas.c:4791:17: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable] 4791 | unsigned long timeleft; | ^ 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/net/ethernet/8390/pcnet_cs.c:1169:9: warning: variable 'xfer_count' set but not used [-Wunused-but-set-variable] 1169 | int xfer_count = count; | ^ 1 warning generated. ../drivers/input/keyboard/bcm-keypad.c:166:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 166 | u32 val; | ^ 1 warning generated. ../drivers/video/fbdev/matrox/g450_pll.c:410:18: warning: variable 'mnp' set but not used [-Wunused-but-set-variable] 410 | unsigned int mnp; | ^ 1 warning generated. ../drivers/video/fbdev/riva/riva_hw.c:659:24: warning: variable 'pclks' set but not used [-Wunused-but-set-variable] 659 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^ 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/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. ../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/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. Warning: ../sound/soc/sdca/sdca_asoc.c:114 function parameter 'dev' not described in 'sdca_asoc_count_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1009 function parameter 'kctl' not described in 'sdca_asoc_populate_controls' Warning: ../sound/soc/sdca/sdca_asoc.c:1009 Excess function parameter 'route' description in 'sdca_asoc_populate_controls' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'component_drv' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'dai_drv' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'num_dai_drv' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 function parameter 'ops' not described in 'sdca_asoc_populate_component' Warning: ../sound/soc/sdca/sdca_asoc.c:1257 Excess function parameter 'copmonent_drv' description in 'sdca_asoc_populate_component' Warning: ../drivers/usb/dwc2/core_intr.c:341 function parameter 'remotewakeup' not described in 'dwc2_wakeup_from_lpm_l1' ../drivers/tty/serial/sh-sci.c:3301:19: warning: unused function 'sci_probe_earlyprintk' [-Wunused-function] 3301 | 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. In file included from ../drivers/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/i2c/busses/i2c-bcm-iproc.c:1102:3: warning: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1102 | (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/scsi/aic7xxx/aic7xxx_core.c:4171:13: warning: variable 'data_addr' set but not used [-Wunused-but-set-variable] 4171 | uint32_t data_addr; | ^ 1 warning generated. Warning: ../sound/soc/sunxi/sun4i-spdif.c:179 struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' Warning: ../drivers/usb/host/xhci-sideband.c:286 function parameter 'imod_interval' not described in 'xhci_sideband_create_interrupter' Warning: ../drivers/usb/host/xhci-sideband.c:286 function parameter 'intr_num' not described in 'xhci_sideband_create_interrupter' Warning: ../drivers/usb/host/xhci-sideband.c:371 function parameter 'type' not described in 'xhci_sideband_register' Warning: ../drivers/usb/host/xhci-sideband.c:371 function parameter 'notify_client' not described in 'xhci_sideband_register' ../drivers/scsi/aic7xxx/aic79xx_core.c:5694:13: warning: variable 'data_addr' set but not used [-Wunused-but-set-variable] 5694 | uint64_t data_addr; | ^ 1 warning generated. ../drivers/md/raid10.c:2441:7: warning: variable 'd' set but not used [-Wunused-but-set-variable] 2441 | int d; | ^ 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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/scsi/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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/input/touchscreen/mms114.c:507:15: warning: cast to smaller integer type 'enum mms_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 507 | data->type = (enum mms_type)match_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/scsi/qla2xxx/qla_init.c:6: In file included from ../drivers/scsi/qla2xxx/qla_def.h:12: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing0' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing1' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing2' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dmach' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'pio_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'addr_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'sg_io' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dma_read' not described in 'mxs_i2c_dev' ../drivers/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-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. Warning: ../drivers/thermal/max77620_thermal.c:47 function parameter 'tz' not described in 'max77620_thermal_read_temp' Warning: ../drivers/thermal/max77620_thermal.c:47 Excess function parameter 'data' description in 'max77620_thermal_read_temp' Warning: ../drivers/rtc/rtc-omap.c:411 function parameter 'dev' not described in 'omap_rtc_power_off_program' Warning: ../drivers/scsi/mpi3mr/mpi3mr_app.c:808 Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_hdb' Warning: ../drivers/scsi/mpi3mr/mpi3mr_app.c:835 Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_all_hdb' ../drivers/scsi/mpi3mr/mpi3mr_fw.c:1644:47: warning: variable 'scratch_pad0' set but not used [-Wunused-but-set-variable] 1644 | u32 host_diagnostic, ioc_status, ioc_config, scratch_pad0; | ^ 1 warning generated. ../drivers/scsi/mpt3sas/mpt3sas_ctl.c:2917:22: warning: variable 'mpi_reply' set but not used [-Wunused-but-set-variable] 2917 | MPI2DefaultReply_t *mpi_reply; | ^ 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/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:327:2: note: expanded from macro 'DEFINE_GUARD' 327 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:319:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 319 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :188:1: note: expanded from here 188 | class_tt_zone_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~ 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. 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/firmware/broadcom/tee_bnxt_fw.c:61 struct member 'fw_shm_pool' not described in 'tee_bnxt_fw_private' In file included from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/i2c/busses/i2c-rcar.c:1144:18: warning: cast to smaller integer type 'enum rcar_i2c_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1144 | priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/gpu/drm/vc4/vc4_drv.c:301:8: warning: cast to smaller integer type 'enum vc4_gen' from 'const void *' [-Wvoid-pointer-to-enum-cast] 301 | gen = (enum vc4_gen)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 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/usb/gadget/udc/pch_udc.c:359 Excess struct member 'stall' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'prot_stall' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'registered' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'suspended' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'connected' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'vbus_session' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'set_cfg_not_acked' description in 'pch_udc_dev' Warning: ../drivers/usb/gadget/udc/pch_udc.c:359 Excess struct member 'waiting_zlp_ack' description in 'pch_udc_dev' Warning: ../drivers/hv/channel.c:577 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. ../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:327:2: note: expanded from macro 'DEFINE_GUARD' 327 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:319:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 319 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :80:1: note: expanded from here 80 | class_stm_instances_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpmac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/staging/sm750fb/ddk750_swi2c.c:95:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 95 | int i, tmp; | ^ 1 warning generated. In file included from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:102: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/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' In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/natsemi/ns83820.c:1704:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1704 | int loops = 0; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. Warning: ../drivers/memory/emif.c:67 struct member 'lpmode' not described in 'emif_data' ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' Warning: ../drivers/android/binderfs.c:237 function parameter 'file' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'cmd' not described in 'binder_ctl_ioctl' Warning: ../drivers/android/binderfs.c:237 function parameter 'arg' not described in 'binder_ctl_ioctl' ../drivers/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/android/binder.c:2434 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2454 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4010 function parameter 'thread' not described in 'binder_free_buf' Warning: ../drivers/hid/hid-logitech-hidpp.c:178 Excess struct member 'dev' description in 'hidpp_scroll_counter' ../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. Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:139 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:196 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:266 Excess struct member 'ping_work' description in 'panthor_fw' ../drivers/net/ethernet/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/tehuti/tehuti.c:63: In file included from ../drivers/net/ethernet/tehuti/tehuti.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'runnable' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'idle' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'waiting' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'has_ref' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'in_progress' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:317 Excess struct member 'stopped_groups' description in 'panthor_scheduler' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'mem' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'input_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'output_fw_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gpu_va' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'ref' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'gt' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'sync64' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'bo' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'offset' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'kmap' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'lock' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'id' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'last_fence' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'in_flight_jobs' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slots' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'slot_count' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:489 Excess struct member 'seqno' description in 'panthor_queue' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:698 Excess struct member 'data' description in 'panthor_group' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'size' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'latest_flush' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'start' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'end' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'mask' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:834 Excess struct member 'slot' description in 'panthor_job' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1761 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2654 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/rapidio/rio_cm.c:669:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 669 | int rc; | ^ 1 warning generated. ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/ata/ahci_imx.c:871:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 871 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/rpmsg/qcom_smd.c:228 Excess struct member 'cb' description in 'qcom_smd_channel' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' ../drivers/ata/ahci_xgene.c:779:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 779 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:68 Excess struct member 'kobj' description in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/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.