../drivers/char/applicom.c: In function ‘ac_register_board’: ../drivers/char/applicom.c:130:32: warning: variable ‘byte_reset_it’ set but not used [-Wunused-but-set-variable] 130 | volatile unsigned char byte_reset_it; | ^~~~~~~~~~~~~ ../drivers/char/applicom.c: In function ‘ac_read’: ../drivers/char/applicom.c:542:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 542 | int ret = 0; | ^~~ ../drivers/char/applicom.c: In function ‘ac_ioctl’: ../drivers/char/applicom.c:705:32: warning: variable ‘byte_reset_it’ set but not used [-Wunused-but-set-variable] 705 | volatile unsigned char byte_reset_it; | ^~~~~~~~~~~~~ ../drivers/dma/xilinx/xdma.c:76: warning: Function parameter or struct member 'last_interrupt' not described in 'xdma_chan' ../drivers/dma/xilinx/xdma.c:76: warning: Function parameter or struct member 'stop_requested' not described in 'xdma_chan' ../drivers/char/sonypi.c: In function ‘sonypi_call1’: ../drivers/char/sonypi.c:637:12: warning: variable ‘v1’ set but not used [-Wunused-but-set-variable] 637 | u8 v1, v2; | ^~ ../drivers/firewire/init_ohci1394_dma.c:178: warning: Function parameter or struct member 'ohci' not described in 'init_ohci1394_wait_for_busresets' ../drivers/firewire/init_ohci1394_dma.c:196: warning: Function parameter or struct member 'ohci' not described in 'init_ohci1394_enable_physical_dma' ../drivers/firewire/init_ohci1394_dma.c:207: warning: Function parameter or struct member 'ohci' not described in 'init_ohci1394_reset_and_init_dma' ../drivers/firewire/init_ohci1394_dma.c:236: warning: Function parameter or struct member 'num' not described in 'init_ohci1394_controller' ../drivers/firewire/init_ohci1394_dma.c:236: warning: Function parameter or struct member 'slot' not described in 'init_ohci1394_controller' ../drivers/firewire/init_ohci1394_dma.c:236: warning: Function parameter or struct member 'func' not described in 'init_ohci1394_controller' ../drivers/firewire/init_ohci1394_dma.c:289: warning: Function parameter or struct member 'opt' not described in 'setup_ohci1394_dma' ../drivers/message/fusion/mptsas.c: In function ‘mptsas_issue_tm’: ../drivers/message/fusion/mptsas.c:4791:26: warning: variable ‘timeleft’ set but not used [-Wunused-but-set-variable] 4791 | unsigned long timeleft; | ^~~~~~~~ ../drivers/usb/host/xhci.c:1367: warning: Function parameter or struct member 'desc' not described in 'xhci_get_endpoint_index' ../drivers/pci/hotplug/cpqphp_ctrl.c: In function ‘cpqhp_process_SI’: ../drivers/pci/hotplug/cpqphp_ctrl.c:1947:22: warning: variable ‘p_slot’ set but not used [-Wunused-but-set-variable] 1947 | struct slot *p_slot; | ^~~~~~ ../drivers/pci/hotplug/cpqphp_ctrl.c: In function ‘cpqhp_process_SS’: ../drivers/pci/hotplug/cpqphp_ctrl.c:2035:22: warning: variable ‘p_slot’ set but not used [-Wunused-but-set-variable] 2035 | struct slot *p_slot; | ^~~~~~ ../drivers/watchdog/wdt_pci.c:275: warning: Function parameter or struct member 'temperature' not described in 'wdtpci_get_temperature' ../drivers/pci/hotplug/cpqphp_pci.c: In function ‘cpqhp_find_available_resources’: ../drivers/pci/hotplug/cpqphp_pci.c:1165:12: warning: variable ‘bridged_slot’ set but not used [-Wunused-but-set-variable] 1165 | u8 bridged_slot; | ^~~~~~~~~~~~ ../drivers/pci/hotplug/ibmphp_hpc.c: In function ‘poll_hpc’: ../drivers/pci/hotplug/ibmphp_hpc.c:789:13: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 789 | int rc; | ^~ ../drivers/cpufreq/longhaul.c: In function ‘do_powersaver’: ../drivers/cpufreq/longhaul.c:165:13: warning: variable ‘t’ set but not used [-Wunused-but-set-variable] 165 | u32 t; | ^ ../drivers/cpufreq/gx-suspmod.c:143: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * we can detect a core multiplier from dir0_lsb ../drivers/cpufreq/gx-suspmod.c:203: warning: Function parameter or struct member 'cpu' not described in 'gx_get_cpuspeed' ../drivers/cpufreq/gx-suspmod.c:219: warning: Function parameter or struct member 'khz' not described in 'gx_validate_speed' ../drivers/cpufreq/gx-suspmod.c:219: warning: Function parameter or struct member 'on_duration' not described in 'gx_validate_speed' ../drivers/cpufreq/gx-suspmod.c:219: warning: Function parameter or struct member 'off_duration' not described in 'gx_validate_speed' ../drivers/cpufreq/gx-suspmod.c:251: warning: Function parameter or struct member 'policy' not described in 'gx_set_cpuspeed' ../drivers/cpufreq/gx-suspmod.c:251: warning: Function parameter or struct member 'khz' not described in 'gx_set_cpuspeed' ../drivers/cpufreq/cpufreq-nforce2.c:135: warning: Function parameter or struct member 'bootfsb' not described in 'nforce2_fsb_read' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'prot_stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'registered' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'suspended' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'connected' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'vbus_session' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'set_cfg_not_acked' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'waiting_zlp_ack' description in 'pch_udc_dev' In file included from ../include/linux/kernel.h:31, from ../include/linux/bcm47xx_nvram.h:10, from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:554:16: note: in expansion of macro ‘KERN_WARNING’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 92 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:554:16: note: in expansion of macro ‘KERN_WARNING’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 90 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-rockchip-ep.c:59: warning: Function parameter or struct member 'perst_irq' not described in 'rockchip_pcie_ep' ../drivers/pci/controller/pcie-rockchip-ep.c:59: warning: Function parameter or struct member 'perst_asserted' not described in 'rockchip_pcie_ep' ../drivers/pci/controller/pcie-rockchip-ep.c:59: warning: Function parameter or struct member 'link_up' not described in 'rockchip_pcie_ep' ../drivers/pci/controller/pcie-rockchip-ep.c:59: warning: Function parameter or struct member 'link_training' not described in 'rockchip_pcie_ep' ../drivers/staging/gpib/cb7210/cb7210.c: In function ‘cb7210_line_status’: ../drivers/staging/gpib/cb7210/cb7210.c:383:30: warning: variable ‘nec_priv’ set but not used [-Wunused-but-set-variable] 383 | struct nec7210_priv *nec_priv; | ^~~~~~~~ ../drivers/staging/gpib/cb7210/cb7210.c: In function ‘cb_pci_attach’: ../drivers/staging/gpib/cb7210/cb7210.c:974:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 974 | nec_priv->iobase = (void *)(pci_resource_start(cb_priv->pci_device, 1)); | ^ ../drivers/staging/gpib/cb7210/cb7210.c:978:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 978 | nec_priv->iobase = (void *)(pci_resource_start(cb_priv->pci_device, 0)); | ^ ../drivers/staging/gpib/cb7210/cb7210.c: In function ‘cb_gpib_config’: ../drivers/staging/gpib/cb7210/cb7210.c:1265:28: warning: variable ‘dev’ set but not used [-Wunused-but-set-variable] 1265 | struct local_info *dev; | ^~~ ../drivers/staging/gpib/cb7210/cb7210.c:1264:31: warning: variable ‘handle’ set but not used [-Wunused-but-set-variable] 1264 | struct pcmcia_device *handle; | ^~~~~~ ../drivers/staging/gpib/cec/cec_gpib.c: In function ‘cec_pci_attach’: ../drivers/staging/gpib/cec/cec_gpib.c:300:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 300 | nec_priv->iobase = (void *)(pci_resource_start(cec_priv->pci_device, 3)); | ^ ../drivers/staging/gpib/ines/ines_gpib.c: In function ‘ines_line_status’: ../drivers/staging/gpib/ines/ines_gpib.c:29:30: warning: variable ‘nec_priv’ set but not used [-Wunused-but-set-variable] 29 | struct nec7210_priv *nec_priv; | ^~~~~~~~ ../drivers/staging/gpib/ines/ines_gpib.c: In function ‘ines_common_pci_attach’: ../drivers/staging/gpib/ines/ines_gpib.c:783:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 783 | nec_priv->iobase = (void *)(pci_resource_start(ines_priv->pci_device, | ^ ../drivers/staging/gpib/ines/ines_gpib.c: In function ‘ines_gpib_config’: ../drivers/staging/gpib/ines/ines_gpib.c:1123:28: warning: variable ‘dev’ set but not used [-Wunused-but-set-variable] 1123 | struct local_info *dev; | ^~~ ../drivers/staging/gpib/nec7210/nec7210.c: In function ‘nec7210_interrupt_have_status’: ../drivers/staging/gpib/nec7210/nec7210.c:941:30: warning: variable ‘command’ set but not used [-Wunused-but-set-variable] 941 | unsigned int command; | ^~~~~~~ ../drivers/staging/gpib/tnt4882/tnt4882_gpib.c: In function ‘tnt4882_update_status’: ../drivers/staging/gpib/tnt4882/tnt4882_gpib.c:766:22: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable] 766 | unsigned int retval; | ^~~~~~ ../drivers/staging/gpib/tnt4882/tnt4882_gpib.c: In function ‘ni_isa_attach_common’: ../drivers/staging/gpib/tnt4882/tnt4882_gpib.c:1430:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1430 | iobase = (void *)(pnp_port_start(dev, 0)); | ^ ../drivers/staging/gpib/tnt4882/mite.c: In function ‘mite_dma_tcr’: ../drivers/staging/gpib/tnt4882/mite.c:164:13: warning: variable ‘lkar’ set but not used [-Wunused-but-set-variable] 164 | int lkar; | ^~~~ In file included from ../include/linux/string.h:389, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/scsi/qla2xxx/qla_def.h:12, from ../drivers/scsi/qla2xxx/qla_init.c:6: In function ‘fortify_memcpy_chk’, inlined from ‘qla81xx_nvram_config’ at ../drivers/scsi/qla2xxx/qla_init.c:9240:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struct member 'drvdata' not described in 'intel_th_alloc' ../drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struct member 'ndevres' not described in 'intel_th_alloc' ../drivers/hwtracing/intel_th/core.c:866: warning: Excess function parameter 'irq' description in 'intel_th_alloc' ../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../drivers/video/fbdev/i810/i810_main.c: In function ‘decode_var’: ../drivers/video/fbdev/i810/i810_main.c:1140:32: warning: variable ‘vyres’ set but not used [-Wunused-but-set-variable] 1140 | u32 xres, yres, vxres, vyres; | ^~~~~ ../drivers/scsi/mpi3mr/mpi3mr_fw.c: In function ‘mpi3mr_issue_reset’: ../drivers/scsi/mpi3mr/mpi3mr_fw.c:1625:54: warning: variable ‘scratch_pad0’ set but not used [-Wunused-but-set-variable] 1625 | u32 host_diagnostic, ioc_status, ioc_config, scratch_pad0; | ^~~~~~~~~~~~ ../drivers/scsi/mpi3mr/mpi3mr_app.c:723: warning: Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_hdb' ../drivers/scsi/mpi3mr/mpi3mr_app.c:750: warning: Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_all_hdb' In file included from ../include/linux/string.h:389, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/memstick/host/r592.c:48: warning: Function parameter or struct member 'tpc' not described in 'memstick_debug_get_tpc_name' ../drivers/ntb/msi.c:33: warning: Function parameter or struct member 'desc_changed' not described in 'ntb_msi_init' In file included from ../include/linux/string.h:389, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/amd76x_edac.c:229: warning: Function parameter or struct member 'pdev' not described in 'amd76x_probe1' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:1117: warning: cannot understand function prototype: 'struct registry_list_entry ' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:1321: warning: cannot understand function prototype: 'const struct nv_gsp_registry_entries r535_registry_entries[] = ' ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset'