tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/core/dev.c:3381:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3381:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3381:23: got unsigned int ../net/core/dev.c:3381:23: warning: cast from restricted __wsum ../net/core/dev.c:5335:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3821:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5293:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/scsi/qedf/qedf_main.c:2217:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2217:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2217:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2246:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2246:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2246:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2263:33: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2281:26: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2512:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2512:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_main.c:2512:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/qedf/qedf_main.c:2708:34: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2822:25: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2825:18: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../drivers/net/macsec.c:431:24: warning: restricted ssci_t degrades to integer ../drivers/net/macsec.c:431:22: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:431:22: expected restricted ssci_t [usertype] ssci ../drivers/net/macsec.c:431:22: got unsigned int ../drivers/net/macsec.c:432:22: warning: restricted __be64 degrades to integer ../drivers/net/macsec.c:432:20: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:432:20: expected restricted __be64 [usertype] pn ../drivers/net/macsec.c:432:20: got unsigned long long ../drivers/net/ethernet/arc/emac_main.c:256:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:256:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:256:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:458:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:458:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:458:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:707:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:707:37: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:707:37: got restricted __le32 [usertype] ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: expected restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: got unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: expected restricted __wsum [usertype] csum ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: got int [assigned] wrs_needed ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:494:24: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:494:24: warning: cast from restricted __wsum ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:796:37: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:797:38: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:798:18: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:819:28: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:827:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:935:25: warning: restricted __be32 degrades to integer ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: expected unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: got restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:940:32: warning: restricted __be32 degrades to integer ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: expected unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: got restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c: note: in included file: ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../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/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3183:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3183:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3184 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:1444:30: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1444:30: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1444:30: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1448:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/alx/main.c:1448:39: expected restricted __le32 [usertype] pkt_len ../drivers/net/ethernet/atheros/alx/main.c:1448:39: got unsigned int len ../drivers/net/ethernet/atheros/alx/main.c:1449:30: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1449:30: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1449:30: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1452:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1452:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1452:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1453:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1453:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1453:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1455:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1455:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1455:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1469:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3480:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3485:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3515:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3519:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3519:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3519:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3529:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3533:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3533:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3533:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3543:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3549:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3558:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3561:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function ‘bgx_acpi_match_id’: ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:34: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:30: note: directive argument in the range [0, 255] 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:9: note: ‘snprintf’ output between 5 and 7 bytes into a destination of size 5 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/cxgb3/cxgb3_main.c:520:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: expected restricted __be16 [usertype] l2t_idx ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: got restricted __be32 [usertype] ../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/cxgb3/t3_hw.c:833:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: expected unsigned int [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:3601:52: warning: dubious: !x | y ../drivers/net/ethernet/broadcom/tg3.c: In function ‘tg3_request_irq’: ../drivers/net/ethernet/broadcom/tg3.c:11326:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 11326 | "%s-%d", tp->dev->name, irq_num); | ^~ ../drivers/net/ethernet/broadcom/tg3.c:11326:34: note: using the range [-2147483648, 2147483647] for directive argument 11326 | "%s-%d", tp->dev->name, irq_num); | ^~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11325:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 16 11325 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11326 | "%s-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:37: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:34: note: using the range [-2147483648, 2147483647] for directive argument 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11322:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11322 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:37: warning: ‘-tx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:34: note: using the range [-2147483648, 2147483647] for directive argument 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11319:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11319 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:37: warning: ‘-txrx-’ directive output may be truncated writing 6 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:34: note: using the range [-2147483648, 2147483647] for directive argument 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11316:25: note: ‘snprintf’ output between 8 and 33 bytes into a destination of size 16 11316 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb/sge.c:1390:65: warning: cast to restricted __be16 ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: expected unsigned short [usertype] vlan ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: got restricted __be16 [usertype] ../drivers/net/ethernet/broadcom/cnic.c:5261:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5261:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5261:40: got unsigned int [usertype] cli ../drivers/net/ethernet/broadcom/cnic.c:5216:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5216:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5216:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:5217:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5217:40: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:5217:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1390:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1390:33: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1390:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1391:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1391:33: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1391:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1415:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1416:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1686:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1686:22: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1686:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1687:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1687:22: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1687:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1728:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1728:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1728:54: got unsigned int [usertype] sq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1730:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1730:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1730:54: got unsigned int [usertype] sq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1732:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1732:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1732:54: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1733:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1733:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1733:54: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1734:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1734:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1734:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1736:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1736:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1736:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1738:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1738:59: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1738:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1740:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1740:59: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1740:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1742:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1742:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1742:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1744:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1744:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1744:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1746:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1746:61: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1746:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1748:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1748:61: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1748:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1750:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1750:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1750:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1752:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1752:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1752:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1774:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1774:57: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1774:57: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1776:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1776:57: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1776:57: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1787:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1787:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1787:53: got unsigned int [usertype] rq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1789:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1789:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1789:53: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1791:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1791:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1791:53: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1792:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1792:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1792:53: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1793:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1793:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1793:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1795:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1795:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1795:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1797:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1797:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1797:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1799:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1799:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1799:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1801:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1801:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1801:53: got unsigned int [usertype] cq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1803:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1803:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1803:53: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1806:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1806:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1806:56: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1807:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1807:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1807:56: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1821:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1821:64: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1821:64: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1823:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1823:64: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1823:64: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1827:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1827:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1827:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1829:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1829:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1829:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1831:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1831:49: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1831:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1833:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1833:49: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1833:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1844:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1844:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1844:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1846:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1846:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1846:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1848:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1848:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1848:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1849:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1849:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1849:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1850:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1850:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1850:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1852:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1852:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1852:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1856:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1856:47: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1856:47: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1858:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1858:47: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1858:47: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:2077:17: warning: cast from restricted __sum16 ../drivers/net/ethernet/broadcom/cnic.c:2326:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2326:35: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:2326:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2327:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2327:35: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:2327:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2328:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2328:32: expected restricted __le32 [usertype] eq_pbl_size ../drivers/net/ethernet/broadcom/cnic.c:2328:32: got int num_pages ../drivers/net/ethernet/broadcom/cnic.c:2330:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2330:27: expected restricted __le16 [usertype] sb_num ../drivers/net/ethernet/broadcom/cnic.c:2330:27: got unsigned int [usertype] status_blk_num ../drivers/net/ethernet/broadcom/cnic.c:2331:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2331:28: expected restricted __le16 [usertype] eq_prod ../drivers/net/ethernet/broadcom/cnic.c:2331:28: got unsigned long ../drivers/net/ethernet/broadcom/cnic.c:2372:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2372:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2372:16: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2429:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2429:27: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2429:27: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2430:32: expected restricted __le32 [addressable] [assigned] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2430:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2447:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2447:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2447:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2448:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:2475:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2475:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2475:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2476:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2476:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2476:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2509:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2509:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2509:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2510:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2510:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2510:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2522:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2522:32: expected restricted __le32 [addressable] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2522:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2537:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2537:35: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_context_id ../drivers/net/ethernet/broadcom/cnic.c:2537:35: got unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2609:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2609:29: expected unsigned int [assigned] [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2609:29: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2610:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2610:32: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2610:32: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:3511:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3512:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3513:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3514:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3515:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3516:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3531:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3532:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3533:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3534:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3637:49: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3790:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3790:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3790:31: got restricted __be16 [usertype] sin6_port ../drivers/net/ethernet/broadcom/cnic.c:3796:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3796:32: expected unsigned int ../drivers/net/ethernet/broadcom/cnic.c:3796:32: got restricted __be32 [usertype] s_addr ../drivers/net/ethernet/broadcom/cnic.c:3797:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3797:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3797:31: got restricted __be16 [usertype] sin_port ../drivers/net/ethernet/broadcom/cnic.c:3827:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3827:23: expected unsigned short [usertype] src_port ../drivers/net/ethernet/broadcom/cnic.c:3827:23: got restricted __be16 [assigned] [usertype] local_port ../drivers/net/ethernet/broadcom/cnic.c:3984:29: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4946:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4946:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4946:33: expected restricted __le32 [usertype] addr_lo ../drivers/net/ethernet/broadcom/cnic.c:4946:33: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:4954:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4954:46: expected restricted __le32 [usertype] parsing_data ../drivers/net/ethernet/broadcom/cnic.c:4954:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4957:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4957:46: expected restricted __le16 [usertype] global_data ../drivers/net/ethernet/broadcom/cnic.c:4957:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4982:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4982:25: expected unsigned short [usertype] *tx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:4982:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5047:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5047:35: expected restricted __le16 [usertype] silent_vlan_mask ../drivers/net/ethernet/broadcom/cnic.c:5047:35: got int ../drivers/net/ethernet/broadcom/cnic.c:5049:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5049:25: expected unsigned short [usertype] *rx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:5049:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5067:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5067:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5067:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5069:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5069:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5069:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5074:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5074:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5074:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5076:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5076:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5076:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5086:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5086:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5086:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5088:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5088:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5088:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/tg3.c:3745:34: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:17074:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17074:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17074:63: got unsigned int * ../drivers/net/ethernet/broadcom/tg3.c:17075:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17075:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17075:63: got unsigned int * ../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/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2306: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=] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:52: note: directive argument in the range [-2147483639, 2147483646] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2307 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: expected unsigned int [usertype] rss ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: expected unsigned int [usertype] priority ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: got restricted __be32 [assigned] [usertype] rss_lo ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2120:16: warning: cast to restricted __be32 ../drivers/net/ethernet/engleder/tsnep_main.c:1622:25: error: too long token expansion ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: expected void [noderef] __iomem *p ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: got struct gfar * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:22: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: error: incompatible types in comparison expression (different address spaces): ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void [noderef] __iomem * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:399:25: error: subtraction of different types can't work (different address spaces) ../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/cgx.c: In function ‘cgx_lmac_init’: ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:37: note: directive argument in the range [-2147483641, 254] 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/gianfar.c:2212:60: warning: cast to restricted __be64 ../drivers/net/ethernet/freescale/gianfar.c:2475:53: warning: cast to restricted __be64 ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:161:46: warning: cast to restricted __be16 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2935:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: got int ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c: In function ‘dpaa_get_strings’: ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:64: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:63: note: using the range [-2147483648, 2147483647] for directive argument 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:25: note: ‘snprintf’ output between 9 and 306 bytes into a destination of size 32 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | dpaa_stats_percpu[i], j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:56: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:17: note: ‘snprintf’ output between 9 and 296 bytes into a destination of size 32 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | dpaa_stats_percpu[i]); | ~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/broadcom/genet/bcmmii.c:17: ../drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_pd_init’: ../include/linux/phy.h:307:20: warning: ‘%02x’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 0 and 60 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:24: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~ ../include/linux/phy.h:307:20: note: using the range [0, 4294967295] for directive argument 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:17: note: ‘snprintf’ output between 4 and 70 bytes into a destination of size 61 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | mdio_bus_id, pd->phy_address); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: expected struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: expected struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/micrel/ks8851_par.c:62:13: warning: context imbalance in 'ks8851_lock_par' - wrong count at exit ../drivers/net/ethernet/micrel/ks8851_par.c:76:13: warning: context imbalance in 'ks8851_unlock_par' - unexpected unlock ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_add_isr’: ../drivers/net/ethernet/neterion/s2io.c:6947:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] 6947 | "%s:MSI-X-%d-TX", | ^~ ../drivers/net/ethernet/neterion/s2io.c:6947:49: note: directive argument in the range [-2147483641, 2147483646] 6947 | "%s:MSI-X-%d-TX", | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6945:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 6945 | snprintf(sp->desc[i], | ^~~~~~~~~~~~~~~~~~~~~ 6946 | sizeof(sp->desc[i]), | ~~~~~~~~~~~~~~~~~~~~ 6947 | "%s:MSI-X-%d-TX", | ~~~~~~~~~~~~~~~~~ 6948 | dev->name, i); | ~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6936:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] 6936 | "%s:MSI-X-%d-RX", | ^~ ../drivers/net/ethernet/neterion/s2io.c:6936:49: note: directive argument in the range [-2147483641, 2147483646] 6936 | "%s:MSI-X-%d-RX", | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6934:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 6934 | snprintf(sp->desc[i], | ^~~~~~~~~~~~~~~~~~~~~ 6935 | sizeof(sp->desc[i]), | ~~~~~~~~~~~~~~~~~~~~ 6936 | "%s:MSI-X-%d-RX", | ~~~~~~~~~~~~~~~~~ 6937 | dev->name, i); | ~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_init_nic’: ../drivers/net/ethernet/neterion/s2io.c:8097:59: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 35 and 50 [-Wformat-truncation=] 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, | ^~ ../drivers/net/ethernet/neterion/s2io.c:8097:9: note: ‘snprintf’ output between 11 and 105 bytes into a destination of size 60 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8098 | sp->product_name); | ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2745:24: warning: cast to restricted __be32 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file: ../include/soc/fsl/qman.h:245:16: warning: cast to restricted __be32 ../include/soc/fsl/qman.h:245:16: warning: cast from restricted __be16 ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) ../drivers/net/ethernet/neterion/s2io.c:6959:41: warning: cast to restricted __be32 ../scripts/Makefile.build:244: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10562:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10562 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~ ~~~~~~ In function ‘bnxt_setup_inta’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10582:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10562:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 10562 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10563 | 0); | ~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10547:62: warning: ‘%s’ directive output may be truncated writing between 2 and 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10547 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~ In function ‘bnxt_setup_msix’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10580:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10547:58: note: directive argument in the range [-2147483643, 2147483646] 10547 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10547:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 10547 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10548 | attr, i); | ~~~~~~~~ ../drivers/net/ethernet/marvell/sky2.c:1890:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/sky2.c:1890:28: expected restricted __le16 [usertype] length ../drivers/net/ethernet/marvell/sky2.c:1890:28: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/sky2.c:2670:29: warning: cast to restricted __le16 ../drivers/net/ethernet/marvell/sky2.c:2670:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/sky2.c:2670:27: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/marvell/sky2.c:2670:27: got unsigned short [usertype] ../drivers/net/ethernet/marvell/sky2.c:2691:57: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:2699:27: warning: cast to restricted __le32 ../drivers/net/ethernet/marvell/sky2.c:4446:53: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:4446:53: warning: cast from restricted __le16 ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:625:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 625 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:624:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 624 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:642:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 642 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:641:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 641 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 642 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:639:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 639 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 638 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:3247:28: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:3247:28: error: too long token expansion ../drivers/net/ethernet/renesas/sh_eth.c:897:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:897:37: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:897:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:898:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:898:37: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:898:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:905:37: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:905:37: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:905:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:906:37: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:906:37: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:906:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1242:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/renesas/sh_eth.c:1247:17: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1252:25: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1252:25: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1266:49: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1283:33: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: warning: invalid assignment: &= ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1602:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/renesas/sh_eth.c:1605:31: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1606:27: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1644:36: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: expected void *addr ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: got void [noderef] __iomem * ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:998:14: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1008:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1011:28: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1058:27: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1061:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1112:21: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1114:33: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1143:30: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1147:42: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1152:50: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1153:40: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1344:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:951:21: warning: cast truncates bits from constant value (ffffffff7fffffff becomes 7fffffff) ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:2046:35: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:2046:35: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:4542:32: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:4542:32: error: too long token expansion ../drivers/net/ethernet/marvell/mvneta.c:1796:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/marvell/mvneta.c:1979:45: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/marvell/mvneta.c:1979:45: expected int l3_proto ../drivers/net/ethernet/marvell/mvneta.c:1979:45: got restricted __be16 [usertype] l3_proto In file included from ../include/linux/string.h:374, from ../include/linux/uuid.h:11, from ../include/linux/mod_devicetable.h:14, from ../include/linux/pci.h:27, from ../drivers/net/ethernet/broadcom/bnx2x/bnx2x.h:19, from ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:22: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2x_get_vf_config’ at ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:2655:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:64: note: directive argument in the range [0, 4294967294] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:779:16: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:797:41: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:810:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: expected unsigned int [usertype] app1 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:912:33: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:920:25: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:985:39: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:999:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1005:26: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:37: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: got restricted __be16 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: got restricted __be32 [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2704:41: warning: too many warnings ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:278: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=] 278 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:276:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 276 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 278 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/korina.c:408:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:408:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:408:33: got struct dma_reg [noderef] __iomem *tx_dma_regs ../drivers/net/ethernet/korina.c:415:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:415:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:415:33: got struct dma_reg [noderef] __iomem *rx_dma_regs ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/ethoc.c:317:13: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:317:13: expected void *vma ../drivers/net/ethernet/ethoc.c:317:13: got void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:454:67: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/ethoc.c:454:67: expected void const volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:454:67: got void *src ../drivers/net/ethernet/ethoc.c:908:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/ethoc.c:908:21: expected void volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:908:21: got void *[assigned] dest ../drivers/net/ethernet/ethoc.c:1109:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:1109:31: expected void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:1109:31: got void * ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:409:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:418:36: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: got unsigned int [usertype] ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/net/phy/mscc/mscc_main.c: In function ‘vsc85xx_dt_led_modes_get.constprop’: ../drivers/net/phy/mscc/mscc_main.c:452:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ ../drivers/net/phy/mscc/mscc_main.c:452:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: got int ../drivers/net/ethernet/nxp/lpc_eth.c:909:31: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: expected unsigned int [usertype] ethst ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: expected int si ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: got unsigned int ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: expected void [noderef] __iomem **mapbase ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: got void ** ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:108:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:108:50: warning: restricted __le32 degrades to integer In file included from ../drivers/net/usb/asix.h:28, from ../drivers/net/usb/ax88172a.c:15: ../drivers/net/usb/ax88172a.c: In function ‘ax88172a_reset’: ../include/linux/phy.h:307:20: warning: ‘%s’ directive output may be truncated writing up to 60 bytes into a region of size 20 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:21: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~ ../include/linux/phy.h:307:20: note: directive argument in the range [0, 65535] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:9: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 20 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | priv->mdio->id, priv->phy_addr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/usb/lan78xx.c:3525:29: warning: cast to restricted __be16 ../drivers/net/usb/lan78xx.c:3525:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/lan78xx.c:3525:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/lan78xx.c:3525:27: got unsigned short [usertype] ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask ../drivers/net/usb/smsc75xx.c:2172:29: warning: cast to restricted __be16 ../drivers/net/usb/smsc75xx.c:2172:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/smsc75xx.c:2172:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/smsc75xx.c:2172:27: got unsigned short [usertype] ../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/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../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:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c: In function ‘mvpp2_probe’: ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7636:32: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7635:9: note: ‘snprintf’ output between 10 and 31 bytes into a destination of size 30 7635 | snprintf(priv->queue_name, sizeof(priv->queue_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7637 | priv->port_count > 1 ? "+" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:115:27: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:115:27: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:708:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:708:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:712:47: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:712:47: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:716:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:716:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:781:28: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:781:28: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1053:33: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1053:33: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1059:20: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1059:20: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1136:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1136:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1149:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1149:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1184:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1184:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1197:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1197:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1212:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1212:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1323:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1323:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1330:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1330:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1358:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1358:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2990:45: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2990:45: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3833:54: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3833:54: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3837:55: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3837:55: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3981:17: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3981:17: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3991:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3991:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3998:58: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3998:58: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4052:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4052:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5072:37: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5072:37: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5074:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5074:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5078:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5078:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5090:29: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5090:29: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5361:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5361:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6908:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6908:24: error: too long token expansion WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8data.o WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8-selftest.o WARNING: modpost: missing MODULE_DESCRIPTION() in security/apparmor/apparmor_policy_unpack_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/find_bit_benchmark.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/cpumask_kunit.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_bitmap.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/core/cxl_core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_pci.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_mem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_acpi.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_pmem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_port.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/auxdisplay/hd44780_common.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/auxdisplay/line-display.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/ch341.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb_debug.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/mxuport.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/navman.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/qcaux.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb-serial-simple.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/symbolserial.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-hub.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-aspeed.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-gpio.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-ast-cf.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-scom.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../drivers/scsi/qedf/qedf_main.c:2217:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2217:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2217:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2246:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2246:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2246:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2263:33: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2281:26: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2512:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2512:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_main.c:2512:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/qedf/qedf_main.c:2708:34: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2822:25: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2825:18: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../drivers/net/ethernet/arc/emac_main.c:256:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:256:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:256:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:458:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:458:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:458:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:707:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:707:37: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:707:37: got restricted __le32 [usertype] ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: expected restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: got unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: expected restricted __wsum [usertype] csum ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: got int [assigned] wrs_needed ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:494:24: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:494:24: warning: cast from restricted __wsum ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:796:37: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:797:38: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:798:18: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:819:28: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:827:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:935:25: warning: restricted __be32 degrades to integer ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: expected unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: got restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:940:32: warning: restricted __be32 degrades to integer ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: expected unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: got restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c: note: in included file: ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../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/atheros/alx/main.c:1444:30: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1444:30: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1444:30: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1448:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/alx/main.c:1448:39: expected restricted __le32 [usertype] pkt_len ../drivers/net/ethernet/atheros/alx/main.c:1448:39: got unsigned int len ../drivers/net/ethernet/atheros/alx/main.c:1449:30: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1449:30: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1449:30: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1452:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1452:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1452:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1453:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1453:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1453:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1455:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1455:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1455:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1469:16: warning: restricted __le32 degrades to integer ../drivers/net/macsec.c:431:24: warning: restricted ssci_t degrades to integer ../drivers/net/macsec.c:431:22: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:431:22: expected restricted ssci_t [usertype] ssci ../drivers/net/macsec.c:431:22: got unsigned int ../drivers/net/macsec.c:432:22: warning: restricted __be64 degrades to integer ../drivers/net/macsec.c:432:20: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:432:20: expected restricted __be64 [usertype] pn ../drivers/net/macsec.c:432:20: got unsigned long long ../net/core/dev.c:3381:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3381:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3381:23: got unsigned int ../net/core/dev.c:3381:23: warning: cast from restricted __wsum ../net/core/dev.c:5335:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3821:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5293:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3183:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3183:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3184 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3480:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3485:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3515:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3519:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3519:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3519:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3529:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3533:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3533:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3533:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3543:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3549:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3558:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3561:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 In file included from ../drivers/net/ethernet/broadcom/genet/bcmmii.c:17: ../drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_pd_init’: ../include/linux/phy.h:307:20: warning: ‘%02x’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 0 and 60 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:24: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~ ../include/linux/phy.h:307:20: note: using the range [0, 4294967295] for directive argument 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:17: note: ‘snprintf’ output between 4 and 70 bytes into a destination of size 61 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | mdio_bus_id, pd->phy_address); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function ‘bgx_acpi_match_id’: ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:34: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:30: note: directive argument in the range [0, 255] 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:9: note: ‘snprintf’ output between 5 and 7 bytes into a destination of size 5 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/cnic.c:5261:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5261:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5261:40: got unsigned int [usertype] cli ../drivers/net/ethernet/broadcom/cnic.c:5216:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5216:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5216:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:5217:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5217:40: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:5217:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1390:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1390:33: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1390:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1391:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1391:33: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1391:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1415:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1416:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1686:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1686:22: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1686:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1687:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1687:22: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1687:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1728:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1728:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1728:54: got unsigned int [usertype] sq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1730:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1730:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1730:54: got unsigned int [usertype] sq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1732:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1732:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1732:54: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1733:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1733:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1733:54: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1734:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1734:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1734:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1736:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1736:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1736:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1738:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1738:59: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1738:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1740:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1740:59: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1740:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1742:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1742:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1742:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1744:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1744:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1744:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1746:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1746:61: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1746:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1748:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1748:61: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1748:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1750:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1750:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1750:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1752:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1752:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1752:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1774:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1774:57: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1774:57: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1776:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1776:57: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1776:57: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1787:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1787:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1787:53: got unsigned int [usertype] rq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1789:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1789:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1789:53: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1791:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1791:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1791:53: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1792:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1792:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1792:53: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1793:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1793:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1793:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1795:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1795:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1795:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1797:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1797:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1797:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1799:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1799:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1799:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1801:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1801:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1801:53: got unsigned int [usertype] cq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1803:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1803:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1803:53: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1806:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1806:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1806:56: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1807:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1807:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1807:56: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1821:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1821:64: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1821:64: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1823:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1823:64: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1823:64: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1827:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1827:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1827:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1829:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1829:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1829:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1831:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1831:49: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1831:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1833:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1833:49: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1833:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1844:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1844:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1844:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1846:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1846:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1846:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1848:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1848:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1848:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1849:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1849:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1849:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1850:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1850:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1850:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1852:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1852:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1852:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1856:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1856:47: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1856:47: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1858:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1858:47: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1858:47: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:2077:17: warning: cast from restricted __sum16 ../drivers/net/ethernet/broadcom/cnic.c:2326:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2326:35: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:2326:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2327:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2327:35: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:2327:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2328:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2328:32: expected restricted __le32 [usertype] eq_pbl_size ../drivers/net/ethernet/broadcom/cnic.c:2328:32: got int num_pages ../drivers/net/ethernet/broadcom/cnic.c:2330:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2330:27: expected restricted __le16 [usertype] sb_num ../drivers/net/ethernet/broadcom/cnic.c:2330:27: got unsigned int [usertype] status_blk_num ../drivers/net/ethernet/broadcom/cnic.c:2331:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2331:28: expected restricted __le16 [usertype] eq_prod ../drivers/net/ethernet/broadcom/cnic.c:2331:28: got unsigned long ../drivers/net/ethernet/broadcom/cnic.c:2372:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2372:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2372:16: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2429:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2429:27: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2429:27: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2430:32: expected restricted __le32 [addressable] [assigned] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2430:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2447:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2447:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2447:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2448:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:2475:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2475:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2475:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2476:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2476:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2476:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2509:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2509:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2509:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2510:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2510:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2510:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2522:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2522:32: expected restricted __le32 [addressable] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2522:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2537:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2537:35: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_context_id ../drivers/net/ethernet/broadcom/cnic.c:2537:35: got unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2609:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2609:29: expected unsigned int [assigned] [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2609:29: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2610:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2610:32: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2610:32: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:3511:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3512:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3513:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3514:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3515:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3516:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3531:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3532:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3533:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3534:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3637:49: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3790:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3790:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3790:31: got restricted __be16 [usertype] sin6_port ../drivers/net/ethernet/broadcom/cnic.c:3796:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3796:32: expected unsigned int ../drivers/net/ethernet/broadcom/cnic.c:3796:32: got restricted __be32 [usertype] s_addr ../drivers/net/ethernet/broadcom/cnic.c:3797:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3797:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3797:31: got restricted __be16 [usertype] sin_port ../drivers/net/ethernet/broadcom/cnic.c:3827:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3827:23: expected unsigned short [usertype] src_port ../drivers/net/ethernet/broadcom/cnic.c:3827:23: got restricted __be16 [assigned] [usertype] local_port ../drivers/net/ethernet/broadcom/cnic.c:3984:29: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4946:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4946:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4946:33: expected restricted __le32 [usertype] addr_lo ../drivers/net/ethernet/broadcom/cnic.c:4946:33: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:4954:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4954:46: expected restricted __le32 [usertype] parsing_data ../drivers/net/ethernet/broadcom/cnic.c:4954:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4957:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4957:46: expected restricted __le16 [usertype] global_data ../drivers/net/ethernet/broadcom/cnic.c:4957:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4982:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4982:25: expected unsigned short [usertype] *tx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:4982:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5047:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5047:35: expected restricted __le16 [usertype] silent_vlan_mask ../drivers/net/ethernet/broadcom/cnic.c:5047:35: got int ../drivers/net/ethernet/broadcom/cnic.c:5049:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5049:25: expected unsigned short [usertype] *rx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:5049:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5067:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5067:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5067:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5069:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5069:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5069:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5074:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5074:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5074:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5076:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5076:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5076:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5086:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5086:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5086:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5088:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5088:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5088:41: got restricted __le16 * ../drivers/net/ethernet/chelsio/cxgb/sge.c:1390:65: warning: cast to restricted __be16 ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: expected unsigned short [usertype] vlan ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: got restricted __be16 [usertype] ../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/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: expected void [noderef] __iomem *p ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: got struct gfar * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:22: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: error: incompatible types in comparison expression (different address spaces): ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void [noderef] __iomem * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:399:25: error: subtraction of different types can't work (different address spaces) ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: expected restricted __be16 [usertype] l2t_idx ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: got restricted __be32 [usertype] ../drivers/net/ethernet/engleder/tsnep_main.c:1622:25: error: too long token expansion ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2306: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=] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:52: note: directive argument in the range [-2147483639, 2147483646] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2307 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:374, from ../include/linux/uuid.h:11, from ../include/linux/mod_devicetable.h:14, from ../include/linux/pci.h:27, from ../drivers/net/ethernet/broadcom/bnx2x/bnx2x.h:19, from ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:22: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2x_get_vf_config’ at ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:2655:4: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/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/cxgb3/t3_hw.c:833:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: expected unsigned int [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:3601:52: warning: dubious: !x | y ../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/cxgb3/sge.c:2371:50: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: expected unsigned int [usertype] rss ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: expected unsigned int [usertype] priority ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: got restricted __be32 [assigned] [usertype] rss_lo ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2120:16: warning: cast to restricted __be32 ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c: In function ‘cgx_lmac_init’: ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:37: note: directive argument in the range [-2147483641, 254] 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/gianfar.c:2212:60: warning: cast to restricted __be64 ../drivers/net/ethernet/freescale/gianfar.c:2475:53: warning: cast to restricted __be64 ../drivers/net/ethernet/micrel/ks8851_par.c:62:13: warning: context imbalance in 'ks8851_lock_par' - wrong count at exit ../drivers/net/ethernet/micrel/ks8851_par.c:76:13: warning: context imbalance in 'ks8851_unlock_par' - unexpected unlock ../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/broadcom/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:2046:35: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:2046:35: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:4542:32: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:4542:32: error: too long token expansion ../drivers/net/ethernet/broadcom/tg3.c: In function ‘tg3_request_irq’: ../drivers/net/ethernet/broadcom/tg3.c:11326:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 11326 | "%s-%d", tp->dev->name, irq_num); | ^~ ../drivers/net/ethernet/broadcom/tg3.c:11326:34: note: using the range [-2147483648, 2147483647] for directive argument 11326 | "%s-%d", tp->dev->name, irq_num); | ^~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11325:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 16 11325 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11326 | "%s-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:37: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:34: note: using the range [-2147483648, 2147483647] for directive argument 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11322:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11322 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:37: warning: ‘-tx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:34: note: using the range [-2147483648, 2147483647] for directive argument 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11319:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11319 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:37: warning: ‘-txrx-’ directive output may be truncated writing 6 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:34: note: using the range [-2147483648, 2147483647] for directive argument 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11316:25: note: ‘snprintf’ output between 8 and 33 bytes into a destination of size 16 11316 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: expected struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: expected struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:161:46: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/tg3.c:3745:34: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:17074:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17074:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17074:63: got unsigned int * ../drivers/net/ethernet/broadcom/tg3.c:17075:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17075:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17075:63: got unsigned int * ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c: In function ‘dpaa_get_strings’: ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:64: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:63: note: using the range [-2147483648, 2147483647] for directive argument 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:25: note: ‘snprintf’ output between 9 and 306 bytes into a destination of size 32 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | dpaa_stats_percpu[i], j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:56: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:17: note: ‘snprintf’ output between 9 and 296 bytes into a destination of size 32 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | dpaa_stats_percpu[i]); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2935:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: got int ../drivers/net/ethernet/marvell/sky2.c:1890:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/sky2.c:1890:28: expected restricted __le16 [usertype] length ../drivers/net/ethernet/marvell/sky2.c:1890:28: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/sky2.c:2670:29: warning: cast to restricted __le16 ../drivers/net/ethernet/marvell/sky2.c:2670:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/sky2.c:2670:27: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/marvell/sky2.c:2670:27: got unsigned short [usertype] ../drivers/net/ethernet/marvell/sky2.c:2691:57: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:2699:27: warning: cast to restricted __le32 ../drivers/net/ethernet/marvell/sky2.c:4446:53: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:4446:53: warning: cast from restricted __le16 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2745:24: warning: cast to restricted __be32 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file: ../include/soc/fsl/qman.h:245:16: warning: cast to restricted __be32 ../include/soc/fsl/qman.h:245:16: warning: cast from restricted __be16 ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10562:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10562 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~ ~~~~~~ In function ‘bnxt_setup_inta’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10582:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10562:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 10562 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10563 | 0); | ~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10547:62: warning: ‘%s’ directive output may be truncated writing between 2 and 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10547 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~ In function ‘bnxt_setup_msix’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10580:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10547:58: note: directive argument in the range [-2147483643, 2147483646] 10547 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10547:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 10547 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10548 | attr, i); | ~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:3247:28: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:3247:28: error: too long token expansion ../drivers/net/ethernet/marvell/mvneta.c:1796:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/marvell/mvneta.c:1979:45: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/marvell/mvneta.c:1979:45: expected int l3_proto ../drivers/net/ethernet/marvell/mvneta.c:1979:45: got restricted __be16 [usertype] l3_proto ../scripts/Makefile.build:244: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:998:14: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1008:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1011:28: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1058:27: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1061:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1112:21: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1114:33: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1143:30: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1147:42: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1152:50: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1153:40: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1344:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:951:21: warning: cast truncates bits from constant value (ffffffff7fffffff becomes 7fffffff) ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:625:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 625 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:624:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 624 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:642:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 642 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:641:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 641 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 642 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:639:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 639 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 638 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_add_isr’: ../drivers/net/ethernet/neterion/s2io.c:6947:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] 6947 | "%s:MSI-X-%d-TX", | ^~ ../drivers/net/ethernet/neterion/s2io.c:6947:49: note: directive argument in the range [-2147483641, 2147483646] 6947 | "%s:MSI-X-%d-TX", | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6945:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 6945 | snprintf(sp->desc[i], | ^~~~~~~~~~~~~~~~~~~~~ 6946 | sizeof(sp->desc[i]), | ~~~~~~~~~~~~~~~~~~~~ 6947 | "%s:MSI-X-%d-TX", | ~~~~~~~~~~~~~~~~~ 6948 | dev->name, i); | ~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6936:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] 6936 | "%s:MSI-X-%d-RX", | ^~ ../drivers/net/ethernet/neterion/s2io.c:6936:49: note: directive argument in the range [-2147483641, 2147483646] 6936 | "%s:MSI-X-%d-RX", | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6934:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 6934 | snprintf(sp->desc[i], | ^~~~~~~~~~~~~~~~~~~~~ 6935 | sizeof(sp->desc[i]), | ~~~~~~~~~~~~~~~~~~~~ 6936 | "%s:MSI-X-%d-RX", | ~~~~~~~~~~~~~~~~~ 6937 | dev->name, i); | ~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_init_nic’: ../drivers/net/ethernet/neterion/s2io.c:8097:59: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 35 and 50 [-Wformat-truncation=] 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, | ^~ ../drivers/net/ethernet/neterion/s2io.c:8097:9: note: ‘snprintf’ output between 11 and 105 bytes into a destination of size 60 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8098 | sp->product_name); | ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6959:41: warning: cast to restricted __be32 ../drivers/net/ethernet/renesas/sh_eth.c:897:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:897:37: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:897:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:898:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:898:37: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:898:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:905:37: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:905:37: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:905:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:906:37: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:906:37: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:906:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1242:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/renesas/sh_eth.c:1247:17: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1252:25: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1252:25: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1266:49: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1283:33: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: warning: invalid assignment: &= ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1602:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/renesas/sh_eth.c:1605:31: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1606:27: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1644:36: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: expected void *addr ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: got void [noderef] __iomem * In file included from ../drivers/net/usb/asix.h:28, from ../drivers/net/usb/ax88172a.c:15: ../drivers/net/usb/ax88172a.c: In function ‘ax88172a_reset’: ../include/linux/phy.h:307:20: warning: ‘%s’ directive output may be truncated writing up to 60 bytes into a region of size 20 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:21: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~ ../include/linux/phy.h:307:20: note: directive argument in the range [0, 65535] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:9: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 20 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | priv->mdio->id, priv->phy_addr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/phy/mscc/mscc_main.c: In function ‘vsc85xx_dt_led_modes_get.constprop’: ../drivers/net/phy/mscc/mscc_main.c:452:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ ../drivers/net/phy/mscc/mscc_main.c:452:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/usb/lan78xx.c:3525:29: warning: cast to restricted __be16 ../drivers/net/usb/lan78xx.c:3525:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/lan78xx.c:3525:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/lan78xx.c:3525:27: got unsigned short [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:64: note: directive argument in the range [0, 4294967294] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:409:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:418:36: warning: cast to restricted __be32 ../drivers/net/usb/smsc75xx.c:2172:29: warning: cast to restricted __be16 ../drivers/net/usb/smsc75xx.c:2172:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/smsc75xx.c:2172:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/smsc75xx.c:2172:27: got unsigned short [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:779:16: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:797:41: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:810:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: expected unsigned int [usertype] app1 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:912:33: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:920:25: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:985:39: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:999:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1005:26: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:37: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: got restricted __be16 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: got restricted __be32 [usertype] ../drivers/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:278: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=] 278 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:276:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 276 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 278 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/korina.c:408:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:408:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:408:33: got struct dma_reg [noderef] __iomem *tx_dma_regs ../drivers/net/ethernet/korina.c:415:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:415:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:415:33: got struct dma_reg [noderef] __iomem *rx_dma_regs ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:108:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:108:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: got unsigned int [usertype] ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2704:41: warning: too many warnings ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/net/ethernet/ethoc.c:317:13: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:317:13: expected void *vma ../drivers/net/ethernet/ethoc.c:317:13: got void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:454:67: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/ethoc.c:454:67: expected void const volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:454:67: got void *src ../drivers/net/ethernet/ethoc.c:908:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/ethoc.c:908:21: expected void volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:908:21: got void *[assigned] dest ../drivers/net/ethernet/ethoc.c:1109:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:1109:31: expected void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:1109:31: got void * ../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/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: got int ../drivers/net/ethernet/nxp/lpc_eth.c:909:31: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: expected unsigned int [usertype] ethst ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: expected int si ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: got unsigned int ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: expected void [noderef] __iomem **mapbase ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: got void ** ../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/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../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:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c: In function ‘mvpp2_probe’: ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7636:32: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7635:9: note: ‘snprintf’ output between 10 and 31 bytes into a destination of size 30 7635 | snprintf(priv->queue_name, sizeof(priv->queue_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7637 | priv->port_count > 1 ? "+" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:115:27: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:115:27: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:708:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:708:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:712:47: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:712:47: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:716:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:716:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:781:28: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:781:28: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1053:33: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1053:33: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1059:20: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1059:20: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1136:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1136:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1149:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1149:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1184:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1184:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1197:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1197:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1212:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1212:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1323:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1323:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1330:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1330:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1358:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1358:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2990:45: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2990:45: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3833:54: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3833:54: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3837:55: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3837:55: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3981:17: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3981:17: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3991:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3991:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3998:58: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3998:58: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4052:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4052:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5072:37: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5072:37: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5074:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5074:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5078:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5078:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5090:29: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5090:29: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5361:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5361:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6908:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6908:24: error: too long token expansion WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8data.o WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8-selftest.o WARNING: modpost: missing MODULE_DESCRIPTION() in security/apparmor/apparmor_policy_unpack_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/find_bit_benchmark.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/cpumask_kunit.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_bitmap.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/core/cxl_core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_pci.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_mem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_acpi.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_pmem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_port.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/auxdisplay/hd44780_common.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/auxdisplay/line-display.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/ch341.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb_debug.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/mxuport.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/navman.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/qcaux.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb-serial-simple.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/symbolserial.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-hub.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-aspeed.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-gpio.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-ast-cf.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-scom.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?