Documentation/.renames.txt: warning: ignored by one of the .gitignore files Warning: ../security/smack/smack_access.c:584 expecting prototype for smk_import_valid_allocated_label(). Prototype was for smk_import_allocated_label() instead ../arch/x86/events/intel/uncore.c: In function ‘uncore_get_pmu_name’: ../arch/x86/events/intel/uncore.c:914:52: warning: ‘%s’ directive writing between 1 and 2147483645 bytes into a region of size 2147483428 [-Wformat-overflow=] 914 | sprintf(pmu->name, "uncore_%s", type->name); | ^~ ../arch/x86/events/intel/uncore.c:914:25: note: ‘sprintf’ output between 9 and 2147483653 bytes into a destination of size 2147483435 914 | sprintf(pmu->name, "uncore_%s", type->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/char/sonypi.c: In function ‘sonypi_call1’: ../drivers/char/sonypi.c:639:12: warning: variable ‘v1’ set but not used [-Wunused-but-set-variable=] 639 | u8 v1, v2; | ^~ Warning: ../block/blk-mq-dma.c:379 Excess function parameter 'state' description in 'blk_rq_integrity_dma_map_iter_next' Warning: ../block/blk-mq-dma.c:379 Excess function parameter 'state' description in 'blk_rq_integrity_dma_map_iter_next' ../fs/smb/smbdirect/devices.c: In function ‘smbdirect_ib_client_add’: ../fs/smb/smbdirect/devices.c:118:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 118 | snprintf(sdev->ib_name, ARRAY_SIZE(sdev->ib_name), "%.*s", | ^ ../fs/smb/smbdirect/devices.c:118:9: note: ‘snprintf’ output between 1 and 65 bytes into a destination of size 64 118 | snprintf(sdev->ib_name, ARRAY_SIZE(sdev->ib_name), "%.*s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | IB_DEVICE_NAME_MAX, ib_dev->name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/8390/pcnet_cs.c: In function ‘dma_block_input’: ../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; | ^~~~~~~~~~ ../drivers/message/fusion/mptsas.c: In function ‘mptsas_issue_tm’: ../drivers/message/fusion/mptsas.c:4790:26: warning: variable ‘timeleft’ set but not used [-Wunused-but-set-variable=] 4790 | unsigned long timeleft; | ^~~~~~~~ In file included from ../include/linux/string.h:383, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/irqflags.h:100, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/slab.h:17, from ../include/linux/resource_ext.h:11, from ../include/linux/acpi.h:14, from ../include/acpi/apei.h:9, from ../include/acpi/ghes.h:5, from ../include/linux/arm_sdei.h:8, from ../drivers/acpi/apei/ghes.c:20: In function ‘fortify_memcpy_chk’, inlined from ‘ghes_handle_aer’ at ../drivers/acpi/apei/ghes.c:667:3: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/misc/dw-xdata-pcie.c: In function ‘dw_xdata_pcie_probe’: ../drivers/misc/dw-xdata-pcie.c:21:41: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 21 | #define DW_XDATA_DRIVER_NAME "dw-xdata-pcie" | ^~~~~~~~~~~~~~~ ../drivers/misc/dw-xdata-pcie.c:343:38: note: in expansion of macro ‘DW_XDATA_DRIVER_NAME’ 343 | snprintf(name, sizeof(name), DW_XDATA_DRIVER_NAME ".%d", id); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/misc/dw-xdata-pcie.c:391:64: note: format string is defined here 391 | if (sscanf(dw->misc_dev.name, DW_XDATA_DRIVER_NAME ".%d", &id) != 1) | ^ ../drivers/misc/dw-xdata-pcie.c:343:9: note: ‘snprintf’ output between 16 and 25 bytes into a destination of size 24 343 | snprintf(name, sizeof(name), DW_XDATA_DRIVER_NAME ".%d", id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/longhaul.c: In function ‘print_speed’: ../drivers/cpufreq/longhaul.c:102:31: warning: ‘GHz’ directive output may be truncated writing 3 bytes into a region of size between 2 and 5 [-Wformat-truncation=] 102 | "%d.%dGHz", speed/1000, (speed%1000)/100); | ^~~ ../drivers/cpufreq/longhaul.c:101:17: note: ‘snprintf’ output between 7 and 10 bytes into a destination of size 8 101 | snprintf(speedbuffer, sizeof(speedbuffer), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 102 | "%d.%dGHz", speed/1000, (speed%1000)/100); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/cpufreq/longhaul.c:93:63: warning: ‘MHz’ directive output may be truncated writing 3 bytes into a region of size between 0 and 7 [-Wformat-truncation=] 93 | snprintf(speedbuffer, sizeof(speedbuffer), "%dMHz", speed); | ^~~ ../drivers/cpufreq/longhaul.c:93:17: note: ‘snprintf’ output between 5 and 12 bytes into a destination of size 8 93 | snprintf(speedbuffer, sizeof(speedbuffer), "%dMHz", speed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/cpufreq/gx-suspmod.c:142 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * we can detect a core multiplier from dir0_lsb Warning: ../drivers/cpufreq/gx-suspmod.c:202 function parameter 'cpu' not described in 'gx_get_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'khz' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'on_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'off_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'policy' not described in 'gx_set_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'khz' not described in 'gx_set_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:202 function parameter 'cpu' not described in 'gx_get_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'khz' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'on_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'off_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'policy' not described in 'gx_set_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'khz' not described in 'gx_set_cpuspeed' ../drivers/scsi/qla1280.c: In function ‘qla1280_load_firmware_dma’: ../drivers/scsi/qla1280.c:1714:22: warning: variable ‘num’ set but not used [-Wunused-but-set-variable=] 1714 | int err = 0, num, i; | ^~~ ../drivers/scsi/dc395x.c: In function ‘msgin_set_sync’: ../drivers/scsi/dc395x.c:2185:13: warning: variable ‘fact’ set but not used [-Wunused-but-set-variable=] 2185 | int fact; | ^~~~ ../drivers/pci/hotplug/cpqphp_core.c: In function ‘init_SERR’: ../drivers/pci/hotplug/cpqphp_core.c:122:13: warning: variable ‘tempdword’ set but not used [-Wunused-but-set-variable=] 122 | u32 tempdword; | ^~~~~~~~~ Warning: ../drivers/cpufreq/cpufreq-nforce2.c:134 function parameter 'bootfsb' not described in 'nforce2_fsb_read' Warning: ../drivers/cpufreq/cpufreq-nforce2.c:134 function parameter 'bootfsb' not described in 'nforce2_fsb_read' ../drivers/video/fbdev/riva/riva_hw.c: In function ‘nv4CalcArbitration’: ../drivers/video/fbdev/riva/riva_hw.c:662:24: warning: variable ‘pclks’ set but not used [-Wunused-but-set-variable=] 662 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^~~~~ ../drivers/video/fbdev/kyro/STG4000VTG.c: In function ‘DisableVGA’: ../drivers/video/fbdev/kyro/STG4000VTG.c:20:22: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 20 | volatile u32 count = 0, i; | ^~~~~ In file included from ../include/linux/string.h:383, 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/fs_dirent.h:5, from ../include/linux/fs/super_types.h:5, from ../include/linux/fs/super.h:5, from ../include/linux/fs.h:5, from ../fs/smb/client/cifssmb.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFileInfo’ at ../fs/smb/client/cifssmb.c:4094:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4268:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4353:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:5138:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:5213:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:5285:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/video/fbdev/nvidia/nv_hw.c: In function ‘nv4CalcArbitration’: ../drivers/video/fbdev/nvidia/nv_hw.c:245:28: warning: variable ‘pclks’ set but not used [-Wunused-but-set-variable=] 245 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c: In function ‘SetCoreClockPLL’: ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:294:9: note: in expansion of macro ‘OS_DELAY’ 294 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:298:9: note: in expansion of macro ‘OS_DELAY’ 298 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:304:9: note: in expansion of macro ‘OS_DELAY’ 304 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:308:9: note: in expansion of macro ‘OS_DELAY’ 308 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/video/fbdev/sis/sis_main.c: In function ‘sisfb_post_xgi_delay’: ../drivers/video/fbdev/sis/sis_main.c:4541:12: warning: variable ‘reg’ set but not used [-Wunused-but-set-variable=] 4541 | u8 reg; | ^~~ ../drivers/scsi/megaraid.c: In function ‘mega_query_adapter’: ../drivers/scsi/megaraid.c:317:36: warning: ‘%d’ directive output may be truncated writing between 1 and 2 bytes into a region of size between 1 and 2 [-Wformat-truncation=] 317 | "%c%d%d.%d%d", | ^~ ../drivers/scsi/megaraid.c:317:26: note: directive argument in the range [0, 15] 317 | "%c%d%d.%d%d", | ^~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:316:17: note: ‘snprintf’ output between 7 and 9 bytes into a destination of size 7 316 | snprintf(adapter->fw_version, sizeof(adapter->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 317 | "%c%d%d.%d%d", | ~~~~~~~~~~~~~~ 318 | adapter->product_info.fw_version[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 319 | 0, | ~~ 320 | adapter->product_info.fw_version[1] & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 321 | 0, | ~~ 322 | adapter->product_info.fw_version[0] & 0x0f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:324:36: warning: ‘%d’ directive output may be truncated writing between 1 and 2 bytes into a region of size between 1 and 2 [-Wformat-truncation=] 324 | "%c%d%d.%d%d", | ^~ ../drivers/scsi/megaraid.c:324:26: note: directive argument in the range [0, 15] 324 | "%c%d%d.%d%d", | ^~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:323:17: note: ‘snprintf’ output between 7 and 9 bytes into a destination of size 7 323 | snprintf(adapter->bios_version, sizeof(adapter->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 324 | "%c%d%d.%d%d", | ~~~~~~~~~~~~~~ 325 | adapter->product_info.bios_version[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 326 | 0, | ~~ 327 | adapter->product_info.bios_version[1] & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 328 | 0, | ~~ 329 | adapter->product_info.bios_version[0] & 0x0f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/hotplug/cpqphp_pci.c: In function ‘cpqhp_find_available_resources’: ../drivers/pci/hotplug/cpqphp_pci.c:1159:12: warning: variable ‘bridged_slot’ set but not used [-Wunused-but-set-variable=] 1159 | u8 bridged_slot; | ^~~~~~~~~~~~ ../drivers/misc/bcm-vk/bcm_vk_dev.c: In function ‘bcm_vk_probe’: : warning: ‘_ttyVK’ directive output may be truncated writing 6 bytes into a region of size between 3 and 12 [-Wformat-truncation=] ../drivers/misc/bcm-vk/bcm_vk_dev.c:1456:38: note: in expansion of macro ‘KBUILD_MODNAME’ 1456 | snprintf(name, sizeof(name), KBUILD_MODNAME ".%d_ttyVK", id); | ^~~~~~~~~~~~~~ ../drivers/misc/bcm-vk/bcm_vk_dev.c:1456:9: note: ‘snprintf’ output between 15 and 24 bytes into a destination of size 20 1456 | snprintf(name, sizeof(name), KBUILD_MODNAME ".%d_ttyVK", id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:31, from ../arch/x86/include/asm/bug.h:195, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/vmalloc.h:5, 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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:93:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 93 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u16.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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | 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(u16) | ^~~~~~~~~~~~~~ ../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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:91:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 91 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u8.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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | 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(u8) | ^~~~~~~~~~~~~~ ../drivers/scsi/myrb.c: In function ‘myrb_get_hba_config’: ../drivers/scsi/myrb.c:1050:29: warning: ‘%02u’ directive output may be truncated writing between 2 and 3 bytes into a region of size between 2 and 5 [-Wformat-truncation=] 1050 | "%u.%02u-%c-%02u", | ^~~~ ../drivers/scsi/myrb.c:1050:17: note: directive argument in the range [0, 255] 1050 | "%u.%02u-%c-%02u", | ^~~~~~~~~~~~~~~~~ ../drivers/scsi/myrb.c:1049:9: note: ‘snprintf’ output between 10 and 14 bytes into a destination of size 12 1049 | snprintf(cb->fw_version, sizeof(cb->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1050 | "%u.%02u-%c-%02u", | ~~~~~~~~~~~~~~~~~~ 1051 | enquiry2->fw.major_version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1052 | enquiry2->fw.minor_version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1053 | enquiry2->fw.firmware_type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1054 | enquiry2->fw.turn_id); | ~~~~~~~~~~~~~~~~~~~~~ ../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/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘cxgb4vf_get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:44: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:18: note: directive argument in the range [0, 255] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1559:9: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 1559 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1561 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1562 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1563 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1564 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1565 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1566 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1567 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1568 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.tprev)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘adapter_up’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 371 | "%s-%d", dev->name, qs); | ^~ In function ‘name_msix_vecs’, inlined from ‘adapter_up’ at ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:778:4: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:34: note: directive argument in the range [-2147483641, 254] 371 | "%s-%d", dev->name, qs); | ^~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:370:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 21 370 | snprintf(adapter->msix_info[msi].desc, namelen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | "%s-%d", dev->name, qs); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/media/test-drivers/vivid/vivid-cec.c: In function ‘find_dest_adap’: ../drivers/media/test-drivers/vivid/vivid-cec.c:26:25: warning: variable ‘j’ set but not used [-Wunused-but-set-variable=] 26 | unsigned int i, j; | ^ ../drivers/media/test-drivers/vivid/vivid-cec.c: In function ‘vivid_cec_bus_thread’: ../drivers/media/test-drivers/vivid/vivid-cec.c:116:25: warning: variable ‘j’ set but not used [-Wunused-but-set-variable=] 116 | unsigned int i, j; | ^ Warning: ../drivers/gpu/drm/drm_gem_shmem_helper.c:174 expecting prototype for __drm_gem_shmem_release_sgt_locked(). Prototype was for __drm_gem_shmem_free_sgt_locked() instead 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 'registered' description in 'pch_udc_dev' ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:52: note: directive argument in the range [-2147483638, 2147483646] 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2805 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_set_coalesce’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:349:27: warning: variable ‘eqo’ set but not used [-Wunused-but-set-variable=] 349 | struct be_eq_obj *eqo; | ^~~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/aic7xxx/aic7xxx_core.c: In function ‘ahc_handle_ign_wide_residue’: ../drivers/scsi/aic7xxx/aic7xxx_core.c:4171:34: warning: variable ‘data_addr’ set but not used [-Wunused-but-set-variable=] 4171 | uint32_t data_addr; | ^~~~~~~~~ Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:495 Excess function parameter 'vport' description in 'idpf_rx_desc_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:1400 Excess function parameter 'vport' description in 'idpf_vport_queue_grp_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:495 Excess function parameter 'vport' description in 'idpf_rx_desc_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:1400 Excess function parameter 'vport' description in 'idpf_vport_queue_grp_rel_all' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 Excess function parameter 'exclusive_vm' description in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 Excess function parameter 'exclusive_vm' description in 'ethosu_gem_cmdstream_create' ../drivers/net/ethernet/natsemi/ns83820.c: In function ‘ns83820_run_bist’: ../drivers/net/ethernet/natsemi/ns83820.c:1703:13: warning: variable ‘loops’ set but not used [-Wunused-but-set-variable=] 1703 | int loops = 0; | ^~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c: In function ‘myri10ge_request_irq’: ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2197:44: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 2197 | "%s:slice-%d", netdev->name, i); | ^~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2197:34: note: directive argument in the range [-2147483641, 2147483646] 2197 | "%s:slice-%d", netdev->name, i); | ^~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2196:25: note: ‘snprintf’ output between 9 and 34 bytes into a destination of size 32 2196 | snprintf(ss->irq_desc, sizeof(ss->irq_desc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2197 | "%s:slice-%d", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/aic7xxx/aic79xx_core.c: In function ‘ahd_handle_ign_wide_residue’: ../drivers/scsi/aic7xxx/aic79xx_core.c:5694:34: warning: variable ‘data_addr’ set but not used [-Wunused-but-set-variable=] 5694 | uint64_t data_addr; | ^~~~~~~~~ ../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; | ^~~~~ In file included from ../include/linux/string.h:383, 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:9445:2: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: In function ‘qlcnic_request_irq’: ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1765:49: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 9 and 24 [-Wformat-truncation=] 1765 | "%s-tx-%d", netdev->name, ring); | ^~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1765:42: note: directive argument in the range [-2147483641, 254] 1765 | "%s-tx-%d", netdev->name, ring); | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1764:33: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 28 1764 | snprintf(tx_ring->name, sizeof(tx_ring->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1765 | "%s-tx-%d", netdev->name, ring); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:54: note: directive argument in the range [-2147483641, 65534] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1882 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c: In function ‘netxen_nic_attach’: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:45: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-overflow=] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~ In function ‘netxen_nic_request_irq’, inlined from ‘netxen_nic_attach’ at ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1251:8: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:41: note: directive argument in the range [-2147483641, 254] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:17: note: ‘sprintf’ output between 4 and 29 bytes into a destination of size 20 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c: In function ‘csio_add_msix_desc’: ../drivers/scsi/csiostor/csio_isr.c:374:68: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~ ../drivers/scsi/csiostor/csio_isr.c:374:45: note: directive argument in the range [0, 2147483644] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c:374:17: note: ‘snprintf’ output between 19 and 28 bytes into a destination of size 23 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 375 | CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | CSIO_PCI_FUNC(hw), i - CSIO_EXTRA_VECS); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/scsi/mpt3sas/mpt3sas_ctl.c:2913 expecting prototype for mpt3sas_send_passthru_cmd(). Prototype was for mpt3sas_send_mctp_passthru_req() instead ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 621 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 620 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 638 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 637 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 635 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 634 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/lpfc/lpfc_hbadisc.c: In function ‘lpfc_nlp_state_name.constprop’: ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:50: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~ ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:40: note: directive argument in the range [9, 2147483647] 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~~~~~~~~~~~~~ ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:17: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 16 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:383, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/irqflags.h:100, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, 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:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:743:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 743 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:743:46: note: directive argument in the range [0, 2147483646] 743 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:743:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 743 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/esas2r/esas2r_vda.c: In function ‘esas2r_complete_vda_ioctl’: ../drivers/scsi/esas2r/esas2r_vda.c:313:59: warning: ‘%2.2u’ directive output may be truncated writing between 2 and 3 bytes into a region of size between 1 and 3 [-Wformat-truncation=] 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~ ../drivers/scsi/esas2r/esas2r_vda.c:313:52: note: directive argument in the range [0, 255] 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~~~~~~~~~ ../drivers/scsi/esas2r/esas2r_vda.c:313:25: note: ‘snprintf’ output between 5 and 8 bytes into a destination of size 5 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | (int)LOBYTE(le16_to_cpu(rsp->fw_release)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | (int)HIBYTE(le16_to_cpu(rsp->fw_release))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c: In function ‘efc_node_alloc’: ../drivers/scsi/elx/libefc/efc_node.c:254:70: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~ In function ‘efc_node_update_display_name’, inlined from ‘efc_node_alloc’ at ../drivers/scsi/elx/libefc/efc_node.c:95:2: ../drivers/scsi/elx/libefc/efc_node.c:254:9: note: ‘snprintf’ output between 2 and 48 bytes into a destination of size 32 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c: In function ‘efc_node_update_display_name’: ../drivers/scsi/elx/libefc/efc_node.c:254:70: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c:254:9: note: ‘snprintf’ output between 2 and 48 bytes into a destination of size 32 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:383, 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:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/lpfc/lpfc_bsg.c: In function ‘diag_cmd_data_alloc’: ../drivers/scsi/lpfc/lpfc_bsg.c:2819:18: warning: variable ‘offset’ set but not used [-Wunused-but-set-variable=] 2819 | int cnt, offset = 0, i = 0; | ^~~~~~ Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:273 Excess struct member 'ping_work' description in 'panthor_fw' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:273 Excess struct member 'ping_work' description in 'panthor_fw' ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c: In function ‘qed_mfw_get_tlv_time_value’: ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:44: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 10 [-Wformat-truncation=] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:9: note: ‘snprintf’ output between 7 and 23 bytes into a destination of size 14 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 433 | p_time->month, p_time->day, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 434 | p_time->hour, p_time->min, p_time->msec, p_time->usec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/panthor/panthor_mmu.c:405 Excess struct member 'kernel_auto_va.size' description in 'panthor_vm' Warning: ../drivers/gpu/drm/panthor/panthor_mmu.c:405 Excess struct member 'kernel_auto_va.size' description in 'panthor_vm' ../drivers/net/ethernet/ti/tlan.c: In function ‘tlan_read_and_clear_stats’: ../drivers/net/ethernet/ti/tlan.c:2059:25: warning: variable ‘def_tx’ set but not used [-Wunused-but-set-variable=] 2059 | u32 def_tx, crc, code; | ^~~~~~ ../drivers/net/ethernet/sun/niu.c: In function ‘niu_txc_set_imask’: ../drivers/net/ethernet/sun/niu.c:4647:13: warning: variable ‘val’ set but not used [-Wunused-but-set-variable=] 4647 | u64 val; | ^~~ ../drivers/net/ethernet/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6028:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6046:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6112:8: ../drivers/net/ethernet/sun/niu.c:6028:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' Warning: ../drivers/media/i2c/ov9282.c:223 Excess struct member 'mutex' description in 'ov9282' Warning: ../drivers/media/i2c/ov9282.c:223 Excess struct member 'mutex' description in 'ov9282' Warning: ../drivers/edac/amd76x_edac.c:228 function parameter 'pdev' not described in 'amd76x_probe1' Warning: ../drivers/edac/amd76x_edac.c:228 function parameter 'pdev' not described in 'amd76x_probe1' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1279 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1284 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 Excess function parameter 'msg' description in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 Excess function parameter 'msg' description in 'async_release' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:3930 Excess function parameter 'count' description in 'ice_dpll_init_fwnode_pins' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:4032 Excess function parameter 'cgu' description in 'ice_dpll_init_pins_e825' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:3930 Excess function parameter 'count' description in 'ice_dpll_init_fwnode_pins' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:4032 Excess function parameter 'cgu' description in 'ice_dpll_init_pins_e825' Warning: ../drivers/infiniband/hw/mlx5/umr.c:981 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * This function makes an mkey non-present by zapping the translation entries of ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:41 function parameter 'mode_clk_rate' not described in 'dpu_core_perf_adjusted_mode_clk' Warning: ../drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:41 function parameter 'mode_clk_rate' not described in 'dpu_core_perf_adjusted_mode_clk' ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c: In function ‘jpeg_v2_5_sw_init’: ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:152:68: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 7 [-Wformat-truncation=] 152 | snprintf(ring->name, sizeof(ring->name), "jpeg_dec_%d", i); | ^~ ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:152:58: note: directive argument in the range [-2147483641, 254] 152 | snprintf(ring->name, sizeof(ring->name), "jpeg_dec_%d", i); | ^~~~~~~~~~~~~ ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:152:17: note: ‘snprintf’ output between 11 and 21 bytes into a destination of size 16 152 | snprintf(ring->name, sizeof(ring->name), "jpeg_dec_%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3659 Excess function parameter 'update_descriptor' description in 'update_planes_and_stream_state' Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3659 Excess function parameter 'update_descriptor' description in 'update_planes_and_stream_state' Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../arch/x86/events/intel/uncore.c: In function ‘uncore_get_pmu_name’: ../arch/x86/events/intel/uncore.c:914:52: warning: ‘%s’ directive writing between 1 and 2147483645 bytes into a region of size 2147483428 [-Wformat-overflow=] 914 | sprintf(pmu->name, "uncore_%s", type->name); | ^~ ../arch/x86/events/intel/uncore.c:914:25: note: ‘sprintf’ output between 9 and 2147483653 bytes into a destination of size 2147483435 914 | sprintf(pmu->name, "uncore_%s", type->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../security/smack/smack_access.c:584 expecting prototype for smk_import_valid_allocated_label(). Prototype was for smk_import_allocated_label() instead ../drivers/char/sonypi.c: In function ‘sonypi_call1’: ../drivers/char/sonypi.c:639:12: warning: variable ‘v1’ set but not used [-Wunused-but-set-variable=] 639 | u8 v1, v2; | ^~ Warning: ../block/blk-mq-dma.c:379 Excess function parameter 'state' description in 'blk_rq_integrity_dma_map_iter_next' Warning: ../block/blk-mq-dma.c:379 Excess function parameter 'state' description in 'blk_rq_integrity_dma_map_iter_next' ../drivers/message/fusion/mptsas.c: In function ‘mptsas_issue_tm’: ../drivers/message/fusion/mptsas.c:4790:26: warning: variable ‘timeleft’ set but not used [-Wunused-but-set-variable=] 4790 | unsigned long timeleft; | ^~~~~~~~ ../fs/smb/smbdirect/devices.c: In function ‘smbdirect_ib_client_add’: ../fs/smb/smbdirect/devices.c:118:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 118 | snprintf(sdev->ib_name, ARRAY_SIZE(sdev->ib_name), "%.*s", | ^ ../fs/smb/smbdirect/devices.c:118:9: note: ‘snprintf’ output between 1 and 65 bytes into a destination of size 64 118 | snprintf(sdev->ib_name, ARRAY_SIZE(sdev->ib_name), "%.*s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | IB_DEVICE_NAME_MAX, ib_dev->name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:383, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/irqflags.h:100, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/slab.h:17, from ../include/linux/resource_ext.h:11, from ../include/linux/acpi.h:14, from ../include/acpi/apei.h:9, from ../include/acpi/ghes.h:5, from ../include/linux/arm_sdei.h:8, from ../drivers/acpi/apei/ghes.c:20: In function ‘fortify_memcpy_chk’, inlined from ‘ghes_handle_aer’ at ../drivers/acpi/apei/ghes.c:667:3: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/8390/pcnet_cs.c: In function ‘dma_block_input’: ../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; | ^~~~~~~~~~ ../drivers/misc/dw-xdata-pcie.c: In function ‘dw_xdata_pcie_probe’: ../drivers/misc/dw-xdata-pcie.c:21:41: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 21 | #define DW_XDATA_DRIVER_NAME "dw-xdata-pcie" | ^~~~~~~~~~~~~~~ ../drivers/misc/dw-xdata-pcie.c:343:38: note: in expansion of macro ‘DW_XDATA_DRIVER_NAME’ 343 | snprintf(name, sizeof(name), DW_XDATA_DRIVER_NAME ".%d", id); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/misc/dw-xdata-pcie.c:391:64: note: format string is defined here 391 | if (sscanf(dw->misc_dev.name, DW_XDATA_DRIVER_NAME ".%d", &id) != 1) | ^ ../drivers/misc/dw-xdata-pcie.c:343:9: note: ‘snprintf’ output between 16 and 25 bytes into a destination of size 24 343 | snprintf(name, sizeof(name), DW_XDATA_DRIVER_NAME ".%d", id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/hotplug/cpqphp_core.c: In function ‘init_SERR’: ../drivers/pci/hotplug/cpqphp_core.c:122:13: warning: variable ‘tempdword’ set but not used [-Wunused-but-set-variable=] 122 | u32 tempdword; | ^~~~~~~~~ ../drivers/scsi/qla1280.c: In function ‘qla1280_load_firmware_dma’: ../drivers/scsi/qla1280.c:1714:22: warning: variable ‘num’ set but not used [-Wunused-but-set-variable=] 1714 | int err = 0, num, i; | ^~~ ../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/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/longhaul.c: In function ‘print_speed’: ../drivers/cpufreq/longhaul.c:102:31: warning: ‘GHz’ directive output may be truncated writing 3 bytes into a region of size between 2 and 5 [-Wformat-truncation=] 102 | "%d.%dGHz", speed/1000, (speed%1000)/100); | ^~~ ../drivers/cpufreq/longhaul.c:101:17: note: ‘snprintf’ output between 7 and 10 bytes into a destination of size 8 101 | snprintf(speedbuffer, sizeof(speedbuffer), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 102 | "%d.%dGHz", speed/1000, (speed%1000)/100); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/cpufreq/longhaul.c:93:63: warning: ‘MHz’ directive output may be truncated writing 3 bytes into a region of size between 0 and 7 [-Wformat-truncation=] 93 | snprintf(speedbuffer, sizeof(speedbuffer), "%dMHz", speed); | ^~~ ../drivers/cpufreq/longhaul.c:93:17: note: ‘snprintf’ output between 5 and 12 bytes into a destination of size 8 93 | snprintf(speedbuffer, sizeof(speedbuffer), "%dMHz", speed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/video/fbdev/riva/riva_hw.c: In function ‘nv4CalcArbitration’: ../drivers/video/fbdev/riva/riva_hw.c:662:24: warning: variable ‘pclks’ set but not used [-Wunused-but-set-variable=] 662 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^~~~~ ../drivers/video/fbdev/sis/sis_main.c: In function ‘sisfb_post_xgi_delay’: ../drivers/video/fbdev/sis/sis_main.c:4541:12: warning: variable ‘reg’ set but not used [-Wunused-but-set-variable=] 4541 | u8 reg; | ^~~ Warning: ../drivers/cpufreq/gx-suspmod.c:142 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * we can detect a core multiplier from dir0_lsb Warning: ../drivers/cpufreq/gx-suspmod.c:202 function parameter 'cpu' not described in 'gx_get_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'khz' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'on_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'off_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'policy' not described in 'gx_set_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'khz' not described in 'gx_set_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:202 function parameter 'cpu' not described in 'gx_get_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'khz' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'on_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'off_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'policy' not described in 'gx_set_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'khz' not described in 'gx_set_cpuspeed' ../drivers/scsi/dc395x.c: In function ‘msgin_set_sync’: ../drivers/scsi/dc395x.c:2185:13: warning: variable ‘fact’ set but not used [-Wunused-but-set-variable=] 2185 | int fact; | ^~~~ ../drivers/video/fbdev/nvidia/nv_hw.c: In function ‘nv4CalcArbitration’: ../drivers/video/fbdev/nvidia/nv_hw.c:245:28: warning: variable ‘pclks’ set but not used [-Wunused-but-set-variable=] 245 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^~~~~ ../drivers/pci/hotplug/cpqphp_pci.c: In function ‘cpqhp_find_available_resources’: ../drivers/pci/hotplug/cpqphp_pci.c:1159:12: warning: variable ‘bridged_slot’ set but not used [-Wunused-but-set-variable=] 1159 | u8 bridged_slot; | ^~~~~~~~~~~~ ../drivers/video/fbdev/kyro/STG4000VTG.c: In function ‘DisableVGA’: ../drivers/video/fbdev/kyro/STG4000VTG.c:20:22: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 20 | volatile u32 count = 0, i; | ^~~~~ Warning: ../drivers/cpufreq/cpufreq-nforce2.c:134 function parameter 'bootfsb' not described in 'nforce2_fsb_read' Warning: ../drivers/cpufreq/cpufreq-nforce2.c:134 function parameter 'bootfsb' not described in 'nforce2_fsb_read' ../drivers/misc/bcm-vk/bcm_vk_dev.c: In function ‘bcm_vk_probe’: : warning: ‘_ttyVK’ directive output may be truncated writing 6 bytes into a region of size between 3 and 12 [-Wformat-truncation=] ../drivers/misc/bcm-vk/bcm_vk_dev.c:1456:38: note: in expansion of macro ‘KBUILD_MODNAME’ 1456 | snprintf(name, sizeof(name), KBUILD_MODNAME ".%d_ttyVK", id); | ^~~~~~~~~~~~~~ ../drivers/misc/bcm-vk/bcm_vk_dev.c:1456:9: note: ‘snprintf’ output between 15 and 24 bytes into a destination of size 20 1456 | snprintf(name, sizeof(name), KBUILD_MODNAME ".%d_ttyVK", id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/megaraid.c: In function ‘mega_query_adapter’: ../drivers/scsi/megaraid.c:317:36: warning: ‘%d’ directive output may be truncated writing between 1 and 2 bytes into a region of size between 1 and 2 [-Wformat-truncation=] 317 | "%c%d%d.%d%d", | ^~ ../drivers/scsi/megaraid.c:317:26: note: directive argument in the range [0, 15] 317 | "%c%d%d.%d%d", | ^~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:316:17: note: ‘snprintf’ output between 7 and 9 bytes into a destination of size 7 316 | snprintf(adapter->fw_version, sizeof(adapter->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 317 | "%c%d%d.%d%d", | ~~~~~~~~~~~~~~ 318 | adapter->product_info.fw_version[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 319 | 0, | ~~ 320 | adapter->product_info.fw_version[1] & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 321 | 0, | ~~ 322 | adapter->product_info.fw_version[0] & 0x0f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:324:36: warning: ‘%d’ directive output may be truncated writing between 1 and 2 bytes into a region of size between 1 and 2 [-Wformat-truncation=] 324 | "%c%d%d.%d%d", | ^~ ../drivers/scsi/megaraid.c:324:26: note: directive argument in the range [0, 15] 324 | "%c%d%d.%d%d", | ^~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:323:17: note: ‘snprintf’ output between 7 and 9 bytes into a destination of size 7 323 | snprintf(adapter->bios_version, sizeof(adapter->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 324 | "%c%d%d.%d%d", | ~~~~~~~~~~~~~~ 325 | adapter->product_info.bios_version[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 326 | 0, | ~~ 327 | adapter->product_info.bios_version[1] & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 328 | 0, | ~~ 329 | adapter->product_info.bios_version[0] & 0x0f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c: In function ‘SetCoreClockPLL’: ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:294:9: note: in expansion of macro ‘OS_DELAY’ 294 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:298:9: note: in expansion of macro ‘OS_DELAY’ 298 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:304:9: note: in expansion of macro ‘OS_DELAY’ 304 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:308:9: note: in expansion of macro ‘OS_DELAY’ 308 | OS_DELAY(1000000); | ^~~~~~~~ ../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/scsi/myrb.c: In function ‘myrb_get_hba_config’: ../drivers/scsi/myrb.c:1050:29: warning: ‘%02u’ directive output may be truncated writing between 2 and 3 bytes into a region of size between 2 and 5 [-Wformat-truncation=] 1050 | "%u.%02u-%c-%02u", | ^~~~ ../drivers/scsi/myrb.c:1050:17: note: directive argument in the range [0, 255] 1050 | "%u.%02u-%c-%02u", | ^~~~~~~~~~~~~~~~~ ../drivers/scsi/myrb.c:1049:9: note: ‘snprintf’ output between 10 and 14 bytes into a destination of size 12 1049 | snprintf(cb->fw_version, sizeof(cb->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1050 | "%u.%02u-%c-%02u", | ~~~~~~~~~~~~~~~~~~ 1051 | enquiry2->fw.major_version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1052 | enquiry2->fw.minor_version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1053 | enquiry2->fw.firmware_type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1054 | enquiry2->fw.turn_id); | ~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:31, from ../arch/x86/include/asm/bug.h:195, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/vmalloc.h:5, 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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:93:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 93 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u16.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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | 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(u16) | ^~~~~~~~~~~~~~ ../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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:91:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 91 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u8.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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | 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(u8) | ^~~~~~~~~~~~~~ In file included from ../include/linux/string.h:383, 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/fs_dirent.h:5, from ../include/linux/fs/super_types.h:5, from ../include/linux/fs/super.h:5, from ../include/linux/fs.h:5, from ../fs/smb/client/cifssmb.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFileInfo’ at ../fs/smb/client/cifssmb.c:4094:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4268:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4353:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:5138:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:5213:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:5285:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 'registered' description in 'pch_udc_dev' ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/drm_gem_shmem_helper.c:174 expecting prototype for __drm_gem_shmem_release_sgt_locked(). Prototype was for __drm_gem_shmem_free_sgt_locked() instead ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘cxgb4vf_get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:44: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:18: note: directive argument in the range [0, 255] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1559:9: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 1559 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1561 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1562 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1563 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1564 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1565 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1566 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1567 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1568 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.tprev)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘adapter_up’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 371 | "%s-%d", dev->name, qs); | ^~ In function ‘name_msix_vecs’, inlined from ‘adapter_up’ at ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:778:4: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:34: note: directive argument in the range [-2147483641, 254] 371 | "%s-%d", dev->name, qs); | ^~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:370:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 21 370 | snprintf(adapter->msix_info[msi].desc, namelen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | "%s-%d", dev->name, qs); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/media/test-drivers/vivid/vivid-cec.c: In function ‘find_dest_adap’: ../drivers/media/test-drivers/vivid/vivid-cec.c:26:25: warning: variable ‘j’ set but not used [-Wunused-but-set-variable=] 26 | unsigned int i, j; | ^ ../drivers/media/test-drivers/vivid/vivid-cec.c: In function ‘vivid_cec_bus_thread’: ../drivers/media/test-drivers/vivid/vivid-cec.c:116:25: warning: variable ‘j’ set but not used [-Wunused-but-set-variable=] 116 | unsigned int i, j; | ^ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_set_coalesce’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:349:27: warning: variable ‘eqo’ set but not used [-Wunused-but-set-variable=] 349 | struct be_eq_obj *eqo; | ^~~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/aic7xxx/aic7xxx_core.c: In function ‘ahc_handle_ign_wide_residue’: ../drivers/scsi/aic7xxx/aic7xxx_core.c:4171:34: warning: variable ‘data_addr’ set but not used [-Wunused-but-set-variable=] 4171 | uint32_t data_addr; | ^~~~~~~~~ In file included from ../include/linux/string.h:383, 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:9445:2: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:52: note: directive argument in the range [-2147483638, 2147483646] 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2805 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/lpfc/lpfc_hbadisc.c: In function ‘lpfc_nlp_state_name.constprop’: ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:50: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~ ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:40: note: directive argument in the range [9, 2147483647] 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~~~~~~~~~~~~~ ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:17: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 16 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/aic7xxx/aic79xx_core.c: In function ‘ahd_handle_ign_wide_residue’: ../drivers/scsi/aic7xxx/aic79xx_core.c:5694:34: warning: variable ‘data_addr’ set but not used [-Wunused-but-set-variable=] 5694 | uint64_t data_addr; | ^~~~~~~~~ Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 Excess function parameter 'exclusive_vm' description in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 Excess function parameter 'exclusive_vm' description in 'ethosu_gem_cmdstream_create' ../drivers/scsi/elx/libefc/efc_node.c: In function ‘efc_node_alloc’: ../drivers/scsi/elx/libefc/efc_node.c:254:70: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~ In function ‘efc_node_update_display_name’, inlined from ‘efc_node_alloc’ at ../drivers/scsi/elx/libefc/efc_node.c:95:2: ../drivers/scsi/elx/libefc/efc_node.c:254:9: note: ‘snprintf’ output between 2 and 48 bytes into a destination of size 32 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c: In function ‘efc_node_update_display_name’: ../drivers/scsi/elx/libefc/efc_node.c:254:70: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c:254:9: note: ‘snprintf’ output between 2 and 48 bytes into a destination of size 32 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/scsi/mpt3sas/mpt3sas_ctl.c:2913 expecting prototype for mpt3sas_send_passthru_cmd(). Prototype was for mpt3sas_send_mctp_passthru_req() instead ../drivers/scsi/csiostor/csio_isr.c: In function ‘csio_add_msix_desc’: ../drivers/scsi/csiostor/csio_isr.c:374:68: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~ ../drivers/scsi/csiostor/csio_isr.c:374:45: note: directive argument in the range [0, 2147483644] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c:374:17: note: ‘snprintf’ output between 19 and 28 bytes into a destination of size 23 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 375 | CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | CSIO_PCI_FUNC(hw), i - CSIO_EXTRA_VECS); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/lpfc/lpfc_bsg.c: In function ‘diag_cmd_data_alloc’: ../drivers/scsi/lpfc/lpfc_bsg.c:2819:18: warning: variable ‘offset’ set but not used [-Wunused-but-set-variable=] 2819 | int cnt, offset = 0, i = 0; | ^~~~~~ In file included from ../include/linux/string.h:383, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/irqflags.h:100, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, 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:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:495 Excess function parameter 'vport' description in 'idpf_rx_desc_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:1400 Excess function parameter 'vport' description in 'idpf_vport_queue_grp_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:495 Excess function parameter 'vport' description in 'idpf_rx_desc_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:1400 Excess function parameter 'vport' description in 'idpf_vport_queue_grp_rel_all' ../drivers/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:743:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 743 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:743:46: note: directive argument in the range [0, 2147483646] 743 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:743:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 743 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/esas2r/esas2r_vda.c: In function ‘esas2r_complete_vda_ioctl’: ../drivers/scsi/esas2r/esas2r_vda.c:313:59: warning: ‘%2.2u’ directive output may be truncated writing between 2 and 3 bytes into a region of size between 1 and 3 [-Wformat-truncation=] 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~ ../drivers/scsi/esas2r/esas2r_vda.c:313:52: note: directive argument in the range [0, 255] 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~~~~~~~~~ ../drivers/scsi/esas2r/esas2r_vda.c:313:25: note: ‘snprintf’ output between 5 and 8 bytes into a destination of size 5 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | (int)LOBYTE(le16_to_cpu(rsp->fw_release)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | (int)HIBYTE(le16_to_cpu(rsp->fw_release))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c: In function ‘myri10ge_request_irq’: ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2197:44: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 2197 | "%s:slice-%d", netdev->name, i); | ^~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2197:34: note: directive argument in the range [-2147483641, 2147483646] 2197 | "%s:slice-%d", netdev->name, i); | ^~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2196:25: note: ‘snprintf’ output between 9 and 34 bytes into a destination of size 32 2196 | snprintf(ss->irq_desc, sizeof(ss->irq_desc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2197 | "%s:slice-%d", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/natsemi/ns83820.c: In function ‘ns83820_run_bist’: ../drivers/net/ethernet/natsemi/ns83820.c:1703:13: warning: variable ‘loops’ set but not used [-Wunused-but-set-variable=] 1703 | int loops = 0; | ^~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c: In function ‘netxen_nic_attach’: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:45: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-overflow=] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~ In function ‘netxen_nic_request_irq’, inlined from ‘netxen_nic_attach’ at ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1251:8: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:41: note: directive argument in the range [-2147483641, 254] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:17: note: ‘sprintf’ output between 4 and 29 bytes into a destination of size 20 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: In function ‘qlcnic_request_irq’: ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1765:49: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 9 and 24 [-Wformat-truncation=] 1765 | "%s-tx-%d", netdev->name, ring); | ^~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1765:42: note: directive argument in the range [-2147483641, 254] 1765 | "%s-tx-%d", netdev->name, ring); | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1764:33: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 28 1764 | snprintf(tx_ring->name, sizeof(tx_ring->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1765 | "%s-tx-%d", netdev->name, ring); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:54: note: directive argument in the range [-2147483641, 65534] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1882 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:273 Excess struct member 'ping_work' description in 'panthor_fw' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:273 Excess struct member 'ping_work' description in 'panthor_fw' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c: In function ‘qed_mfw_get_tlv_time_value’: ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:44: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 10 [-Wformat-truncation=] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:9: note: ‘snprintf’ output between 7 and 23 bytes into a destination of size 14 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 433 | p_time->month, p_time->day, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 434 | p_time->hour, p_time->min, p_time->msec, p_time->usec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 621 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 620 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 638 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 637 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 635 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 634 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:383, 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:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/edac/amd76x_edac.c:228 function parameter 'pdev' not described in 'amd76x_probe1' Warning: ../drivers/edac/amd76x_edac.c:228 function parameter 'pdev' not described in 'amd76x_probe1' ../drivers/net/ethernet/ti/tlan.c: In function ‘tlan_read_and_clear_stats’: ../drivers/net/ethernet/ti/tlan.c:2059:25: warning: variable ‘def_tx’ set but not used [-Wunused-but-set-variable=] 2059 | u32 def_tx, crc, code; | ^~~~~~ ../drivers/net/ethernet/sun/niu.c: In function ‘niu_txc_set_imask’: ../drivers/net/ethernet/sun/niu.c:4647:13: warning: variable ‘val’ set but not used [-Wunused-but-set-variable=] 4647 | u64 val; | ^~~ ../drivers/net/ethernet/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6028:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6046:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6112:8: ../drivers/net/ethernet/sun/niu.c:6028:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/panthor/panthor_mmu.c:405 Excess struct member 'kernel_auto_va.size' description in 'panthor_vm' Warning: ../drivers/gpu/drm/panthor/panthor_mmu.c:405 Excess struct member 'kernel_auto_va.size' description in 'panthor_vm' ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/media/i2c/ov9282.c:223 Excess struct member 'mutex' description in 'ov9282' Warning: ../drivers/media/i2c/ov9282.c:223 Excess struct member 'mutex' description in 'ov9282' ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1279 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1284 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 Excess function parameter 'msg' description in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 Excess function parameter 'msg' description in 'async_release' Warning: ../drivers/infiniband/hw/mlx5/umr.c:981 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * This function makes an mkey non-present by zapping the translation entries of Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:3930 Excess function parameter 'count' description in 'ice_dpll_init_fwnode_pins' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:4032 Excess function parameter 'cgu' description in 'ice_dpll_init_pins_e825' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:3930 Excess function parameter 'count' description in 'ice_dpll_init_fwnode_pins' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:4032 Excess function parameter 'cgu' description in 'ice_dpll_init_pins_e825' ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:41 function parameter 'mode_clk_rate' not described in 'dpu_core_perf_adjusted_mode_clk' Warning: ../drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:41 function parameter 'mode_clk_rate' not described in 'dpu_core_perf_adjusted_mode_clk' ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c: In function ‘jpeg_v2_5_sw_init’: ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:152:68: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 7 [-Wformat-truncation=] 152 | snprintf(ring->name, sizeof(ring->name), "jpeg_dec_%d", i); | ^~ ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:152:58: note: directive argument in the range [-2147483641, 254] 152 | snprintf(ring->name, sizeof(ring->name), "jpeg_dec_%d", i); | ^~~~~~~~~~~~~ ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:152:17: note: ‘snprintf’ output between 11 and 21 bytes into a destination of size 16 152 | snprintf(ring->name, sizeof(ring->name), "jpeg_dec_%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3659 Excess function parameter 'update_descriptor' description in 'update_planes_and_stream_state' Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3659 Excess function parameter 'update_descriptor' description in 'update_planes_and_stream_state' ../arch/x86/events/intel/uncore.c: In function ‘uncore_get_pmu_name’: ../arch/x86/events/intel/uncore.c:914:52: warning: ‘%s’ directive writing between 1 and 2147483645 bytes into a region of size 2147483428 [-Wformat-overflow=] 914 | sprintf(pmu->name, "uncore_%s", type->name); | ^~ ../arch/x86/events/intel/uncore.c:914:25: note: ‘sprintf’ output between 9 and 2147483653 bytes into a destination of size 2147483435 914 | sprintf(pmu->name, "uncore_%s", type->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Documentation/.renames.txt: warning: ignored by one of the .gitignore files Warning: ../security/smack/smack_access.c:584 expecting prototype for smk_import_valid_allocated_label(). Prototype was for smk_import_allocated_label() instead ../drivers/char/sonypi.c: In function ‘sonypi_call1’: ../drivers/char/sonypi.c:639:12: warning: variable ‘v1’ set but not used [-Wunused-but-set-variable=] 639 | u8 v1, v2; | ^~ Warning: ../block/blk-mq-dma.c:379 Excess function parameter 'state' description in 'blk_rq_integrity_dma_map_iter_next' Warning: ../block/blk-mq-dma.c:379 Excess function parameter 'state' description in 'blk_rq_integrity_dma_map_iter_next' ../drivers/message/fusion/mptsas.c: In function ‘mptsas_issue_tm’: ../drivers/message/fusion/mptsas.c:4790:26: warning: variable ‘timeleft’ set but not used [-Wunused-but-set-variable=] 4790 | unsigned long timeleft; | ^~~~~~~~ ../drivers/net/ethernet/8390/pcnet_cs.c: In function ‘dma_block_input’: ../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; | ^~~~~~~~~~ ../drivers/misc/dw-xdata-pcie.c: In function ‘dw_xdata_pcie_probe’: ../drivers/misc/dw-xdata-pcie.c:21:41: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 21 | #define DW_XDATA_DRIVER_NAME "dw-xdata-pcie" | ^~~~~~~~~~~~~~~ ../drivers/misc/dw-xdata-pcie.c:343:38: note: in expansion of macro ‘DW_XDATA_DRIVER_NAME’ 343 | snprintf(name, sizeof(name), DW_XDATA_DRIVER_NAME ".%d", id); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/misc/dw-xdata-pcie.c:391:64: note: format string is defined here 391 | if (sscanf(dw->misc_dev.name, DW_XDATA_DRIVER_NAME ".%d", &id) != 1) | ^ ../drivers/misc/dw-xdata-pcie.c:343:9: note: ‘snprintf’ output between 16 and 25 bytes into a destination of size 24 343 | snprintf(name, sizeof(name), DW_XDATA_DRIVER_NAME ".%d", id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:383, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/irqflags.h:100, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/slab.h:17, from ../include/linux/resource_ext.h:11, from ../include/linux/acpi.h:14, from ../include/acpi/apei.h:9, from ../include/acpi/ghes.h:5, from ../include/linux/arm_sdei.h:8, from ../drivers/acpi/apei/ghes.c:20: In function ‘fortify_memcpy_chk’, inlined from ‘ghes_handle_aer’ at ../drivers/acpi/apei/ghes.c:667:3: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/longhaul.c: In function ‘print_speed’: ../drivers/cpufreq/longhaul.c:102:31: warning: ‘GHz’ directive output may be truncated writing 3 bytes into a region of size between 2 and 5 [-Wformat-truncation=] 102 | "%d.%dGHz", speed/1000, (speed%1000)/100); | ^~~ ../drivers/cpufreq/longhaul.c:101:17: note: ‘snprintf’ output between 7 and 10 bytes into a destination of size 8 101 | snprintf(speedbuffer, sizeof(speedbuffer), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 102 | "%d.%dGHz", speed/1000, (speed%1000)/100); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/cpufreq/longhaul.c:93:63: warning: ‘MHz’ directive output may be truncated writing 3 bytes into a region of size between 0 and 7 [-Wformat-truncation=] 93 | snprintf(speedbuffer, sizeof(speedbuffer), "%dMHz", speed); | ^~~ ../drivers/cpufreq/longhaul.c:93:17: note: ‘snprintf’ output between 5 and 12 bytes into a destination of size 8 93 | snprintf(speedbuffer, sizeof(speedbuffer), "%dMHz", speed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/cpufreq/gx-suspmod.c:142 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * we can detect a core multiplier from dir0_lsb Warning: ../drivers/cpufreq/gx-suspmod.c:202 function parameter 'cpu' not described in 'gx_get_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'khz' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'on_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'off_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'policy' not described in 'gx_set_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'khz' not described in 'gx_set_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:202 function parameter 'cpu' not described in 'gx_get_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'khz' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'on_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:218 function parameter 'off_duration' not described in 'gx_validate_speed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'policy' not described in 'gx_set_cpuspeed' Warning: ../drivers/cpufreq/gx-suspmod.c:250 function parameter 'khz' not described in 'gx_set_cpuspeed' ../drivers/scsi/qla1280.c: In function ‘qla1280_load_firmware_dma’: ../drivers/scsi/qla1280.c:1714:22: warning: variable ‘num’ set but not used [-Wunused-but-set-variable=] 1714 | int err = 0, num, i; | ^~~ ../drivers/misc/bcm-vk/bcm_vk_dev.c: In function ‘bcm_vk_probe’: : warning: ‘_ttyVK’ directive output may be truncated writing 6 bytes into a region of size between 3 and 12 [-Wformat-truncation=] ../drivers/misc/bcm-vk/bcm_vk_dev.c:1456:38: note: in expansion of macro ‘KBUILD_MODNAME’ 1456 | snprintf(name, sizeof(name), KBUILD_MODNAME ".%d_ttyVK", id); | ^~~~~~~~~~~~~~ ../drivers/misc/bcm-vk/bcm_vk_dev.c:1456:9: note: ‘snprintf’ output between 15 and 24 bytes into a destination of size 20 1456 | snprintf(name, sizeof(name), KBUILD_MODNAME ".%d_ttyVK", id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/cpufreq/cpufreq-nforce2.c:134 function parameter 'bootfsb' not described in 'nforce2_fsb_read' Warning: ../drivers/cpufreq/cpufreq-nforce2.c:134 function parameter 'bootfsb' not described in 'nforce2_fsb_read' ../drivers/video/fbdev/riva/riva_hw.c: In function ‘nv4CalcArbitration’: ../drivers/video/fbdev/riva/riva_hw.c:662:24: warning: variable ‘pclks’ set but not used [-Wunused-but-set-variable=] 662 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^~~~~ ../drivers/video/fbdev/nvidia/nv_hw.c: In function ‘nv4CalcArbitration’: ../drivers/video/fbdev/nvidia/nv_hw.c:245:28: warning: variable ‘pclks’ set but not used [-Wunused-but-set-variable=] 245 | int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs; | ^~~~~ ../drivers/scsi/dc395x.c: In function ‘msgin_set_sync’: ../drivers/scsi/dc395x.c:2185:13: warning: variable ‘fact’ set but not used [-Wunused-but-set-variable=] 2185 | int fact; | ^~~~ ../drivers/scsi/megaraid.c: In function ‘mega_query_adapter’: ../drivers/scsi/megaraid.c:317:36: warning: ‘%d’ directive output may be truncated writing between 1 and 2 bytes into a region of size between 1 and 2 [-Wformat-truncation=] 317 | "%c%d%d.%d%d", | ^~ ../drivers/scsi/megaraid.c:317:26: note: directive argument in the range [0, 15] 317 | "%c%d%d.%d%d", | ^~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:316:17: note: ‘snprintf’ output between 7 and 9 bytes into a destination of size 7 316 | snprintf(adapter->fw_version, sizeof(adapter->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 317 | "%c%d%d.%d%d", | ~~~~~~~~~~~~~~ 318 | adapter->product_info.fw_version[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 319 | 0, | ~~ 320 | adapter->product_info.fw_version[1] & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 321 | 0, | ~~ 322 | adapter->product_info.fw_version[0] & 0x0f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:324:36: warning: ‘%d’ directive output may be truncated writing between 1 and 2 bytes into a region of size between 1 and 2 [-Wformat-truncation=] 324 | "%c%d%d.%d%d", | ^~ ../drivers/scsi/megaraid.c:324:26: note: directive argument in the range [0, 15] 324 | "%c%d%d.%d%d", | ^~~~~~~~~~~~~ ../drivers/scsi/megaraid.c:323:17: note: ‘snprintf’ output between 7 and 9 bytes into a destination of size 7 323 | snprintf(adapter->bios_version, sizeof(adapter->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 324 | "%c%d%d.%d%d", | ~~~~~~~~~~~~~~ 325 | adapter->product_info.bios_version[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 326 | 0, | ~~ 327 | adapter->product_info.bios_version[1] & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 328 | 0, | ~~ 329 | adapter->product_info.bios_version[0] & 0x0f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:31, from ../arch/x86/include/asm/bug.h:195, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/vmalloc.h:5, 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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:93:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 93 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u16.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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | 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(u16) | ^~~~~~~~~~~~~~ ../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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:91:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 91 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u8.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:483:25: note: in definition of macro ‘printk_index_wrap’ 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:564:9: note: in expansion of macro ‘printk’ 564 | 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:564:16: note: in expansion of macro ‘KERN_WARNING’ 564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:81:17: note: in expansion of macro ‘pr_warn’ 81 | 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(u8) | ^~~~~~~~~~~~~~ ../drivers/video/fbdev/sis/sis_main.c: In function ‘sisfb_post_xgi_delay’: ../drivers/video/fbdev/sis/sis_main.c:4541:12: warning: variable ‘reg’ set but not used [-Wunused-but-set-variable=] 4541 | u8 reg; | ^~~ ../drivers/scsi/myrb.c: In function ‘myrb_get_hba_config’: ../drivers/scsi/myrb.c:1050:29: warning: ‘%02u’ directive output may be truncated writing between 2 and 3 bytes into a region of size between 2 and 5 [-Wformat-truncation=] 1050 | "%u.%02u-%c-%02u", | ^~~~ ../drivers/scsi/myrb.c:1050:17: note: directive argument in the range [0, 255] 1050 | "%u.%02u-%c-%02u", | ^~~~~~~~~~~~~~~~~ ../drivers/scsi/myrb.c:1049:9: note: ‘snprintf’ output between 10 and 14 bytes into a destination of size 12 1049 | snprintf(cb->fw_version, sizeof(cb->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1050 | "%u.%02u-%c-%02u", | ~~~~~~~~~~~~~~~~~~ 1051 | enquiry2->fw.major_version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1052 | enquiry2->fw.minor_version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1053 | enquiry2->fw.firmware_type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1054 | enquiry2->fw.turn_id); | ~~~~~~~~~~~~~~~~~~~~~ ../fs/smb/smbdirect/devices.c: In function ‘smbdirect_ib_client_add’: ../fs/smb/smbdirect/devices.c:118:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 118 | snprintf(sdev->ib_name, ARRAY_SIZE(sdev->ib_name), "%.*s", | ^ ../fs/smb/smbdirect/devices.c:118:9: note: ‘snprintf’ output between 1 and 65 bytes into a destination of size 64 118 | snprintf(sdev->ib_name, ARRAY_SIZE(sdev->ib_name), "%.*s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | IB_DEVICE_NAME_MAX, ib_dev->name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘cxgb4vf_get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:44: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:18: note: directive argument in the range [0, 255] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1559:9: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 1559 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1561 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1562 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1563 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1564 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1565 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1566 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1567 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1568 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.tprev)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘adapter_up’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 371 | "%s-%d", dev->name, qs); | ^~ In function ‘name_msix_vecs’, inlined from ‘adapter_up’ at ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:778:4: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:34: note: directive argument in the range [-2147483641, 254] 371 | "%s-%d", dev->name, qs); | ^~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:370:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 21 370 | snprintf(adapter->msix_info[msi].desc, namelen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | "%s-%d", dev->name, qs); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/video/fbdev/kyro/STG4000VTG.c: In function ‘DisableVGA’: ../drivers/video/fbdev/kyro/STG4000VTG.c:20:22: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 20 | volatile u32 count = 0, i; | ^~~~~ In file included from ../include/linux/string.h:383, 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/fs_dirent.h:5, from ../include/linux/fs/super_types.h:5, from ../include/linux/fs/super.h:5, from ../include/linux/fs.h:5, from ../fs/smb/client/cifssmb.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFileInfo’ at ../fs/smb/client/cifssmb.c:4094:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4268:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4353:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:5138:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:5213:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:5285:4: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c: In function ‘SetCoreClockPLL’: ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:294:9: note: in expansion of macro ‘OS_DELAY’ 294 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:298:9: note: in expansion of macro ‘OS_DELAY’ 298 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:304:9: note: in expansion of macro ‘OS_DELAY’ 304 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:79:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable=] 79 | volatile u32 i,count=0; \ | ^~~~~ ../drivers/video/fbdev/kyro/STG4000InitDevice.c:308:9: note: in expansion of macro ‘OS_DELAY’ 308 | OS_DELAY(1000000); | ^~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/hotplug/cpqphp_core.c: In function ‘init_SERR’: ../drivers/pci/hotplug/cpqphp_core.c:122:13: warning: variable ‘tempdword’ set but not used [-Wunused-but-set-variable=] 122 | u32 tempdword; | ^~~~~~~~~ ../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/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/hotplug/cpqphp_pci.c: In function ‘cpqhp_find_available_resources’: ../drivers/pci/hotplug/cpqphp_pci.c:1159:12: warning: variable ‘bridged_slot’ set but not used [-Wunused-but-set-variable=] 1159 | u8 bridged_slot; | ^~~~~~~~~~~~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_set_coalesce’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:349:27: warning: variable ‘eqo’ set but not used [-Wunused-but-set-variable=] 349 | struct be_eq_obj *eqo; | ^~~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 'registered' description in 'pch_udc_dev' ../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/media/test-drivers/vivid/vivid-cec.c: In function ‘find_dest_adap’: ../drivers/media/test-drivers/vivid/vivid-cec.c:26:25: warning: variable ‘j’ set but not used [-Wunused-but-set-variable=] 26 | unsigned int i, j; | ^ ../drivers/media/test-drivers/vivid/vivid-cec.c: In function ‘vivid_cec_bus_thread’: ../drivers/media/test-drivers/vivid/vivid-cec.c:116:25: warning: variable ‘j’ set but not used [-Wunused-but-set-variable=] 116 | unsigned int i, j; | ^ ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:52: note: directive argument in the range [-2147483638, 2147483646] 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2804:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2804 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2805 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/drm_gem_shmem_helper.c:174 expecting prototype for __drm_gem_shmem_release_sgt_locked(). Prototype was for __drm_gem_shmem_free_sgt_locked() instead Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 Excess function parameter 'exclusive_vm' description in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:697 Excess function parameter 'exclusive_vm' description in 'ethosu_gem_cmdstream_create' ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c: In function ‘myri10ge_request_irq’: ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2197:44: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 2197 | "%s:slice-%d", netdev->name, i); | ^~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2197:34: note: directive argument in the range [-2147483641, 2147483646] 2197 | "%s:slice-%d", netdev->name, i); | ^~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2196:25: note: ‘snprintf’ output between 9 and 34 bytes into a destination of size 32 2196 | snprintf(ss->irq_desc, sizeof(ss->irq_desc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2197 | "%s:slice-%d", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/aic7xxx/aic7xxx_core.c: In function ‘ahc_handle_ign_wide_residue’: ../drivers/scsi/aic7xxx/aic7xxx_core.c:4171:34: warning: variable ‘data_addr’ set but not used [-Wunused-but-set-variable=] 4171 | uint32_t data_addr; | ^~~~~~~~~ ../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/net/ethernet/natsemi/ns83820.c: In function ‘ns83820_run_bist’: ../drivers/net/ethernet/natsemi/ns83820.c:1703:13: warning: variable ‘loops’ set but not used [-Wunused-but-set-variable=] 1703 | int loops = 0; | ^~~~~ In file included from ../include/linux/string.h:383, 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:9445:2: ../include/linux/fortify-string.h:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/aic7xxx/aic79xx_core.c: In function ‘ahd_handle_ign_wide_residue’: ../drivers/scsi/aic7xxx/aic79xx_core.c:5694:34: warning: variable ‘data_addr’ set but not used [-Wunused-but-set-variable=] 5694 | uint64_t data_addr; | ^~~~~~~~~ Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:495 Excess function parameter 'vport' description in 'idpf_rx_desc_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:1400 Excess function parameter 'vport' description in 'idpf_vport_queue_grp_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:495 Excess function parameter 'vport' description in 'idpf_rx_desc_rel_all' Warning: ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:1400 Excess function parameter 'vport' description in 'idpf_vport_queue_grp_rel_all' ../drivers/scsi/lpfc/lpfc_hbadisc.c: In function ‘lpfc_nlp_state_name.constprop’: ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:50: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~ ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:40: note: directive argument in the range [9, 2147483647] 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~~~~~~~~~~~~~ ../drivers/scsi/lpfc/lpfc_hbadisc.c:4834:17: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 16 4834 | snprintf(buffer, size, "unknown (%d)", state); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: In function ‘qlcnic_request_irq’: ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1765:49: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 9 and 24 [-Wformat-truncation=] 1765 | "%s-tx-%d", netdev->name, ring); | ^~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1765:42: note: directive argument in the range [-2147483641, 254] 1765 | "%s-tx-%d", netdev->name, ring); | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1764:33: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 28 1764 | snprintf(tx_ring->name, sizeof(tx_ring->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1765 | "%s-tx-%d", netdev->name, ring); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c: In function ‘csio_add_msix_desc’: ../drivers/scsi/csiostor/csio_isr.c:374:68: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~ ../drivers/scsi/csiostor/csio_isr.c:374:45: note: directive argument in the range [0, 2147483644] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c:374:17: note: ‘snprintf’ output between 19 and 28 bytes into a destination of size 23 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 375 | CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | CSIO_PCI_FUNC(hw), i - CSIO_EXTRA_VECS); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c: In function ‘netxen_nic_attach’: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:45: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-overflow=] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~ In function ‘netxen_nic_request_irq’, inlined from ‘netxen_nic_attach’ at ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1251:8: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:41: note: directive argument in the range [-2147483641, 254] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:17: note: ‘sprintf’ output between 4 and 29 bytes into a destination of size 20 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c: In function ‘efc_node_alloc’: ../drivers/scsi/elx/libefc/efc_node.c:254:70: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~ In function ‘efc_node_update_display_name’, inlined from ‘efc_node_alloc’ at ../drivers/scsi/elx/libefc/efc_node.c:95:2: ../drivers/scsi/elx/libefc/efc_node.c:254:9: note: ‘snprintf’ output between 2 and 48 bytes into a destination of size 32 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c: In function ‘efc_node_update_display_name’: ../drivers/scsi/elx/libefc/efc_node.c:254:70: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c:254:9: note: ‘snprintf’ output between 2 and 48 bytes into a destination of size 32 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:54: note: directive argument in the range [-2147483641, 65534] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1882 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:383, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/irqflags.h:100, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, 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:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 621 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 620 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 638 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 637 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 635 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 634 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/scsi/mpt3sas/mpt3sas_ctl.c:2913 expecting prototype for mpt3sas_send_passthru_cmd(). Prototype was for mpt3sas_send_mctp_passthru_req() instead ../drivers/scsi/lpfc/lpfc_bsg.c: In function ‘diag_cmd_data_alloc’: ../drivers/scsi/lpfc/lpfc_bsg.c:2819:18: warning: variable ‘offset’ set but not used [-Wunused-but-set-variable=] 2819 | int cnt, offset = 0, i = 0; | ^~~~~~ ../drivers/scsi/esas2r/esas2r_vda.c: In function ‘esas2r_complete_vda_ioctl’: ../drivers/scsi/esas2r/esas2r_vda.c:313:59: warning: ‘%2.2u’ directive output may be truncated writing between 2 and 3 bytes into a region of size between 1 and 3 [-Wformat-truncation=] 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~ ../drivers/scsi/esas2r/esas2r_vda.c:313:52: note: directive argument in the range [0, 255] 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~~~~~~~~~ ../drivers/scsi/esas2r/esas2r_vda.c:313:25: note: ‘snprintf’ output between 5 and 8 bytes into a destination of size 5 313 | snprintf(buf, sizeof(buf), "%1.1u.%2.2u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | (int)LOBYTE(le16_to_cpu(rsp->fw_release)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | (int)HIBYTE(le16_to_cpu(rsp->fw_release))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:383, 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:530: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] 530 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sun/niu.c: In function ‘niu_txc_set_imask’: ../drivers/net/ethernet/sun/niu.c:4647:13: warning: variable ‘val’ set but not used [-Wunused-but-set-variable=] 4647 | u64 val; | ^~~ ../drivers/net/ethernet/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6028:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6046:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6112:8: ../drivers/net/ethernet/sun/niu.c:6028:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c: In function ‘qed_mfw_get_tlv_time_value’: ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:44: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 10 [-Wformat-truncation=] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:9: note: ‘snprintf’ output between 7 and 23 bytes into a destination of size 14 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 433 | p_time->month, p_time->day, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 434 | p_time->hour, p_time->min, p_time->msec, p_time->usec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/tlan.c: In function ‘tlan_read_and_clear_stats’: ../drivers/net/ethernet/ti/tlan.c:2059:25: warning: variable ‘def_tx’ set but not used [-Wunused-but-set-variable=] 2059 | u32 def_tx, crc, code; | ^~~~~~ Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' ../drivers/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:743:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 743 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:743:46: note: directive argument in the range [0, 2147483646] 743 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:743:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 743 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/edac/amd76x_edac.c:228 function parameter 'pdev' not described in 'amd76x_probe1' Warning: ../drivers/edac/amd76x_edac.c:228 function parameter 'pdev' not described in 'amd76x_probe1' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1279 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1284 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:273 Excess struct member 'ping_work' description in 'panthor_fw' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'start' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:143 Excess struct member 'end' description in 'panthor_fw_binary_section_entry_hdr' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'buf' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:200 Excess struct member 'size' description in 'panthor_fw_section' Warning: ../drivers/gpu/drm/panthor/panthor_fw.c:273 Excess struct member 'ping_work' description in 'panthor_fw' Warning: ../drivers/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 Excess function parameter 'msg' description in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 Excess function parameter 'msg' description in 'async_release' Warning: ../drivers/gpu/drm/panthor/panthor_mmu.c:405 Excess struct member 'kernel_auto_va.size' description in 'panthor_vm' Warning: ../drivers/gpu/drm/panthor/panthor_mmu.c:405 Excess struct member 'kernel_auto_va.size' description in 'panthor_vm' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:3930 Excess function parameter 'count' description in 'ice_dpll_init_fwnode_pins' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:4032 Excess function parameter 'cgu' description in 'ice_dpll_init_pins_e825' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:3930 Excess function parameter 'count' description in 'ice_dpll_init_fwnode_pins' Warning: ../drivers/net/ethernet/intel/ice/ice_dpll.c:4032 Excess function parameter 'cgu' description in 'ice_dpll_init_pins_e825' Warning: ../drivers/infiniband/hw/mlx5/umr.c:981 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * This function makes an mkey non-present by zapping the translation entries of ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output 32 or more bytes (assuming 39) into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../drivers/media/i2c/ov9282.c:223 Excess struct member 'mutex' description in 'ov9282' Warning: ../drivers/media/i2c/ov9282.c:223 Excess struct member 'mutex' description in 'ov9282' Warning: ../drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:41 function parameter 'mode_clk_rate' not described in 'dpu_core_perf_adjusted_mode_clk' Warning: ../drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:41 function parameter 'mode_clk_rate' not described in 'dpu_core_perf_adjusted_mode_clk' ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c: In function ‘jpeg_v2_5_sw_init’: ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:152:68: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 7 [-Wformat-truncation=] 152 | snprintf(ring->name, sizeof(ring->name), "jpeg_dec_%d", i); | ^~ ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:152:58: note: directive argument in the range [-2147483641, 254] 152 | snprintf(ring->name, sizeof(ring->name), "jpeg_dec_%d", i); | ^~~~~~~~~~~~~ ../drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:152:17: note: ‘snprintf’ output between 11 and 21 bytes into a destination of size 16 152 | snprintf(ring->name, sizeof(ring->name), "jpeg_dec_%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3659 Excess function parameter 'update_descriptor' description in 'update_planes_and_stream_state' Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3659 Excess function parameter 'update_descriptor' description in 'update_planes_and_stream_state'