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/run_tags_test.sh: 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/socket.c:1694:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c: In function ‘aq_ethtool_get_strings’: ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:56: note: directive argument in the range [-2147483641, 254] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:33: note: ‘snprintf’ output between 5 and 15 bytes into a destination of size 8 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:54: note: directive argument in the range [0, 2147483646] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1121:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1121 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1123 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:54: note: directive argument in the range [0, 2147483646] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1126:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1126 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/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/cavium/liquidio/request_manager.c:572:9: warning: context imbalance in 'octeon_send_command' - different lock contexts for basic block ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1743:15: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1813:15: warning: cast to restricted __be32 ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../drivers/net/ethernet/engleder/tsnep_main.c:1622:25: error: too long token expansion ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: expected unsigned int [addressable] [assigned] [usertype] mtu ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: got restricted __be32 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: got restricted __be16 [usertype] ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c: note: in included file: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:254:55: warning: array of flexible structures ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:291:55: warning: array of flexible structures ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10584 | 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:10604:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 10584 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10585 | 0); | ~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569: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=] 10569 | 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:10602:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:58: note: directive argument in the range [-2147483643, 2147483646] 10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10570 | attr, i); | ~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: got restricted __be16 [usertype] ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4144:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=] 4144 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5056:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4143:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 31 4143 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4144 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) 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/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/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/octeontx2/nic/otx2_common.c:25:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:28:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:38:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:41:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:822:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:596:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: expected unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: expected restricted __be16 [usertype] tot_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: expected restricted __be16 [usertype] payload_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: got unsigned short [usertype] iplen ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:54: note: directive argument in the range [-2147483641, 65534] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1904 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: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/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:321:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:325:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" ../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/cm.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/cq.c:418:36: warning: context imbalance in 'c4iw_flush_hw_cq' - unexpected unlock ../drivers/infiniband/hw/cxgb4/cq.c:946:9: warning: context imbalance in 'c4iw_poll_cq_one' - different lock contexts for basic block ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/infiniband/hw/cxgb4/qp.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c:1615:39: warning: context imbalance in '__flush_qp' - different lock contexts for basic block ../drivers/net/ethernet/renesas/rtsn.c:1236:35: error: initialization of ‘int (*)(struct net_device *, struct kernel_ethtool_ts_info *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_ts_info *)’ [-Wincompatible-pointer-types] 1236 | .get_ts_info = rtsn_get_ts_info, | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/renesas/rtsn.c:1236:35: note: (near initialization for ‘rtsn_ethtool_ops.get_ts_info’) make[7]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/renesas/rtsn.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/renesas] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block ../drivers/infiniband/hw/mlx5/fs.c:1189:26: warning: array of flexible structures ../drivers/net/ethernet/intel/ice/ice_ptp.c:397:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:868:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_shutdown' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_reset_task' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_link_timer' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_open' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_close' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_suspend' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_resume' - different lock contexts for basic block ../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/stmicro/stmmac/dwmac4_core.c:1007:32: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping ../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/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/stmicro/stmmac/dwxgmac2_core.c:668:32: warning: restricted __le16 degrades to integer ../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/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/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6031:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6049:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6115:8: ../drivers/net/ethernet/sun/niu.c:6031:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer ../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 make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 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/run_tags_test.sh: 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 ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c: In function ‘aq_ethtool_get_strings’: ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:56: note: directive argument in the range [-2147483641, 254] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:33: note: ‘snprintf’ output between 5 and 15 bytes into a destination of size 8 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/socket.c:1694:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../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/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:321:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:325:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" ../drivers/net/ethernet/cavium/liquidio/request_manager.c:572:9: warning: context imbalance in 'octeon_send_command' - different lock contexts for basic block ../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/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:54: note: directive argument in the range [0, 2147483646] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1121:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1121 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1123 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:54: note: directive argument in the range [0, 2147483646] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1126:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1126 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1743:15: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1813:15: warning: cast to restricted __be32 ../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../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/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/engleder/tsnep_main.c:1622:25: error: too long token expansion ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: expected unsigned int [addressable] [assigned] [usertype] mtu ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c: note: in included file: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:254:55: warning: array of flexible structures ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:291:55: warning: array of flexible structures ../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/cavium/liquidio/lio_main.c:2692:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: got restricted __be16 [usertype] ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4144:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=] 4144 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5056:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4143:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 31 4143 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4144 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../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/octeontx2/nic/otx2_pf.c:596:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:25:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:28:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:38:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:41:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:822:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: expected unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: expected restricted __be16 [usertype] tot_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: expected restricted __be16 [usertype] payload_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: got unsigned short [usertype] iplen ../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 * 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/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/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10584 | 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:10604:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 10584 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10585 | 0); | ~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569: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=] 10569 | 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:10602:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:58: note: directive argument in the range [-2147483643, 2147483646] 10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10570 | attr, i); | ~~~~~~~~ ../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../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/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:54: note: directive argument in the range [-2147483641, 65534] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1904 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: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/infiniband/hw/cxgb4/cm.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/cq.c:418:36: warning: context imbalance in 'c4iw_flush_hw_cq' - unexpected unlock ../drivers/infiniband/hw/cxgb4/cq.c:946:9: warning: context imbalance in 'c4iw_poll_cq_one' - different lock contexts for basic block ../drivers/net/ethernet/renesas/rtsn.c:1236:35: error: initialization of ‘int (*)(struct net_device *, struct kernel_ethtool_ts_info *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_ts_info *)’ [-Wincompatible-pointer-types] 1236 | .get_ts_info = rtsn_get_ts_info, | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/renesas/rtsn.c:1236:35: note: (near initialization for ‘rtsn_ethtool_ops.get_ts_info’) make[7]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/renesas/rtsn.o] Error 1 make[7]: *** Waiting for unfinished jobs.... ../drivers/infiniband/hw/cxgb4/qp.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c:1615:39: warning: context imbalance in '__flush_qp' - different lock contexts for basic block make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/renesas] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/via/via-rhine.c:1135:39: warning: cast removes address space '__iomem' of expression ../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/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 ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../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/via/via-velocity.c: note: in included file: ../drivers/net/ethernet/via/via-velocity.h:236:24: warning: mixed bitwiseness ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:88:26: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/via/via-velocity.c:88:26: expected void *addr ../drivers/net/ethernet/via/via-velocity.c:88:26: got struct mac_regs [noderef] __iomem *mac_regs ../drivers/net/ethernet/via/via-velocity.c:91:49: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:91:49: expected restricted pci_power_t [usertype] state ../drivers/net/ethernet/via/via-velocity.c:91:49: got char state ../drivers/net/ethernet/via/via-velocity.c:93:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/via/via-velocity.c:93:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/via/via-velocity.c:93:36: got void * ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1748:17: warning: cast to restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:2241:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2241:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:2241:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2249:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2249:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2249:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2436:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2436:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2436:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2449:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2449:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2449:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2874:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2874:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:2874:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3145:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3145:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3145:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3151:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3151:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3151:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3203:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3203:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:3203:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3273:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3273:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3273:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3290:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3290:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3290:48: got restricted pci_power_t [usertype] ../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/infiniband/hw/mlx5/fs.c:1189:26: warning: array of flexible structures ../drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c:1007:32: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:668:32: warning: restricted __le16 degrades to integer ../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/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/intel/ice/ice_ptp.c:397:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../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/intel/ice/ice_ptp_hw.c:868:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 New errors added --- /tmp/tmp.n2Y8SO3uLz 2024-07-05 12:47:13.746437516 -0700 +++ /tmp/tmp.ZE9tBdw4o7 2024-07-05 12:48:09.410654061 -0700 @@ -9 +8,0 @@ -../net/socket.c:1694:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? @@ -24,0 +24 @@ +../net/socket.c:1694:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? @@ -34,45 +34,4 @@ -../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/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): +../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:321:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:325:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +../drivers/net/ethernet/cavium/liquidio/request_manager.c:572:9: warning: context imbalance in 'octeon_send_command' - different lock contexts for basic block @@ -135,28 +94,7 @@ -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] - 1074 | "%s-Rx%d", dev->name, j); - | ^~ -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] - 1074 | "%s-Rx%d", dev->name, j); - | ^~~~~~~~~ -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 - 1072 | snprintf(adap->msix_info[msix].desc, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1073 | sizeof(adap->msix_info[msix].desc), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1074 | "%s-Rx%d", dev->name, j); - | ~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] - 1356 | "%s-mirrorrxq%d", dev->name, i); - | ^~ -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] - 1356 | "%s-mirrorrxq%d", dev->name, i); - | ^~~~~~~~~~~~~~~~ -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 - 1354 | snprintf(mirror_rxq->msix->desc, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1355 | sizeof(mirror_rxq->msix->desc), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1356 | "%s-mirrorrxq%d", dev->name, i); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 +../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 +../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 +../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 +../drivers/net/ethernet/cavium/liquidio/lio_core.c:1743:15: warning: cast to restricted __be32 +../drivers/net/ethernet/cavium/liquidio/lio_core.c:1813:15: warning: cast to restricted __be32 +../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock @@ -426,14 +363,0 @@ -../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/cavium/liquidio/request_manager.c:572:9: warning: context imbalance in 'octeon_send_command' - different lock contexts for basic block -../drivers/net/ethernet/cavium/liquidio/lio_core.c:1743:15: warning: cast to restricted __be32 -../drivers/net/ethernet/cavium/liquidio/lio_core.c:1813:15: warning: cast to restricted __be32 @@ -484,2 +407,0 @@ -../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock -../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock @@ -487,4 +408,0 @@ -../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 -../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 -../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 -../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 @@ -493,0 +412,32 @@ +../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock +../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c: note: in included file: +../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:254:55: warning: array of flexible structures +../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:291:55: warning: array of flexible structures +../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); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -511,28 +460,0 @@ -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c: note: in included file: -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:254:55: warning: array of flexible structures -../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:291:55: warning: array of flexible structures -../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: -../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] -10584 | 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:10604:3: -../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 -10584 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -10585 | 0); - | ~~ -../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: -../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569: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=] -10569 | 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:10602:3: -../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:58: note: directive argument in the range [-2147483643, 2147483646] -10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, - | ^~~~~~~~~~ -../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 -10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -10570 | attr, i); - | ~~~~~~~~ @@ -567,23 +489,45 @@ -../drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) -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/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/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/octeontx2/nic/otx2_common.c:25:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:28:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:38:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:41:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:822:16: warning: cast removes address space '__iomem' of expression +../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); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -599,0 +544,5 @@ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:25:16: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:28:16: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:38:16: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:41:16: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:822:16: warning: cast removes address space '__iomem' of expression @@ -608,0 +558,66 @@ +../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 * +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/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/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) +../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] +10584 | 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:10604:3: +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 +10584 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +10585 | 0); + | ~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569: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=] +10569 | 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:10602:3: +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:58: note: directive argument in the range [-2147483643, 2147483646] +10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, + | ^~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 +10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +10570 | attr, i); + | ~~~~~~~~ +../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): +../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures +../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures +../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures +../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures +../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures +../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures +../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/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): +../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures +../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures +../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures +../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures @@ -646,10 +660,0 @@ -../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): -../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:321:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" -../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:325:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" -../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): -../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures -../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures -../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures -../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures -../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures -../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures @@ -661,5 +665,0 @@ -../drivers/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): -../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures -../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures -../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures -../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures @@ -668 +668,6 @@ -../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' +../drivers/net/ethernet/renesas/rtsn.c:1236:35: error: initialization of ‘int (*)(struct net_device *, struct kernel_ethtool_ts_info *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_ts_info *)’ [-Wincompatible-pointer-types] + 1236 | .get_ts_info = rtsn_get_ts_info, + | ^~~~~~~~~~~~~~~~ +../drivers/net/ethernet/renesas/rtsn.c:1236:35: note: (near initialization for ‘rtsn_ethtool_ops.get_ts_info’) +make[7]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/renesas/rtsn.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... @@ -677,5 +681,0 @@ -../drivers/net/ethernet/renesas/rtsn.c:1236:35: error: initialization of ‘int (*)(struct net_device *, struct kernel_ethtool_ts_info *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_ts_info *)’ [-Wincompatible-pointer-types] - 1236 | .get_ts_info = rtsn_get_ts_info, - | ^~~~~~~~~~~~~~~~ -../drivers/net/ethernet/renesas/rtsn.c:1236:35: note: (near initialization for ‘rtsn_ethtool_ops.get_ts_info’) -make[7]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/renesas/rtsn.o] Error 1 @@ -684,2 +684,147 @@ -../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' -../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block +../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: +../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] + 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); + | ^~ +../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 + 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' +../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: +../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] + 576 | snprintf(link_name, 16, "%s-link", name); + | ^~ +../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 + 576 | snprintf(link_name, 16, "%s-link", name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/via/via-rhine.c:1135:39: warning: cast removes address space '__iomem' of expression +../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/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 +../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new +../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/via/via-velocity.c: note: in included file: +../drivers/net/ethernet/via/via-velocity.h:236:24: warning: mixed bitwiseness +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:88:26: warning: incorrect type in initializer (different address spaces) +../drivers/net/ethernet/via/via-velocity.c:88:26: expected void *addr +../drivers/net/ethernet/via/via-velocity.c:88:26: got struct mac_regs [noderef] __iomem *mac_regs +../drivers/net/ethernet/via/via-velocity.c:91:49: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:91:49: expected restricted pci_power_t [usertype] state +../drivers/net/ethernet/via/via-velocity.c:91:49: got char state +../drivers/net/ethernet/via/via-velocity.c:93:36: warning: incorrect type in argument 2 (different address spaces) +../drivers/net/ethernet/via/via-velocity.c:93:36: expected void volatile [noderef] __iomem *addr +../drivers/net/ethernet/via/via-velocity.c:93:36: got void * +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: cast from restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:1748:17: warning: cast to restricted __le16 +../drivers/net/ethernet/via/via-velocity.c:2241:40: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:2241:40: expected char state +../drivers/net/ethernet/via/via-velocity.c:2241:40: got restricted pci_power_t [usertype] +../drivers/net/ethernet/via/via-velocity.c:2249:48: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:2249:48: expected char state +../drivers/net/ethernet/via/via-velocity.c:2249:48: got restricted pci_power_t [usertype] +../drivers/net/ethernet/via/via-velocity.c:2436:48: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:2436:48: expected char state +../drivers/net/ethernet/via/via-velocity.c:2436:48: got restricted pci_power_t [usertype] +../drivers/net/ethernet/via/via-velocity.c:2449:48: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:2449:48: expected char state +../drivers/net/ethernet/via/via-velocity.c:2449:48: got restricted pci_power_t [usertype] +../drivers/net/ethernet/via/via-velocity.c:2874:40: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:2874:40: expected char state +../drivers/net/ethernet/via/via-velocity.c:2874:40: got restricted pci_power_t [usertype] +../drivers/net/ethernet/via/via-velocity.c:3145:48: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:3145:48: expected char state +../drivers/net/ethernet/via/via-velocity.c:3145:48: got restricted pci_power_t [usertype] +../drivers/net/ethernet/via/via-velocity.c:3151:48: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:3151:48: expected char state +../drivers/net/ethernet/via/via-velocity.c:3151:48: got restricted pci_power_t [usertype] +../drivers/net/ethernet/via/via-velocity.c:3203:40: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:3203:40: expected char state +../drivers/net/ethernet/via/via-velocity.c:3203:40: got restricted pci_power_t [usertype] +../drivers/net/ethernet/via/via-velocity.c:3273:48: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:3273:48: expected char state +../drivers/net/ethernet/via/via-velocity.c:3273:48: got restricted pci_power_t [usertype] +../drivers/net/ethernet/via/via-velocity.c:3290:48: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/via/via-velocity.c:3290:48: expected char state +../drivers/net/ethernet/via/via-velocity.c:3290:48: got restricted pci_power_t [usertype] +../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] @@ -687,11 +831,0 @@ -../drivers/net/ethernet/intel/ice/ice_ptp.c:397:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit -../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:868:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit -../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_shutdown' - different lock contexts for basic block -../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_reset_task' - different lock contexts for basic block -../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_link_timer' - different lock contexts for basic block -../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_open' - different lock contexts for basic block -../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_close' - different lock contexts for basic block -../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_suspend' - different lock contexts for basic block -../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_resume' - different lock contexts for basic block -../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 @@ -699,4 +833,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) -../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc -../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping -../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/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' +../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:668:32: warning: restricted __le16 degrades to integer @@ -709,2 +840,0 @@ -../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:668:32: warning: restricted __le16 degrades to integer -../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new @@ -720,11 +850 @@ -../drivers/net/ethernet/sun/niu.c: In function ‘niu_open’: -../drivers/net/ethernet/sun/niu.c:6031:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] - 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); - | ^ -In function ‘niu_set_irq_name’, - inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6049:2, - inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6115:8: -../drivers/net/ethernet/sun/niu.c:6031:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 - 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer +../drivers/net/ethernet/intel/ice/ice_ptp.c:397:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit @@ -745,0 +866,5 @@ +../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:868:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit +../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) +../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc +../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping +../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer @@ -749 +873,0 @@ -make[3]: *** Waiting for unfinished jobs.... Per-file breakdown --- /tmp/tmp.LfxOftB0ZC 2024-07-05 12:48:09.428654454 -0700 +++ /tmp/tmp.YL3llibg2C 2024-07-05 12:48:09.437654651 -0700 @@ -40 +39,0 @@ - 1 ../drivers/net/ethernet/smsc/smc91x.c @@ -43 +41,0 @@ - 2 ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c @@ -46,2 +44,8 @@ - 7 ../drivers/net/ethernet/sun/cassini.c - 1 ../drivers/net/ethernet/sun/niu.c + 1 ../drivers/net/ethernet/via/via-rhine.c + 33 ../drivers/net/ethernet/via/via-velocity.c + 1 ../drivers/net/ethernet/via/via-velocity.h + 1 ../drivers/net/ethernet/wiznet/w5100.c + 1 ../drivers/net/ethernet/wiznet/w5300.c + 28 ../drivers/net/ethernet/xilinx/ll_temac_main.c + 2 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c + 2 ../drivers/net/ethernet/xilinx/xilinx_emaclite.c