/srv/nipa-poller/net-next/wt-1/Makefile:1208: C=1 specified, but sparse is not available or not up to date /srv/nipa-poller/net-next/wt-1/Makefile:1208: C=1 specified, but sparse is not available or not up to date 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/applicom.c: In function ‘ac_register_board’: ../drivers/char/applicom.c:130:32: warning: variable ‘byte_reset_it’ set but not used [-Wunused-but-set-variable] 130 | volatile unsigned char byte_reset_it; | ^~~~~~~~~~~~~ ../drivers/char/applicom.c: In function ‘ac_read’: ../drivers/char/applicom.c:542:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 542 | int ret = 0; | ^~~ ../drivers/char/applicom.c: In function ‘ac_ioctl’: ../drivers/char/applicom.c:705:32: warning: variable ‘byte_reset_it’ set but not used [-Wunused-but-set-variable] 705 | volatile unsigned char byte_reset_it; | ^~~~~~~~~~~~~ Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' Warning: ../security/landlock/ruleset.c:208 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:208 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:208 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:208 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' ../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; | ^~~~~~~~ ../arch/x86/kernel/cpu/mtrr/mtrr.c: In function ‘mtrr_bp_init’: ../arch/x86/kernel/cpu/mtrr/mtrr.c:550:31: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 550 | unsigned long config, dummy; | ^~~~~ Warning: ../security/apparmor/af_unix.c:618 Cannot find identifier on line: * Warning: ../security/apparmor/af_unix.c:626 function parameter 'subj_cred' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'op' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'request' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 expecting prototype for Requires(). Prototype was for aa_unix_peer_perm() instead In file included from ../include/linux/string.h:386, 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:102, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../arch/x86/kernel/cpu/mtrr/cleanup.c: In function ‘mtrr_cleanup’: ../arch/x86/kernel/cpu/mtrr/cleanup.c:660:40: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 660 | unsigned long base, size, def, dummy; | ^~~~~ ../arch/x86/kernel/cpu/mtrr/cleanup.c: In function ‘mtrr_trim_uncached_memory’: ../arch/x86/kernel/cpu/mtrr/cleanup.c:856:60: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 856 | unsigned long i, base, size, highest_pfn = 0, def, dummy; | ^~~~~ ../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/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/linux/string.h:386, 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/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:4093:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4267:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4352:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:5137:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:5212:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:5284:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c: In function ‘init_e1_port’: ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:64: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:53: note: directive argument in the range [-2147483644, 2147483647] 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:17: note: ‘snprintf’ output between 11 and 31 bytes into a destination of size 19 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4832 | HFC_cnt + 1, pt+1); | ~~~~~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c: In function ‘init_multi_port’: ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:65: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:53: note: directive argument in the range [-2147483644, 2147483647] 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:17: note: ‘snprintf’ output between 11 and 41 bytes into a destination of size 19 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4950 | hc->ctype, HFC_cnt + 1, pt + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/net/ethernet/broadcom/bnx2.c: In function ‘bnx2_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnx2.c:6288:56: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~ In function ‘bnx2_enable_msix’, inlined from ‘bnx2_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnx2.c:6314:3: ../drivers/net/ethernet/broadcom/bnx2.c:6288:52: note: directive argument in the range [0, 2147483646] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:6288:17: note: ‘snprintf’ output between 3 and 27 bytes into a destination of size 18 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c: In function ‘alx_request_msix’: ../drivers/net/ethernet/atheros/alx/main.c:874:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:874:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 875 | np->rxq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:871:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:871:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 872 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:55: warning: ‘%u’ directive writing between 1 and 5 bytes into a region of size between 3 and 18 [-Wformat-overflow=] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~ ../drivers/net/ethernet/atheros/alx/main.c:868:46: note: directive argument in the range [0, 65535] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:25: note: ‘sprintf’ output between 8 and 27 bytes into a destination of size 24 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 869 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:31, from ../arch/x86/include/asm/bug.h:193, 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_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/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/cavium/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1119:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1119:54: note: directive argument in the range [0, 2147483646] 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1118:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1118 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1120 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1124:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1124:54: note: directive argument in the range [0, 2147483646] 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1123:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1123 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1125 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1572 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] 1572 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1570 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1571 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1572 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1583 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] 1583 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1581 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1583 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, 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/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c: In function ‘mtk_pcie_parse_port’: ../drivers/pci/controller/pcie-mediatek.c:963:43: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 963 | snprintf(name, sizeof(name), "port%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:963:38: note: directive argument in the range [0, 2147483647] 963 | snprintf(name, sizeof(name), "port%d", slot); | ^~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:963:9: note: ‘snprintf’ output between 6 and 15 bytes into a destination of size 10 963 | snprintf(name, sizeof(name), "port%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:970:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 970 | snprintf(name, sizeof(name), "sys_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:970:38: note: directive argument in the range [0, 2147483647] 970 | snprintf(name, sizeof(name), "sys_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:970:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 970 | snprintf(name, sizeof(name), "sys_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:978:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 978 | snprintf(name, sizeof(name), "ahb_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:978:38: note: directive argument in the range [0, 2147483647] 978 | snprintf(name, sizeof(name), "ahb_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:978:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 978 | snprintf(name, sizeof(name), "ahb_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:983:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 983 | snprintf(name, sizeof(name), "axi_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:983:38: note: directive argument in the range [0, 2147483647] 983 | snprintf(name, sizeof(name), "axi_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:983:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 983 | snprintf(name, sizeof(name), "axi_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:988:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 988 | snprintf(name, sizeof(name), "aux_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:988:38: note: directive argument in the range [0, 2147483647] 988 | snprintf(name, sizeof(name), "aux_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:988:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 988 | snprintf(name, sizeof(name), "aux_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:993:46: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] 993 | snprintf(name, sizeof(name), "obff_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:993:38: note: directive argument in the range [0, 2147483647] 993 | snprintf(name, sizeof(name), "obff_ck%d", slot); | ^~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:993:9: note: ‘snprintf’ output between 9 and 18 bytes into a destination of size 10 993 | snprintf(name, sizeof(name), "obff_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:998:46: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] 998 | snprintf(name, sizeof(name), "pipe_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:998:38: note: directive argument in the range [0, 2147483647] 998 | snprintf(name, sizeof(name), "pipe_ck%d", slot); | ^~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:998:9: note: ‘snprintf’ output between 9 and 18 bytes into a destination of size 10 998 | snprintf(name, sizeof(name), "pipe_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1003:47: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 1003 | snprintf(name, sizeof(name), "pcie-rst%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:1003:38: note: directive argument in the range [0, 2147483647] 1003 | snprintf(name, sizeof(name), "pcie-rst%d", slot); | ^~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1003:9: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 1003 | snprintf(name, sizeof(name), "pcie-rst%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1009:47: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 1009 | snprintf(name, sizeof(name), "pcie-phy%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:1009:38: note: directive argument in the range [0, 2147483647] 1009 | snprintf(name, sizeof(name), "pcie-phy%d", slot); | ^~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1009:9: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 1009 | snprintf(name, sizeof(name), "pcie-phy%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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' In file included from ../include/linux/string.h:386, 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:102, 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:578: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] 578 | __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:2797: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=] 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2797:52: note: directive argument in the range [-2147483639, 2147483646] 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2797:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2798 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../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/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:748:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:46: note: directive argument in the range [0, 2147483646] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/accel/ethosu/ethosu_gem.c:680 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:680 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1923 expecting prototype for amdgpu_ttm_mmio_remap_bo_init(). Prototype was for amdgpu_ttm_alloc_mmio_remap_bo() instead ../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))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/gma500/framebuffer.c:34 function parameter 'info' not described in 'psb_framebuffer_init' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:101 function parameter 'info' not described in 'psb_user_framebuffer_create' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:34 function parameter 'info' not described in 'psb_framebuffer_init' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:101 function parameter 'info' not described in 'psb_user_framebuffer_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 [-2147483643, 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/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 [-2147483643, 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/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/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:510:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 510 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:510:32: note: directive argument in the range [-2147483641, 2147483646] 510 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:510:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 510 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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:386, 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/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:663:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 27 and 29 [-Wformat-truncation=] 663 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:710:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:663:25: note: ‘snprintf’ output between 4 and 69 bytes into a destination of size 32 663 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 664 | stmmac_qstats_tx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:670:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 27 and 29 [-Wformat-truncation=] 670 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:710:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:670:25: note: ‘snprintf’ output between 4 and 69 bytes into a destination of size 32 670 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 671 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' ../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/arcnet/com20020-pci.c: In function ‘com20020pci_probe’: ../drivers/net/arcnet/com20020-pci.c:224:71: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 11 [-Wformat-truncation=] 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~ ../drivers/net/arcnet/com20020-pci.c:224:64: note: directive argument in the range [-2147483641, 2147483646] 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c:224:25: note: ‘snprintf’ output between 7 and 18 bytes into a destination of size 16 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2783 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2783 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../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 between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes 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/edac/sb_edac.c: In function ‘__populate_dimms’: ../drivers/edac/sb_edac.c:1679:85: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 1679 | "CPU_SrcID#%u_Ha#%u_Chan#%u_DIMM#%u", | ^ ../drivers/edac/sb_edac.c:1678:33: note: ‘snprintf’ output between 31 and 42 bytes into a destination of size 32 1678 | snprintf(dimm->label, sizeof(dimm->label), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1679 | "CPU_SrcID#%u_Ha#%u_Chan#%u_DIMM#%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1680 | pvt->sbridge_dev->source_id, pvt->sbridge_dev->dom, i, j); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' ../drivers/edac/skx_common.c: In function ‘skx_get_nvdimm_info’: ../drivers/edac/skx_common.c:555:79: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 555 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:555:52: note: using the range [0, 4294967295] for directive argument 555 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:555:9: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 555 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 556 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c: In function ‘skx_get_dimm_info’: ../drivers/edac/skx_common.c:506:87: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 506 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:506:60: note: using the range [0, 4294967295] for directive argument 506 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:506:17: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 506 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 507 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 1535 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 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/infiniband/hw/mlx5/umr.c:986 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 between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes 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 between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes 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/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' Warning: ../drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c:1261 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * xe_gt_sriov_pf_control_trigger restore_vf() - Start an SR-IOV VF migration data restore sequence. Warning: ../drivers/gpu/drm/msm/dsi/dsi_host.c:590 function parameter 'is_bonded_dsi' not described in 'dsi_adjust_pclk_for_compression' Warning: ../drivers/gpu/drm/msm/dsi/dsi_host.c:590 function parameter 'is_bonded_dsi' not described in 'dsi_adjust_pclk_for_compression' Warning: ../drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c:415 expecting prototype for smu_msg_proto_v1_send_msg(). Prototype was for smu_msg_v1_send_msg() instead Warning: ../drivers/gpu/drm/amd/amdgpu/../ras/rascore/ras_eeprom.c:845 function parameter 'ras_core' not described in 'ras_eeprom_append' Warning: ../drivers/gpu/drm/amd/amdgpu/../ras/rascore/ras_eeprom.c:845 expecting prototype for ras_core_eeprom_append(). Prototype was for ras_eeprom_append() instead /srv/nipa-poller/net-next/wt-1/Makefile:1208: C=1 specified, but sparse is not available or not up to date /srv/nipa-poller/net-next/wt-1/Makefile:1208: C=1 specified, but sparse is not available or not up to date 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 Warning: ../security/landlock/ruleset.c:208 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:208 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:208 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:208 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' ../drivers/char/applicom.c: In function ‘ac_register_board’: ../drivers/char/applicom.c:130:32: warning: variable ‘byte_reset_it’ set but not used [-Wunused-but-set-variable] 130 | volatile unsigned char byte_reset_it; | ^~~~~~~~~~~~~ ../drivers/char/applicom.c: In function ‘ac_read’: ../drivers/char/applicom.c:542:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 542 | int ret = 0; | ^~~ ../drivers/char/applicom.c: In function ‘ac_ioctl’: ../drivers/char/applicom.c:705:32: warning: variable ‘byte_reset_it’ set but not used [-Wunused-but-set-variable] 705 | volatile unsigned char byte_reset_it; | ^~~~~~~~~~~~~ Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' ../drivers/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; | ^~~~~~~~ ../arch/x86/kernel/cpu/mtrr/mtrr.c: In function ‘mtrr_bp_init’: ../arch/x86/kernel/cpu/mtrr/mtrr.c:550:31: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 550 | unsigned long config, dummy; | ^~~~~ ../arch/x86/kernel/cpu/mtrr/cleanup.c: In function ‘mtrr_cleanup’: ../arch/x86/kernel/cpu/mtrr/cleanup.c:660:40: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 660 | unsigned long base, size, def, dummy; | ^~~~~ ../arch/x86/kernel/cpu/mtrr/cleanup.c: In function ‘mtrr_trim_uncached_memory’: ../arch/x86/kernel/cpu/mtrr/cleanup.c:856:60: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 856 | unsigned long i, base, size, highest_pfn = 0, def, dummy; | ^~~~~ Warning: ../security/apparmor/af_unix.c:618 Cannot find identifier on line: * Warning: ../security/apparmor/af_unix.c:626 function parameter 'subj_cred' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'op' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'request' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 expecting prototype for Requires(). Prototype was for aa_unix_peer_perm() instead ../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:386, 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:102, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c: In function ‘init_e1_port’: ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:64: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:53: note: directive argument in the range [-2147483644, 2147483647] 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:17: note: ‘snprintf’ output between 11 and 31 bytes into a destination of size 19 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4832 | HFC_cnt + 1, pt+1); | ~~~~~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c: In function ‘init_multi_port’: ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:65: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:53: note: directive argument in the range [-2147483644, 2147483647] 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:17: note: ‘snprintf’ output between 11 and 41 bytes into a destination of size 19 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4950 | hc->ctype, HFC_cnt + 1, pt + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/linux/string.h:386, 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/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:4093:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4267:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4352:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:5137:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:5212:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:5284:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:31, from ../arch/x86/include/asm/bug.h:193, 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_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/net/ethernet/atheros/alx/main.c: In function ‘alx_request_msix’: ../drivers/net/ethernet/atheros/alx/main.c:874:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:874:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 875 | np->rxq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:871:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:871:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 872 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:55: warning: ‘%u’ directive writing between 1 and 5 bytes into a region of size between 3 and 18 [-Wformat-overflow=] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~ ../drivers/net/ethernet/atheros/alx/main.c:868:46: note: directive argument in the range [0, 65535] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:25: note: ‘sprintf’ output between 8 and 27 bytes into a destination of size 24 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 869 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1119:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1119:54: note: directive argument in the range [0, 2147483646] 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1118:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1118 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1120 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1124:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1124:54: note: directive argument in the range [0, 2147483646] 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1123:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1123 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1125 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c: In function ‘bnx2_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnx2.c:6288:56: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~ In function ‘bnx2_enable_msix’, inlined from ‘bnx2_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnx2.c:6314:3: ../drivers/net/ethernet/broadcom/bnx2.c:6288:52: note: directive argument in the range [0, 2147483646] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:6288:17: note: ‘snprintf’ output between 3 and 27 bytes into a destination of size 18 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1572 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] 1572 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1570 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1571 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1572 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1583 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] 1583 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1581 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1583 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2797: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=] 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2797:52: note: directive argument in the range [-2147483639, 2147483646] 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2797:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2798 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, 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/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/accel/ethosu/ethosu_gem.c:680 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:680 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' 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/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/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/gpu/drm/gma500/framebuffer.c:34 function parameter 'info' not described in 'psb_framebuffer_init' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:101 function parameter 'info' not described in 'psb_user_framebuffer_create' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:34 function parameter 'info' not described in 'psb_framebuffer_init' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:101 function parameter 'info' not described in 'psb_user_framebuffer_create' Warning: ../drivers/scsi/mpt3sas/mpt3sas_ctl.c:2913 expecting prototype for mpt3sas_send_passthru_cmd(). Prototype was for mpt3sas_send_mctp_passthru_req() instead In file included from ../include/linux/string.h:386, 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:102, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:510:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 510 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:510:32: note: directive argument in the range [-2147483641, 2147483646] 510 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:510:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 510 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c: In function ‘mtk_pcie_parse_port’: ../drivers/pci/controller/pcie-mediatek.c:963:43: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 963 | snprintf(name, sizeof(name), "port%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:963:38: note: directive argument in the range [0, 2147483647] 963 | snprintf(name, sizeof(name), "port%d", slot); | ^~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:963:9: note: ‘snprintf’ output between 6 and 15 bytes into a destination of size 10 963 | snprintf(name, sizeof(name), "port%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:970:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 970 | snprintf(name, sizeof(name), "sys_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:970:38: note: directive argument in the range [0, 2147483647] 970 | snprintf(name, sizeof(name), "sys_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:970:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 970 | snprintf(name, sizeof(name), "sys_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:978:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 978 | snprintf(name, sizeof(name), "ahb_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:978:38: note: directive argument in the range [0, 2147483647] 978 | snprintf(name, sizeof(name), "ahb_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:978:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 978 | snprintf(name, sizeof(name), "ahb_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:983:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 983 | snprintf(name, sizeof(name), "axi_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:983:38: note: directive argument in the range [0, 2147483647] 983 | snprintf(name, sizeof(name), "axi_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:983:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 983 | snprintf(name, sizeof(name), "axi_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:988:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 988 | snprintf(name, sizeof(name), "aux_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:988:38: note: directive argument in the range [0, 2147483647] 988 | snprintf(name, sizeof(name), "aux_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:988:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 988 | snprintf(name, sizeof(name), "aux_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:993:46: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] 993 | snprintf(name, sizeof(name), "obff_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:993:38: note: directive argument in the range [0, 2147483647] 993 | snprintf(name, sizeof(name), "obff_ck%d", slot); | ^~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:993:9: note: ‘snprintf’ output between 9 and 18 bytes into a destination of size 10 993 | snprintf(name, sizeof(name), "obff_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:998:46: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] 998 | snprintf(name, sizeof(name), "pipe_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:998:38: note: directive argument in the range [0, 2147483647] 998 | snprintf(name, sizeof(name), "pipe_ck%d", slot); | ^~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:998:9: note: ‘snprintf’ output between 9 and 18 bytes into a destination of size 10 998 | snprintf(name, sizeof(name), "pipe_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1003:47: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 1003 | snprintf(name, sizeof(name), "pcie-rst%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:1003:38: note: directive argument in the range [0, 2147483647] 1003 | snprintf(name, sizeof(name), "pcie-rst%d", slot); | ^~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1003:9: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 1003 | snprintf(name, sizeof(name), "pcie-rst%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1009:47: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 1009 | snprintf(name, sizeof(name), "pcie-phy%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:1009:38: note: directive argument in the range [0, 2147483647] 1009 | snprintf(name, sizeof(name), "pcie-phy%d", slot); | ^~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1009:9: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 1009 | snprintf(name, sizeof(name), "pcie-phy%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:748:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:46: note: directive argument in the range [0, 2147483646] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1923 expecting prototype for amdgpu_ttm_mmio_remap_bo_init(). Prototype was for amdgpu_ttm_alloc_mmio_remap_bo() instead ../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 [-2147483643, 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/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/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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 [-2147483643, 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2783 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2783 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' ../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/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/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, 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/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c: In function ‘com20020pci_probe’: ../drivers/net/arcnet/com20020-pci.c:224:71: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 11 [-Wformat-truncation=] 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~ ../drivers/net/arcnet/com20020-pci.c:224:64: note: directive argument in the range [-2147483641, 2147483646] 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c:224:25: note: ‘snprintf’ output between 7 and 18 bytes into a destination of size 16 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:663:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 27 and 29 [-Wformat-truncation=] 663 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:710:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:663:25: note: ‘snprintf’ output between 4 and 69 bytes into a destination of size 32 663 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 664 | stmmac_qstats_tx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:670:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 27 and 29 [-Wformat-truncation=] 670 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:710:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:670:25: note: ‘snprintf’ output between 4 and 69 bytes into a destination of size 32 670 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 671 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes 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' ../drivers/edac/sb_edac.c: In function ‘__populate_dimms’: ../drivers/edac/sb_edac.c:1679:85: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 1679 | "CPU_SrcID#%u_Ha#%u_Chan#%u_DIMM#%u", | ^ ../drivers/edac/sb_edac.c:1678:33: note: ‘snprintf’ output between 31 and 42 bytes into a destination of size 32 1678 | snprintf(dimm->label, sizeof(dimm->label), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1679 | "CPU_SrcID#%u_Ha#%u_Chan#%u_DIMM#%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1680 | pvt->sbridge_dev->source_id, pvt->sbridge_dev->dom, i, j); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/infiniband/hw/mlx5/umr.c:986 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/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' ../drivers/edac/skx_common.c: In function ‘skx_get_nvdimm_info’: ../drivers/edac/skx_common.c:555:79: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 555 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:555:52: note: using the range [0, 4294967295] for directive argument 555 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:555:9: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 555 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 556 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c: In function ‘skx_get_dimm_info’: ../drivers/edac/skx_common.c:506:87: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 506 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:506:60: note: using the range [0, 4294967295] for directive argument 506 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:506:17: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 506 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 507 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 1535 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 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes 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 between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes 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/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' Warning: ../drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c:1261 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * xe_gt_sriov_pf_control_trigger restore_vf() - Start an SR-IOV VF migration data restore sequence. Warning: ../drivers/gpu/drm/msm/dsi/dsi_host.c:590 function parameter 'is_bonded_dsi' not described in 'dsi_adjust_pclk_for_compression' Warning: ../drivers/gpu/drm/msm/dsi/dsi_host.c:590 function parameter 'is_bonded_dsi' not described in 'dsi_adjust_pclk_for_compression' Warning: ../drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c:415 expecting prototype for smu_msg_proto_v1_send_msg(). Prototype was for smu_msg_v1_send_msg() instead Warning: ../drivers/gpu/drm/amd/amdgpu/../ras/rascore/ras_eeprom.c:845 function parameter 'ras_core' not described in 'ras_eeprom_append' Warning: ../drivers/gpu/drm/amd/amdgpu/../ras/rascore/ras_eeprom.c:845 expecting prototype for ras_core_eeprom_append(). Prototype was for ras_eeprom_append() instead /srv/nipa-poller/net-next/wt-1/Makefile:1208: C=1 specified, but sparse is not available or not up to date /srv/nipa-poller/net-next/wt-1/Makefile:1208: C=1 specified, but sparse is not available or not up to date 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/applicom.c: In function ‘ac_register_board’: ../drivers/char/applicom.c:130:32: warning: variable ‘byte_reset_it’ set but not used [-Wunused-but-set-variable] 130 | volatile unsigned char byte_reset_it; | ^~~~~~~~~~~~~ ../drivers/char/applicom.c: In function ‘ac_read’: ../drivers/char/applicom.c:542:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 542 | int ret = 0; | ^~~ ../drivers/char/applicom.c: In function ‘ac_ioctl’: ../drivers/char/applicom.c:705:32: warning: variable ‘byte_reset_it’ set but not used [-Wunused-but-set-variable] 705 | volatile unsigned char byte_reset_it; | ^~~~~~~~~~~~~ Warning: ../security/landlock/ruleset.c:208 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:208 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:208 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:208 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' ../drivers/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; | ^~~~~~~~ Warning: ../security/apparmor/af_unix.c:618 Cannot find identifier on line: * Warning: ../security/apparmor/af_unix.c:626 function parameter 'subj_cred' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'op' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'request' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 expecting prototype for Requires(). Prototype was for aa_unix_peer_perm() instead ../arch/x86/kernel/cpu/mtrr/mtrr.c: In function ‘mtrr_bp_init’: ../arch/x86/kernel/cpu/mtrr/mtrr.c:550:31: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 550 | unsigned long config, dummy; | ^~~~~ In file included from ../include/linux/string.h:386, 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:102, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../arch/x86/kernel/cpu/mtrr/cleanup.c: In function ‘mtrr_cleanup’: ../arch/x86/kernel/cpu/mtrr/cleanup.c:660:40: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 660 | unsigned long base, size, def, dummy; | ^~~~~ ../arch/x86/kernel/cpu/mtrr/cleanup.c: In function ‘mtrr_trim_uncached_memory’: ../arch/x86/kernel/cpu/mtrr/cleanup.c:856:60: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 856 | unsigned long i, base, size, highest_pfn = 0, def, dummy; | ^~~~~ ../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/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/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/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/isdn/hardware/mISDN/hfcmulti.c: In function ‘init_e1_port’: ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:64: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:53: note: directive argument in the range [-2147483644, 2147483647] 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4831:17: note: ‘snprintf’ output between 11 and 31 bytes into a destination of size 19 4831 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-e1.%d-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4832 | HFC_cnt + 1, pt+1); | ~~~~~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c: In function ‘init_multi_port’: ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:65: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:53: note: directive argument in the range [-2147483644, 2147483647] 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~~~~~~~~~~~~~~ ../drivers/isdn/hardware/mISDN/hfcmulti.c:4949:17: note: ‘snprintf’ output between 11 and 41 bytes into a destination of size 19 4949 | snprintf(name, MISDN_MAX_IDLEN - 1, "hfc-%ds.%d-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4950 | hc->ctype, HFC_cnt + 1, pt + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c: In function ‘bnx2_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnx2.c:6288:56: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~ In function ‘bnx2_enable_msix’, inlined from ‘bnx2_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnx2.c:6314:3: ../drivers/net/ethernet/broadcom/bnx2.c:6288:52: note: directive argument in the range [0, 2147483646] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:6288:17: note: ‘snprintf’ output between 3 and 27 bytes into a destination of size 18 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c: In function ‘alx_request_msix’: ../drivers/net/ethernet/atheros/alx/main.c:874:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:874:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 875 | np->rxq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:871:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:871:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 872 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:55: warning: ‘%u’ directive writing between 1 and 5 bytes into a region of size between 3 and 18 [-Wformat-overflow=] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~ ../drivers/net/ethernet/atheros/alx/main.c:868:46: note: directive argument in the range [0, 65535] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:25: note: ‘sprintf’ output between 8 and 27 bytes into a destination of size 24 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 869 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1119:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1119:54: note: directive argument in the range [0, 2147483646] 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1118:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1118 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1119 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1120 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1124:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1124:54: note: directive argument in the range [0, 2147483646] 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1123:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1123 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1124 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1125 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, 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/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:4093:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4267:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4352:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:5137:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:5212:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:5284:4: ../include/linux/fortify-string.h:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1572 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] 1572 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1570 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1571 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1572 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1583 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] 1583 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1581 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1583 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:31, from ../arch/x86/include/asm/bug.h:193, 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_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/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/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2797: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=] 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2797:52: note: directive argument in the range [-2147483639, 2147483646] 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2797:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2798 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:386, 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/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:680 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:680 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' ../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/pci/controller/pcie-mediatek.c: In function ‘mtk_pcie_parse_port’: ../drivers/pci/controller/pcie-mediatek.c:963:43: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 963 | snprintf(name, sizeof(name), "port%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:963:38: note: directive argument in the range [0, 2147483647] 963 | snprintf(name, sizeof(name), "port%d", slot); | ^~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:963:9: note: ‘snprintf’ output between 6 and 15 bytes into a destination of size 10 963 | snprintf(name, sizeof(name), "port%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:970:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 970 | snprintf(name, sizeof(name), "sys_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:970:38: note: directive argument in the range [0, 2147483647] 970 | snprintf(name, sizeof(name), "sys_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:970:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 970 | snprintf(name, sizeof(name), "sys_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:978:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 978 | snprintf(name, sizeof(name), "ahb_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:978:38: note: directive argument in the range [0, 2147483647] 978 | snprintf(name, sizeof(name), "ahb_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:978:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 978 | snprintf(name, sizeof(name), "ahb_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:983:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 983 | snprintf(name, sizeof(name), "axi_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:983:38: note: directive argument in the range [0, 2147483647] 983 | snprintf(name, sizeof(name), "axi_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:983:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 983 | snprintf(name, sizeof(name), "axi_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:988:45: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 988 | snprintf(name, sizeof(name), "aux_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:988:38: note: directive argument in the range [0, 2147483647] 988 | snprintf(name, sizeof(name), "aux_ck%d", slot); | ^~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:988:9: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10 988 | snprintf(name, sizeof(name), "aux_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:993:46: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] 993 | snprintf(name, sizeof(name), "obff_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:993:38: note: directive argument in the range [0, 2147483647] 993 | snprintf(name, sizeof(name), "obff_ck%d", slot); | ^~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:993:9: note: ‘snprintf’ output between 9 and 18 bytes into a destination of size 10 993 | snprintf(name, sizeof(name), "obff_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:998:46: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] 998 | snprintf(name, sizeof(name), "pipe_ck%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:998:38: note: directive argument in the range [0, 2147483647] 998 | snprintf(name, sizeof(name), "pipe_ck%d", slot); | ^~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:998:9: note: ‘snprintf’ output between 9 and 18 bytes into a destination of size 10 998 | snprintf(name, sizeof(name), "pipe_ck%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1003:47: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 1003 | snprintf(name, sizeof(name), "pcie-rst%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:1003:38: note: directive argument in the range [0, 2147483647] 1003 | snprintf(name, sizeof(name), "pcie-rst%d", slot); | ^~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1003:9: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 1003 | snprintf(name, sizeof(name), "pcie-rst%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1009:47: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 1009 | snprintf(name, sizeof(name), "pcie-phy%d", slot); | ^~ ../drivers/pci/controller/pcie-mediatek.c:1009:38: note: directive argument in the range [0, 2147483647] 1009 | snprintf(name, sizeof(name), "pcie-phy%d", slot); | ^~~~~~~~~~~~ ../drivers/pci/controller/pcie-mediatek.c:1009:9: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 1009 | snprintf(name, sizeof(name), "pcie-phy%d", slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:748:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:46: note: directive argument in the range [0, 2147483646] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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 [-2147483643, 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/gma500/framebuffer.c:34 function parameter 'info' not described in 'psb_framebuffer_init' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:101 function parameter 'info' not described in 'psb_user_framebuffer_create' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:34 function parameter 'info' not described in 'psb_framebuffer_init' Warning: ../drivers/gpu/drm/gma500/framebuffer.c:101 function parameter 'info' not described in 'psb_user_framebuffer_create' Warning: ../drivers/scsi/mpt3sas/mpt3sas_ctl.c:2913 expecting prototype for mpt3sas_send_passthru_cmd(). Prototype was for mpt3sas_send_mctp_passthru_req() instead In file included from ../include/linux/string.h:386, 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:102, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 [-2147483643, 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1923 expecting prototype for amdgpu_ttm_mmio_remap_bo_init(). Prototype was for amdgpu_ttm_alloc_mmio_remap_bo() instead ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:510:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 510 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:510:32: note: directive argument in the range [-2147483641, 2147483646] 510 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:510:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 510 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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:386, 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/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, 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:578: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] 578 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c: In function ‘com20020pci_probe’: ../drivers/net/arcnet/com20020-pci.c:224:71: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 11 [-Wformat-truncation=] 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~ ../drivers/net/arcnet/com20020-pci.c:224:64: note: directive argument in the range [-2147483641, 2147483646] 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c:224:25: note: ‘snprintf’ output between 7 and 18 bytes into a destination of size 16 224 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' ../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/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:663:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 27 and 29 [-Wformat-truncation=] 663 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:710:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:663:25: note: ‘snprintf’ output between 4 and 69 bytes into a destination of size 32 663 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 664 | stmmac_qstats_tx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:670:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 27 and 29 [-Wformat-truncation=] 670 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:710:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:670:25: note: ‘snprintf’ output between 4 and 69 bytes into a destination of size 32 670 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 671 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes 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/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2783 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'ptdev' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:1898 function parameter 'events' not described in 'panthor_sched_report_fw_events' Warning: ../drivers/gpu/drm/panthor/panthor_sched.c:2783 function parameter 'ptdev' not described in 'panthor_sched_report_mmu_fault' ../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/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/edac/sb_edac.c: In function ‘__populate_dimms’: ../drivers/edac/sb_edac.c:1679:85: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 1679 | "CPU_SrcID#%u_Ha#%u_Chan#%u_DIMM#%u", | ^ ../drivers/edac/sb_edac.c:1678:33: note: ‘snprintf’ output between 31 and 42 bytes into a destination of size 32 1678 | snprintf(dimm->label, sizeof(dimm->label), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1679 | "CPU_SrcID#%u_Ha#%u_Chan#%u_DIMM#%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1680 | pvt->sbridge_dev->source_id, pvt->sbridge_dev->dom, i, j); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' Warning: ../drivers/tee/qcomtee/async.c:107 function parameter 'async_msg' not described in 'async_release' ../drivers/edac/skx_common.c: In function ‘skx_get_nvdimm_info’: ../drivers/edac/skx_common.c:555:79: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 555 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:555:52: note: using the range [0, 4294967295] for directive argument 555 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:555:9: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 555 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 556 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c: In function ‘skx_get_dimm_info’: ../drivers/edac/skx_common.c:506:87: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 506 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:506:60: note: using the range [0, 4294967295] for directive argument 506 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:506:17: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 506 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 507 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/infiniband/hw/mlx5/umr.c:986 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/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 1535 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 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes 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 between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes 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/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' Warning: ../drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c:1261 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * xe_gt_sriov_pf_control_trigger restore_vf() - Start an SR-IOV VF migration data restore sequence. Warning: ../drivers/gpu/drm/msm/dsi/dsi_host.c:590 function parameter 'is_bonded_dsi' not described in 'dsi_adjust_pclk_for_compression' Warning: ../drivers/gpu/drm/msm/dsi/dsi_host.c:590 function parameter 'is_bonded_dsi' not described in 'dsi_adjust_pclk_for_compression' Warning: ../drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c:415 expecting prototype for smu_msg_proto_v1_send_msg(). Prototype was for smu_msg_v1_send_msg() instead Warning: ../drivers/gpu/drm/amd/amdgpu/../ras/rascore/ras_eeprom.c:845 function parameter 'ras_core' not described in 'ras_eeprom_append' Warning: ../drivers/gpu/drm/amd/amdgpu/../ras/rascore/ras_eeprom.c:845 expecting prototype for ras_core_eeprom_append(). Prototype was for ras_eeprom_append() instead