../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' ../lib/vsprintf.c: In function ‘va_format’: ../lib/vsprintf.c:1718:9: warning: function ‘va_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1718 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ ../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/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' In file included from ../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 ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781: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/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; | ^~~~~~~~ ../kernel/audit.c: In function ‘audit_log_vformat’: ../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); | ^~~ ../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); | ^~~ ../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/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/usb/host/xhci.c:1367: warning: Function parameter or struct member 'desc' not described in 'xhci_get_endpoint_index' ../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/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/watchdog/wdt_pci.c:275: warning: Function parameter or struct member 'temperature' not described in 'wdtpci_get_temperature' ../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' ../fs/nfsd/nfs4state.c: In function ‘nfsd4_lock’: ../fs/nfsd/nfs4state.c:7969:29: warning: variable ‘sb’ set but not used [-Wunused-but-set-variable] 7969 | struct super_block *sb; | ^~ ../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' 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) | ^~~~~~~~~~~~~~ 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/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' In file included from ../include/linux/string.h:389, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424: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/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 ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' ../drivers/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' ../scripts/Makefile.build:194: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch 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/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/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; | ^~~~~~~ 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/memstick/host/r592.c:48: warning: Function parameter or struct member 'tpc' not described in 'memstick_debug_get_tpc_name' ../drivers/edac/amd76x_edac.c:229: warning: Function parameter or struct member 'pdev' not described in 'amd76x_probe1' ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/ntb/msi.c:33: warning: Function parameter or struct member 'desc_changed' not described in 'ntb_msi_init' ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c: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[] = ' WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o