========== build_allmodconfig_warn - FAILED /srv/nipa-poller/net/wt-0/Makefile:1204: C=1 specified, but sparse is not available or not up to date /srv/nipa-poller/net/wt-0/Makefile:1204: 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: ../net/ethernet/eth.c:202 function parameter 'dev' not described in 'eth_header_parse' Warning: ../net/ethernet/eth.c:202 function parameter 'dev' not described in 'eth_header_parse' Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' ../net/8021q/vlan.c: In function ‘register_vlan_device’: ../net/8021q/vlan.c:249:46: warning: ‘%i’ directive output may be truncated writing between 1 and 4 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~ ../net/8021q/vlan.c:249:42: note: directive argument in the range [0, 4094] 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~~~~~~ ../net/8021q/vlan.c:249:17: note: ‘snprintf’ output between 3 and 21 bytes into a destination of size 16 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/8021q/vlan.c:237:46: warning: ‘%.4i’ directive output may be truncated writing 4 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~ ../net/8021q/vlan.c:237:42: note: directive argument in the range [0, 4094] 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~~~~~~ ../net/8021q/vlan.c:237:17: note: ‘snprintf’ output between 6 and 21 bytes into a destination of size 16 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_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 ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h: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/net/pse-pd/pse_core.c:246 expecting prototype for pse_control_find_net_by_id(). Prototype was for pse_control_find_by_id() instead 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/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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/usb/gadget/function/rndis.c: In function ‘rndis_register’: ../drivers/usb/gadget/function/rndis.c:60:23: warning: ‘%03d’ directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:60:37: note: format string is defined here 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~ ../drivers/usb/gadget/function/rndis.c:60:23: note: directive argument in the range [0, 2147483647] 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:17: note: ‘sprintf’ output between 17 and 24 bytes into a destination of size 20 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3254:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3254 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3254:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3254 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3255 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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/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/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_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/scsi/csiostor/csio_isr.c: In function ‘csio_add_msix_desc’: ../drivers/scsi/csiostor/csio_isr.c:374:68: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~ ../drivers/scsi/csiostor/csio_isr.c:374:45: note: directive argument in the range [0, 2147483644] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c:374:17: note: ‘snprintf’ output between 19 and 28 bytes into a destination of size 23 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 375 | CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | CSIO_PCI_FUNC(hw), i - CSIO_EXTRA_VECS); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/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/scsi/elx/libefc/efc_node.c: In function ‘efc_node_alloc’: ../drivers/scsi/elx/libefc/efc_node.c:254:70: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~ In function ‘efc_node_update_display_name’, inlined from ‘efc_node_alloc’ at ../drivers/scsi/elx/libefc/efc_node.c:95:2: ../drivers/scsi/elx/libefc/efc_node.c:254:9: note: ‘snprintf’ output between 2 and 48 bytes into a destination of size 32 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c: In function ‘efc_node_update_display_name’: ../drivers/scsi/elx/libefc/efc_node.c:254:70: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~ ../drivers/scsi/elx/libefc/efc_node.c:254:9: note: ‘snprintf’ output between 2 and 48 bytes into a destination of size 32 254 | snprintf(node->display_name, sizeof(node->display_name), "%s.%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | nport->display_name, portid_display); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h: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:2786: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=] 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:52: note: directive argument in the range [-2147483639, 2147483646] 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2787 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/target/target_core_transport.c: In function ‘transport_dump_vpd_ident’: ../drivers/target/target_core_transport.c:1263:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1263 | "T10 VPD ASCII Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1262:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1262 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1263 | "T10 VPD ASCII Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1264 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1268:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1267:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1267 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1269 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1258:60: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 220 [-Wformat-truncation=] 1258 | "T10 VPD Binary Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1257:17: note: ‘snprintf’ output between 36 and 289 bytes into a destination of size 254 1257 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1258 | "T10 VPD Binary Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1259 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../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/phy/mscc/mscc_main.c: In function ‘vsc85xx_probe_common.constprop’: ../drivers/net/phy/mscc/mscc_main.c:473:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 473 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ In function ‘vsc85xx_dt_led_modes_get’, inlined from ‘vsc85xx_probe_common.constprop’ at ../drivers/net/phy/mscc/mscc_main.c:2315:9: ../drivers/net/phy/mscc/mscc_main.c:473:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 473 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/block/aoe/aoecmd.c: In function ‘aoecmd_init’: ../drivers/block/aoe/aoecmd.c:1722:69: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~ ../drivers/block/aoe/aoecmd.c:1722:60: note: directive argument in the range [-2147483641, 2147483646] 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~~~~~~~~~~~ ../drivers/block/aoe/aoecmd.c:1722:17: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 12 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", 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/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 508 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:32: note: directive argument in the range [-2147483641, 2147483646] 508 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 508 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 664 | 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:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 664 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 665 | 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:671:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 671 | 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:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:671:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 671 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 672 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/net/xen-netback/xenbus.c: In function ‘connect’: ../drivers/net/xen-netback/xenbus.c:780:65: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~ ../drivers/net/xen-netback/xenbus.c:780:60: note: directive argument in the range [0, 4294967294] 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~ ../drivers/net/xen-netback/xenbus.c:780:17: note: ‘snprintf’ output between 4 and 28 bytes into a destination of size 21 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | be->vif->dev->name, queue->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:64: note: directive argument in the range [0, 4294967294] 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../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/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/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/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' 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/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../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/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /srv/nipa-poller/net/wt-0/Makefile:1204: C=1 specified, but sparse is not available or not up to date /srv/nipa-poller/net/wt-0/Makefile:1204: C=1 specified, but sparse is not available or not up to date Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../net/8021q/vlan.c: In function ‘register_vlan_device’: ../net/8021q/vlan.c:249:46: warning: ‘%i’ directive output may be truncated writing between 1 and 4 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~ ../net/8021q/vlan.c:249:42: note: directive argument in the range [0, 4094] 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~~~~~~ ../net/8021q/vlan.c:249:17: note: ‘snprintf’ output between 3 and 21 bytes into a destination of size 16 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/8021q/vlan.c:237:46: warning: ‘%.4i’ directive output may be truncated writing 4 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~ ../net/8021q/vlan.c:237:42: note: directive argument in the range [0, 4094] 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~~~~~~ ../net/8021q/vlan.c:237:17: note: ‘snprintf’ output between 6 and 21 bytes into a destination of size 16 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' 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 ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h: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: ../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 Warning: ../drivers/net/pse-pd/pse_core.c:246 expecting prototype for pse_control_find_net_by_id(). Prototype was for pse_control_find_by_id() instead ../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/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3254:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3254 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3254:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3254 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3255 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c: In function ‘rndis_register’: ../drivers/usb/gadget/function/rndis.c:60:23: warning: ‘%03d’ directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:60:37: note: format string is defined here 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~ ../drivers/usb/gadget/function/rndis.c:60:23: note: directive argument in the range [0, 2147483647] 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:17: note: ‘sprintf’ output between 17 and 24 bytes into a destination of size 20 907 | sprintf(name, NAME_TEMPLATE, 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/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/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/scsi/csiostor/csio_isr.c: In function ‘csio_add_msix_desc’: ../drivers/scsi/csiostor/csio_isr.c:374:68: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~ ../drivers/scsi/csiostor/csio_isr.c:374:45: note: directive argument in the range [0, 2147483644] 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/csiostor/csio_isr.c:374:17: note: ‘snprintf’ output between 19 and 28 bytes into a destination of size 23 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 375 | CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | CSIO_PCI_FUNC(hw), i - CSIO_EXTRA_VECS); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘cxgb4vf_get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:44: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:18: note: directive argument in the range [0, 255] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1559:9: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 1559 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1561 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1562 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1563 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1564 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1565 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1566 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1567 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1568 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.tprev)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘adapter_up’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 371 | "%s-%d", dev->name, qs); | ^~ In function ‘name_msix_vecs’, inlined from ‘adapter_up’ at ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:778:4: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:34: note: directive argument in the range [-2147483641, 254] 371 | "%s-%d", dev->name, qs); | ^~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:370:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 21 370 | snprintf(adapter->msix_info[msi].desc, namelen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | "%s-%d", dev->name, qs); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/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/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/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_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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:2786: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=] 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:52: note: directive argument in the range [-2147483639, 2147483646] 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2787 | priv->ndev->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/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/target/target_core_transport.c: In function ‘transport_dump_vpd_ident’: ../drivers/target/target_core_transport.c:1263:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1263 | "T10 VPD ASCII Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1262:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1262 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1263 | "T10 VPD ASCII Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1264 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1268:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1267:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1267 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1269 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1258:60: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 220 [-Wformat-truncation=] 1258 | "T10 VPD Binary Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1257:17: note: ‘snprintf’ output between 36 and 289 bytes into a destination of size 254 1257 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1258 | "T10 VPD Binary Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1259 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 508 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:32: note: directive argument in the range [-2147483641, 2147483646] 508 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 508 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/block/aoe/aoecmd.c: In function ‘aoecmd_init’: ../drivers/block/aoe/aoecmd.c:1722:69: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~ ../drivers/block/aoe/aoecmd.c:1722:60: note: directive argument in the range [-2147483641, 2147483646] 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~~~~~~~~~~~ ../drivers/block/aoe/aoecmd.c:1722:17: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 12 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", 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/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/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/phy/mscc/mscc_main.c: In function ‘vsc85xx_probe_common.constprop’: ../drivers/net/phy/mscc/mscc_main.c:473:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 473 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ In function ‘vsc85xx_dt_led_modes_get’, inlined from ‘vsc85xx_probe_common.constprop’ at ../drivers/net/phy/mscc/mscc_main.c:2315:9: ../drivers/net/phy/mscc/mscc_main.c:473:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 473 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6028:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6046:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6112:8: ../drivers/net/ethernet/sun/niu.c:6028:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6028 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c: In function ‘qed_mfw_get_tlv_time_value’: ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:44: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 10 [-Wformat-truncation=] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:9: note: ‘snprintf’ output between 7 and 23 bytes into a destination of size 14 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 433 | p_time->month, p_time->day, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 434 | p_time->hour, p_time->min, p_time->msec, p_time->usec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 664 | 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:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 664 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 665 | 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:671:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 671 | 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:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:671:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 671 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 672 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:64: note: directive argument in the range [0, 4294967294] 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/xen-netback/xenbus.c: In function ‘connect’: ../drivers/net/xen-netback/xenbus.c:780:65: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~ ../drivers/net/xen-netback/xenbus.c:780:60: note: directive argument in the range [0, 4294967294] 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~ ../drivers/net/xen-netback/xenbus.c:780:17: note: ‘snprintf’ output between 4 and 28 bytes into a destination of size 21 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | be->vif->dev->name, queue->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new 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/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /srv/nipa-poller/net/wt-0/Makefile:1204: C=1 specified, but sparse is not available or not up to date /srv/nipa-poller/net/wt-0/Makefile:1204: 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: ../net/ethernet/eth.c:202 function parameter 'dev' not described in 'eth_header_parse' Warning: ../net/ethernet/eth.c:202 function parameter 'dev' not described in 'eth_header_parse' ../net/8021q/vlan.c: In function ‘register_vlan_device’: ../net/8021q/vlan.c:249:46: warning: ‘%i’ directive output may be truncated writing between 1 and 4 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~ ../net/8021q/vlan.c:249:42: note: directive argument in the range [0, 4094] 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~~~~~~ ../net/8021q/vlan.c:249:17: note: ‘snprintf’ output between 3 and 21 bytes into a destination of size 16 249 | snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/8021q/vlan.c:237:46: warning: ‘%.4i’ directive output may be truncated writing 4 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~ ../net/8021q/vlan.c:237:42: note: directive argument in the range [0, 4094] 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~~~~~~ ../net/8021q/vlan.c:237:17: note: ‘snprintf’ output between 6 and 21 bytes into a destination of size 16 237 | snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' 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 ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h: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: ../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 Warning: ../drivers/net/pse-pd/pse_core.c:246 expecting prototype for pse_control_find_net_by_id(). Prototype was for pse_control_find_by_id() instead ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3254:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3254 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3254:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3254 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3255 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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/usb/gadget/function/rndis.c: In function ‘rndis_register’: ../drivers/usb/gadget/function/rndis.c:60:23: warning: ‘%03d’ directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:60:37: note: format string is defined here 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~ ../drivers/usb/gadget/function/rndis.c:60:23: note: directive argument in the range [0, 2147483647] 60 | #define NAME_TEMPLATE "driver/rndis-%03d" | ^~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ 907 | sprintf(name, NAME_TEMPLATE, i); | ^~~~~~~~~~~~~ ../drivers/usb/gadget/function/rndis.c:907:17: note: ‘sprintf’ output between 17 and 24 bytes into a destination of size 20 907 | sprintf(name, NAME_TEMPLATE, 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2786: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=] 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:52: note: directive argument in the range [-2147483639, 2147483646] 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2786:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2787 | priv->ndev->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/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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 508 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:32: note: directive argument in the range [-2147483641, 2147483646] 508 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 508 | sprintf(dname, "mcs%d", 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/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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/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/phy/mscc/mscc_main.c: In function ‘vsc85xx_probe_common.constprop’: ../drivers/net/phy/mscc/mscc_main.c:473:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 473 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ In function ‘vsc85xx_dt_led_modes_get’, inlined from ‘vsc85xx_probe_common.constprop’ at ../drivers/net/phy/mscc/mscc_main.c:2315:9: ../drivers/net/phy/mscc/mscc_main.c:473:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 473 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 664 | 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:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 664 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 665 | 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:671:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 671 | 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:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:671:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 671 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 672 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c: In function ‘transport_dump_vpd_ident’: ../drivers/target/target_core_transport.c:1263:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1263 | "T10 VPD ASCII Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1262:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1262 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1263 | "T10 VPD ASCII Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1264 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1268:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1267:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 1267 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1269 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/target/target_core_transport.c:1258:60: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 220 [-Wformat-truncation=] 1258 | "T10 VPD Binary Device Identifier: %s\n", | ^~ ../drivers/target/target_core_transport.c:1257:17: note: ‘snprintf’ output between 36 and 289 bytes into a destination of size 254 1257 | snprintf(buf, sizeof(buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1258 | "T10 VPD Binary Device Identifier: %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1259 | &vpd->device_identifier[0]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:64: note: directive argument in the range [0, 4294967294] 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:253:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 253 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/block/aoe/aoecmd.c: In function ‘aoecmd_init’: ../drivers/block/aoe/aoecmd.c:1722:69: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~ ../drivers/block/aoe/aoecmd.c:1722:60: note: directive argument in the range [-2147483641, 2147483646] 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~~~~~~~~~~~ ../drivers/block/aoe/aoecmd.c:1722:17: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 12 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/xen-netback/xenbus.c: In function ‘connect’: ../drivers/net/xen-netback/xenbus.c:780:65: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~ ../drivers/net/xen-netback/xenbus.c:780:60: note: directive argument in the range [0, 4294967294] 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~ ../drivers/net/xen-netback/xenbus.c:780:17: note: ‘snprintf’ output between 4 and 28 bytes into a destination of size 21 780 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | be->vif->dev->name, queue->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/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/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 New errors added --- /tmp/tmp.Q75Q20guro 2026-03-14 08:09:16.875628121 -0400 +++ /tmp/tmp.im2qo9sobB 2026-03-14 08:10:24.251377204 -0400 @@ -3,0 +4,3 @@ +Warning: ../security/smack/smack_access.c:584 expecting prototype for smk_import_valid_allocated_label(). Prototype was for smk_import_allocated_label() instead +Warning: ../net/ethernet/eth.c:202 function parameter 'dev' not described in 'eth_header_parse' +Warning: ../net/ethernet/eth.c:202 function parameter 'dev' not described in 'eth_header_parse' @@ -23 +25,0 @@ -Warning: ../security/smack/smack_access.c:584 expecting prototype for smk_import_valid_allocated_label(). Prototype was for smk_import_allocated_label() instead @@ -55,24 +56,0 @@ -../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); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -88,19 +65,0 @@ -../drivers/usb/gadget/function/rndis.c: In function ‘rndis_register’: -../drivers/usb/gadget/function/rndis.c:60:23: warning: ‘%03d’ directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] - 60 | #define NAME_TEMPLATE "driver/rndis-%03d" - | ^~~~~~~~~~~~~~~~~~~ -../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ - 907 | sprintf(name, NAME_TEMPLATE, i); - | ^~~~~~~~~~~~~ -../drivers/usb/gadget/function/rndis.c:60:37: note: format string is defined here - 60 | #define NAME_TEMPLATE "driver/rndis-%03d" - | ^~~~ -../drivers/usb/gadget/function/rndis.c:60:23: note: directive argument in the range [0, 2147483647] - 60 | #define NAME_TEMPLATE "driver/rndis-%03d" - | ^~~~~~~~~~~~~~~~~~~ -../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ - 907 | sprintf(name, NAME_TEMPLATE, i); - | ^~~~~~~~~~~~~ -../drivers/usb/gadget/function/rndis.c:907:17: note: ‘sprintf’ output between 17 and 24 bytes into a destination of size 20 - 907 | sprintf(name, NAME_TEMPLATE, i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -135,51 +94,24 @@ -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/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); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -225,14 +157,46 @@ -../drivers/scsi/csiostor/csio_isr.c: In function ‘csio_add_msix_desc’: -../drivers/scsi/csiostor/csio_isr.c:374:68: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] - 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", - | ^~ -../drivers/scsi/csiostor/csio_isr.c:374:45: note: directive argument in the range [0, 2147483644] - 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/scsi/csiostor/csio_isr.c:374:17: note: ‘snprintf’ output between 19 and 28 bytes into a destination of size 23 - 374 | snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 375 | CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 376 | CSIO_PCI_FUNC(hw), i - CSIO_EXTRA_VECS); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/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/usb/gadget/function/rndis.c: In function ‘rndis_register’: +../drivers/usb/gadget/function/rndis.c:60:23: warning: ‘%03d’ directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] + 60 | #define NAME_TEMPLATE "driver/rndis-%03d" + | ^~~~~~~~~~~~~~~~~~~ +../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ + 907 | sprintf(name, NAME_TEMPLATE, i); + | ^~~~~~~~~~~~~ +../drivers/usb/gadget/function/rndis.c:60:37: note: format string is defined here + 60 | #define NAME_TEMPLATE "driver/rndis-%03d" + | ^~~~ +../drivers/usb/gadget/function/rndis.c:60:23: note: directive argument in the range [0, 2147483647] + 60 | #define NAME_TEMPLATE "driver/rndis-%03d" + | ^~~~~~~~~~~~~~~~~~~ +../drivers/usb/gadget/function/rndis.c:907:31: note: in expansion of macro ‘NAME_TEMPLATE’ + 907 | sprintf(name, NAME_TEMPLATE, i); + | ^~~~~~~~~~~~~ +../drivers/usb/gadget/function/rndis.c:907:17: note: ‘sprintf’ output between 17 and 24 bytes into a destination of size 20 + 907 | sprintf(name, NAME_TEMPLATE, i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -309,51 +272,0 @@ -../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/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); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -397,27 +309,0 @@ -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:2786: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=] - 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", - | ^~ -../drivers/net/ethernet/freescale/enetc/enetc.c:2786:52: note: directive argument in the range [-2147483639, 2147483646] - 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", - | ^~~~~~~~~~~ -../drivers/net/ethernet/freescale/enetc/enetc.c:2786:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 - 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 2787 | priv->ndev->name, i); - | ~~~~~~~~~~~~~~~~~~~~ @@ -439,0 +326,155 @@ +../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: +../drivers/net/ethernet/freescale/enetc/enetc.c:2786: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=] + 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", + | ^~ +../drivers/net/ethernet/freescale/enetc/enetc.c:2786:52: note: directive argument in the range [-2147483639, 2147483646] + 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", + | ^~~~~~~~~~~ +../drivers/net/ethernet/freescale/enetc/enetc.c:2786:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 + 2786 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 2787 | priv->ndev->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/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); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: +../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] + 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", + | ^~ +../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] + 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", + | ^~~~~~~~~~ +../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 + 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 360 | sw->dev->fw_rev.maj, + | ~~~~~~~~~~~~~~~~~~~~ + 361 | sw->dev->fw_rev.min, + | ~~~~~~~~~~~~~~~~~~~~ + 362 | sw->dev->fw_rev.sub); + | ~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: +../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] + 508 | sprintf(dname, "mcs%d", i); + | ^~ +../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:32: note: directive argument in the range [-2147483641, 2147483646] + 508 | sprintf(dname, "mcs%d", i); + | ^~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 + 508 | sprintf(dname, "mcs%d", 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/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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../scripts/Makefile.build:289: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch +../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); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -486,80 +526,0 @@ -../scripts/Makefile.build:289: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch -../drivers/target/target_core_transport.c: In function ‘transport_dump_vpd_ident’: -../drivers/target/target_core_transport.c:1263:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] - 1263 | "T10 VPD ASCII Device Identifier: %s\n", - | ^~ -../drivers/target/target_core_transport.c:1262:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 - 1262 | snprintf(buf, sizeof(buf), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - 1263 | "T10 VPD ASCII Device Identifier: %s\n", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1264 | &vpd->device_identifier[0]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/target/target_core_transport.c:1268:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] - 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", - | ^~ -../drivers/target/target_core_transport.c:1267:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 - 1267 | snprintf(buf, sizeof(buf), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1269 | &vpd->device_identifier[0]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/target/target_core_transport.c:1258:60: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 220 [-Wformat-truncation=] - 1258 | "T10 VPD Binary Device Identifier: %s\n", - | ^~ -../drivers/target/target_core_transport.c:1257:17: note: ‘snprintf’ output between 36 and 289 bytes into a destination of size 254 - 1257 | snprintf(buf, sizeof(buf), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - 1258 | "T10 VPD Binary Device Identifier: %s\n", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1259 | &vpd->device_identifier[0]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: -../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] - 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", - | ^~ -../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] - 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", - | ^~~~~~~~~~ -../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 - 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 360 | sw->dev->fw_rev.maj, - | ~~~~~~~~~~~~~~~~~~~~ - 361 | sw->dev->fw_rev.min, - | ~~~~~~~~~~~~~~~~~~~~ - 362 | sw->dev->fw_rev.sub); - | ~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: -../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] - 508 | sprintf(dname, "mcs%d", i); - | ^~ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:32: note: directive argument in the range [-2147483641, 2147483646] - 508 | sprintf(dname, "mcs%d", i); - | ^~~~~~~ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:508:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 - 508 | sprintf(dname, "mcs%d", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../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/block/aoe/aoecmd.c: In function ‘aoecmd_init’: -../drivers/block/aoe/aoecmd.c:1722:69: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] - 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); - | ^~ -../drivers/block/aoe/aoecmd.c:1722:60: note: directive argument in the range [-2147483641, 2147483646] - 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); - | ^~~~~~~~~~~~ -../drivers/block/aoe/aoecmd.c:1722:17: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 12 - 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -655,10 +615,0 @@ -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -679,0 +631,24 @@ +../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: +../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] + 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); + | ^~ +../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 + 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../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/wiznet/w5300.c: In function ‘w5300_hw_probe’: +../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] + 576 | snprintf(link_name, 16, "%s-link", name); + | ^~ +../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 + 576 | snprintf(link_name, 16, "%s-link", name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -702,14 +677,31 @@ -../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: -../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] - 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); - | ^~ -../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 - 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: -../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] - 576 | snprintf(link_name, 16, "%s-link", name); - | ^~ -../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 - 576 | snprintf(link_name, 16, "%s-link", name); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/target/target_core_transport.c: In function ‘transport_dump_vpd_ident’: +../drivers/target/target_core_transport.c:1263:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] + 1263 | "T10 VPD ASCII Device Identifier: %s\n", + | ^~ +../drivers/target/target_core_transport.c:1262:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 + 1262 | snprintf(buf, sizeof(buf), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + 1263 | "T10 VPD ASCII Device Identifier: %s\n", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1264 | &vpd->device_identifier[0]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/target/target_core_transport.c:1268:59: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 221 [-Wformat-truncation=] + 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", + | ^~ +../drivers/target/target_core_transport.c:1267:17: note: ‘snprintf’ output between 35 and 288 bytes into a destination of size 254 + 1267 | snprintf(buf, sizeof(buf), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + 1268 | "T10 VPD UTF-8 Device Identifier: %s\n", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1269 | &vpd->device_identifier[0]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/target/target_core_transport.c:1258:60: warning: ‘%s’ directive output may be truncated writing up to 253 bytes into a region of size 220 [-Wformat-truncation=] + 1258 | "T10 VPD Binary Device Identifier: %s\n", + | ^~ +../drivers/target/target_core_transport.c:1257:17: note: ‘snprintf’ output between 36 and 289 bytes into a destination of size 254 + 1257 | snprintf(buf, sizeof(buf), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + 1258 | "T10 VPD Binary Device Identifier: %s\n", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1259 | &vpd->device_identifier[0]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -726,10 +717,0 @@ -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -746,0 +729,10 @@ +../drivers/block/aoe/aoecmd.c: In function ‘aoecmd_init’: +../drivers/block/aoe/aoecmd.c:1722:69: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] + 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); + | ^~ +../drivers/block/aoe/aoecmd.c:1722:60: note: directive argument in the range [-2147483641, 2147483646] + 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); + | ^~~~~~~~~~~~ +../drivers/block/aoe/aoecmd.c:1722:17: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 12 + 1722 | snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -772 +764,10 @@ -../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -784,0 +786 @@ +../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new @@ -787,12 +788,0 @@ -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/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' -Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' -Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' -Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' -Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' -Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' -Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' -Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' -Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' -Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' @@ -857,0 +848,10 @@ +Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' +Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' +Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' +Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' +Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' +Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' +Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' +Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' +Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' +Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' @@ -893,0 +894,2 @@ +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 Per-file breakdown