========== build_allmodconfig_warn - FAILED ../drivers/net/ethernet/amazon/ena/ena_netdev.c: In function ‘ena_init_rx_cpu_rmap’: ../drivers/net/ethernet/amazon/ena/ena_netdev.c:165:16: error: too few arguments to function ‘netif_enable_cpu_rmap’ 165 | return netif_enable_cpu_rmap(adapter->netdev); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/net/inet_sock.h:19, from ../include/net/ip.h:29, from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:16: ../include/linux/netdevice.h:2780:5: note: declared here 2780 | int netif_enable_cpu_rmap(struct net_device *dev, unsigned int num_irqs); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/amazon/ena/ena_netdev.c:169:1: error: control reaches end of non-void function [-Werror=return-type] 169 | } | ^ cc1: some warnings being treated as errors make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 make[8]: *** Waiting for unfinished jobs.... ../drivers/net/rionet.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/net/ethernet/arc/emac_main.c:258:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:258:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:258:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:461:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:461:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:461:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:712:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:712:37: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:712:37: got restricted __le32 [usertype] make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/bareudp.c:290:14: warning: incorrect type in assignment (different address spaces) ../drivers/net/bareudp.c:290:14: expected struct socket *sock ../drivers/net/bareudp.c:290:14: got struct socket [noderef] __rcu *sock ../drivers/net/bareudp.c:620:20: warning: incorrect type in assignment (different base types) ../drivers/net/bareudp.c:620:20: expected restricted __be16 [usertype] port ../drivers/net/bareudp.c:620:20: got unsigned short ../drivers/net/bareudp.c:621:25: warning: incorrect type in assignment (different base types) ../drivers/net/bareudp.c:621:25: expected restricted __be16 [usertype] ethertype ../drivers/net/bareudp.c:621:25: got unsigned short ../drivers/net/ethernet/amd/pcnet32.c:695:39: warning: context imbalance in 'pcnet32_suspend' - unexpected unlock ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1447:45: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1475:46: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1666:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1666:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1666:44: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1669:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1669:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1669:44: right side has type unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1672:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1672:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1672:44: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1674:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1674:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1674:44: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1691:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1691:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1691:36: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1693:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1693:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1693:36: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1695:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1695:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1695:36: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1718:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:42: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1737:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:32: expected restricted __le32 [usertype] word2 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:32: got unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:42: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1782:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:32: expected restricted __le32 [usertype] word2 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:32: got unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1832:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:40: expected restricted __le32 [usertype] word2 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:40: got unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1837:17: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1839:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1839:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1839:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1842:24: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1842:24: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1842:24: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1891:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1891:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1891:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1893:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1893:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1893:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1898:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1898:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1898:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1901:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1901:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1901:28: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:1999:26: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atlx/atl1.c:2060:33: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atlx/atl1.c:2128:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2128:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2128:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2130:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2130:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2130:45: right side has type unsigned int ../drivers/net/ethernet/atheros/atlx/atl1.c:2133:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2133:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2133:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2134:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2134:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2134:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2144:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2144:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2144:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2148:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2148:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2148:37: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2150:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2150:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2150:37: right side has type unsigned int ../drivers/net/ethernet/atheros/atlx/atl1.c:2152:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2152:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2152:37: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2154:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2154:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2154:37: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2176:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2176:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2176:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2178:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2178:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2178:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2180:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2180:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2180:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2209:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atlx/atl1.c:2306:28: warning: invalid assignment: &= ../drivers/net/ethernet/atheros/atlx/atl1.c:2306:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2306:28: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:32: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:28: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2314:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atlx/atl1.c:2318:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2318:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2318:44: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2320:44: warning: invalid assignment: &= ../drivers/net/ethernet/atheros/atlx/atl1.c:2320:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2320:44: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2324:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2324:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2324:36: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2403:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2403:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2403:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2404:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2404:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2404:29: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: warning: invalid assignment: &= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: right side has type unsigned int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1852:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1893:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1894:39: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1907:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1916:26: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1916:26: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1920:41: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1937:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1940:25: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1940:25: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1941:32: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2178:19: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: expected unsigned short [usertype] vlan ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: got restricted __le16 [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: expected restricted __le16 [usertype] tag ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: got int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1734:25: warning: restricted __le32 degrades to integer ../drivers/net/macsec.c:418:24: warning: restricted ssci_t degrades to integer ../drivers/net/macsec.c:418:22: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:418:22: expected restricted ssci_t [usertype] ssci ../drivers/net/macsec.c:418:22: got unsigned int ../drivers/net/macsec.c:419:22: warning: restricted __be64 degrades to integer ../drivers/net/macsec.c:419:20: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:419:20: expected restricted __be64 [usertype] pn ../drivers/net/macsec.c:419:20: got unsigned long long ../drivers/net/amt.c: note: in included file (through ../include/linux/igmp.h): ../include/uapi/linux/igmp.h:60:32: warning: array of flexible structures ../drivers/net/amt.c: note: in included file: ../include/net/mld.h:32:43: warning: array of flexible structures ../drivers/net/ethernet/brocade/bna/bnad.c:396:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:396:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:396:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:452:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:452:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:452:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:551:23: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:617:17: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:639:25: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:640:23: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:667:39: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:668:41: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:712:73: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:1322:33: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:1322:33: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:1362:25: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:1362:25: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:1362:25: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2816:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2816:33: expected unsigned short [usertype] vlan_tag ../drivers/net/ethernet/brocade/bna/bnad.c:2816:33: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2825:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2825:47: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2825:47: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2829:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2829:47: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2829:47: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2830:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2830:48: expected unsigned short [usertype] lso_mss ../drivers/net/ethernet/brocade/bna/bnad.c:2830:48: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2839:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2839:53: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2839:53: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2843:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2843:39: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2843:39: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2865:69: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2865:69: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2865:69: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2878:69: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2878:69: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2878:69: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2898:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2898:30: expected unsigned short [usertype] flags ../drivers/net/ethernet/brocade/bna/bnad.c:2898:30: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2899:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2899:37: expected unsigned int [usertype] frame_length ../drivers/net/ethernet/brocade/bna/bnad.c:2899:37: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3019:9: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3019:9: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:3019:9: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3020:34: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3020:34: expected unsigned short [usertype] length ../drivers/net/ethernet/brocade/bna/bnad.c:3020:34: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3044:51: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3044:51: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:3044:51: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3060:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3060:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:3060:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3061:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3061:48: expected unsigned short [usertype] length ../drivers/net/ethernet/brocade/bna/bnad.c:3061:48: got restricted __be16 [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/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3176:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3176 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3176:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3176 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3177 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3472:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3477:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3482:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3482:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3507:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3511:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3511:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3511:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3521:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3525:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3525:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3525:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3535:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3535:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3541:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3542:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3549:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3553:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3589:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3589:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3643:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3643:25: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/bnx2.c: In function ‘bnx2_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnx2.c:6288:56: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~ In function ‘bnx2_enable_msix’, inlined from ‘bnx2_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnx2.c:6314:3: ../drivers/net/ethernet/broadcom/bnx2.c:6288:52: note: directive argument in the range [0, 2147483646] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:6288:17: note: ‘snprintf’ output between 3 and 27 bytes into a destination of size 18 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/cnic.c:5262:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5262:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5262:40: got unsigned int [usertype] cli ../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] lo ../drivers/net/ethernet/broadcom/cnic.c:5217:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:5218:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5218:40: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:5218:40: 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] lo ../drivers/net/ethernet/broadcom/cnic.c:1391:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1392:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1392:33: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1392:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1416:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1417:36: warning: cast from restricted __le32 ../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] lo ../drivers/net/ethernet/broadcom/cnic.c:1687:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1688:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1688:22: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1688:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1729:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1729:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1729:54: got unsigned int [usertype] sq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1731:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1731:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1731:54: got unsigned int [usertype] sq_page_table_addr_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] lo ../drivers/net/ethernet/broadcom/cnic.c:1733:54: got unsigned int [usertype] hi ../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] hi ../drivers/net/ethernet/broadcom/cnic.c:1734:54: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1735:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1735:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1735:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1737:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1737:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1737:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1739:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1739:59: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1739:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1741:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1741:59: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1741:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1743:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1743:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1743:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1745:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1745:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1745:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1747:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1747:61: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1747:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1749:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1749:61: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1749:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1751:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1751:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1751:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1753:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1753:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1753:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1775:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1775:57: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1775:57: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1777:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1777:57: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1777:57: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1788:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1788:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1788:53: got unsigned int [usertype] rq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1790:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1790:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1790:53: got unsigned int [usertype] rq_page_table_addr_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] lo ../drivers/net/ethernet/broadcom/cnic.c:1792:53: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1793:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1793:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1793:53: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1794:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1794:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1794:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1796:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1796:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1796:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1798:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1798:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1798:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1800:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1800:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1800:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1802:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1802:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1802:53: got unsigned int [usertype] cq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1804:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1804:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1804:53: got unsigned int [usertype] cq_page_table_addr_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] lo ../drivers/net/ethernet/broadcom/cnic.c:1807:56: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1808:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1808:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1808:56: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1822:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1822:64: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1822:64: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1824:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1824:64: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1824:64: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1828:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1828:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1828:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1830:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1830:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1830:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1832:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1832:49: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1832:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1834:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1834:49: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1834:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1845:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1845:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1845:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1847:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1847:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1847:48: got unsigned long long ../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] lo ../drivers/net/ethernet/broadcom/cnic.c:1849:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1850:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1850:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1850:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1851:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1851:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1851:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1853:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1853:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1853:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1857:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1857:47: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1857:47: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1859:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1859:47: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1859:47: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:2078:17: warning: cast from restricted __sum16 ../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] lo ../drivers/net/ethernet/broadcom/cnic.c:2327:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2328:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2328:35: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:2328:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2329:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2329:32: expected restricted __le32 [usertype] eq_pbl_size ../drivers/net/ethernet/broadcom/cnic.c:2329:32: got int num_pages ../drivers/net/ethernet/broadcom/cnic.c:2331:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2331:27: expected restricted __le16 [usertype] sb_num ../drivers/net/ethernet/broadcom/cnic.c:2331:27: got unsigned int [usertype] status_blk_num ../drivers/net/ethernet/broadcom/cnic.c:2332:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2332:28: expected restricted __le16 [usertype] eq_prod ../drivers/net/ethernet/broadcom/cnic.c:2332:28: got unsigned long ../drivers/net/ethernet/broadcom/cnic.c:2373:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2373:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2373:16: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2430:27: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:27: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2431:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2431:32: expected restricted __le32 [addressable] [assigned] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2431:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2448:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2448:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2448:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2449:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:2476:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2476:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2476:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2477:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2477:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2477:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2510:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2510:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2510:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2511:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2511:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2511:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2523:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2523:32: expected restricted __le32 [addressable] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2523:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2538:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2538:35: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_context_id ../drivers/net/ethernet/broadcom/cnic.c:2538:35: got unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2610:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2610:29: expected unsigned int [assigned] [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2610:29: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2611:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2611:32: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2611:32: got restricted __le32 [usertype] conn_id ../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:3517:40: 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:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3534:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3535:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3638:49: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3791:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3791:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3791:31: got restricted __be16 [usertype] sin6_port ../drivers/net/ethernet/broadcom/cnic.c:3797:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3797:32: expected unsigned int ../drivers/net/ethernet/broadcom/cnic.c:3797:32: got restricted __be32 [usertype] s_addr ../drivers/net/ethernet/broadcom/cnic.c:3798:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3798:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3798:31: got restricted __be16 [usertype] sin_port ../drivers/net/ethernet/broadcom/cnic.c:3828:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3828:23: expected unsigned short [usertype] src_port ../drivers/net/ethernet/broadcom/cnic.c:3828:23: got restricted __be16 [assigned] [usertype] local_port ../drivers/net/ethernet/broadcom/cnic.c:3985:29: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4947:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4947:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4947:33: expected restricted __le32 [usertype] addr_lo ../drivers/net/ethernet/broadcom/cnic.c:4947:33: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:4955:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4955:46: expected restricted __le32 [usertype] parsing_data ../drivers/net/ethernet/broadcom/cnic.c:4955:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4958:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4958:46: expected restricted __le16 [usertype] global_data ../drivers/net/ethernet/broadcom/cnic.c:4958:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4983:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4983:25: expected unsigned short [usertype] *tx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:4983:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5048:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5048:35: expected restricted __le16 [usertype] silent_vlan_mask ../drivers/net/ethernet/broadcom/cnic.c:5048:35: got int ../drivers/net/ethernet/broadcom/cnic.c:5050:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5050:25: expected unsigned short [usertype] *rx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:5050:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5068:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5068:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5068:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5070:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5070:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5070:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5075:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5075:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5075:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5077:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5077:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5077:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5087:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5087:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5087:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5089:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5089:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5089:41: got restricted __le16 * ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:193:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:193:28: expected unsigned short [usertype] cmdq_pi ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:193:28: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:284:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:284:29: expected unsigned short [usertype] i2htok ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:284:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:232:32: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:238:21: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:269:24: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:270:31: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:449:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:449:28: expected unsigned short [usertype] rspq_ci ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:449:28: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:466:32: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:474:31: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:516:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:516:32: expected unsigned short [usertype] q_depth ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:516:32: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:518:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:518:32: expected unsigned short [usertype] q_depth ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:518:32: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_msgq.c:624:13: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bfa_msgq.c: note: in included file (through ../drivers/net/ethernet/brocade/bna/bfa_msgq.h): ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:55:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:56:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:55:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:56:34: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function ‘bgx_acpi_match_id’: ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:34: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:30: note: directive argument in the range [0, 255] 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:9: note: ‘snprintf’ output between 5 and 7 bytes into a destination of size 5 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/brocade/bna/bfa_cee.c:42:25: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bfa_cee.c:44:25: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bfa_cee.c:34:29: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_cee.c: note: in included file (through ../drivers/net/ethernet/brocade/bna/bfa_cee.h): ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:55:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:56:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:167:40: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:168:40: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:169:42: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:171:45: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:184:28: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:185:28: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:189:9: warning: cast to restricted __be64 ../drivers/net/ethernet/brocade/bna/bna_enet.c:190:9: warning: cast to restricted __be64 ../drivers/net/ethernet/brocade/bna/bna_enet.c:191:9: warning: cast to restricted __be64 ../drivers/net/ethernet/brocade/bna/bna_enet.c:192:9: warning: cast to restricted __be64 ../drivers/net/ethernet/brocade/bna/bna_enet.c:193:9: warning: cast to restricted __be64 ../drivers/net/ethernet/brocade/bna/bna_enet.c:194:9: warning: cast to restricted __be64 ../drivers/net/ethernet/brocade/bna/bna_enet.c:207:48: warning: cast to restricted __be64 ../drivers/net/ethernet/brocade/bna/bna_enet.c:222:48: warning: cast to restricted __be64 ../drivers/net/ethernet/brocade/bna/bna_enet.c:412:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_enet.c:412:38: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_enet.c:412:38: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_enet.c:429:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_enet.c:429:40: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_enet.c:429:40: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_enet.c:446:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_enet.c:446:37: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_enet.c:446:37: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_enet.c:467:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_enet.c:467:39: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_enet.c:467:39: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_enet.c:1164:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_enet.c:1164:35: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_enet.c:1164:35: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_enet.c:1626:34: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_enet.c:1626:34: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_enet.c:1626:34: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_enet.c:1704:9: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:1704:9: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:1716:9: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:1716:9: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_enet.c:1848:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_enet.c:1848:35: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_enet.c:1848:35: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_enet.c:1850:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_enet.c:1850:31: expected unsigned short [usertype] stats_mask ../drivers/net/ethernet/brocade/bna/bna_enet.c:1850:31: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_enet.c:1851:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_enet.c:1851:33: expected unsigned int [usertype] tx_enet_mask ../drivers/net/ethernet/brocade/bna/bna_enet.c:1851:33: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bna_enet.c:1852:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_enet.c:1852:33: expected unsigned int [usertype] rx_enet_mask ../drivers/net/ethernet/brocade/bna/bna_enet.c:1852:33: got restricted __be32 [usertype] ../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/atheros/atl1c/atl1c_hw.c:60:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:60:31: expected unsigned int [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:60:31: got restricted __be32 [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:61:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:61:31: expected unsigned short [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:61:31: got restricted __be16 [usertype] ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:61:27: warning: symbol 'hw_atl2_caps_aqc113' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:72:27: warning: symbol 'hw_atl2_caps_aqc115c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:81:27: warning: symbol 'hw_atl2_caps_aqc116c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:825:24: warning: symbol 'hw_atl2_ops' was not declared. Should it be static? ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:302:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:302:22: expected unsigned int [usertype] vld_tid ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:302:22: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:305:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:305:27: expected unsigned int [usertype] pgsz_tag_clr ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:305:27: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:306:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:306:25: expected unsigned int [usertype] max_offset ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:306:25: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:307:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:307:26: expected unsigned int [usertype] page_offset ../drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c:307:26: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1924:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1924:28: expected unsigned short [assigned] [usertype] clscode ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1924:28: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1925:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1925:25: expected unsigned short [assigned] [usertype] rsvd ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1925:25: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1927:29: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1938:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1938:29: expected unsigned short [assigned] [usertype] clscode ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1938:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1939:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1939:26: expected unsigned short [assigned] [usertype] rsvd ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1939:26: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1941:30: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1904:24: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1904:24: expected unsigned int val ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:1904:24: got restricted __le32 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:2106:31: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:2107:31: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:2108:31: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:2210:26: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:2423:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:2423:25: expected unsigned int [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:2423:25: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3069:21: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3071:23: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3074:23: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3102:21: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3104:23: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3107:23: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3141:26: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3148:40: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3149:39: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3152:41: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3154:41: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3156:41: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3158:41: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3160:41: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3162:41: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3169:26: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3177:26: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c:3182:35: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.c: note: in included file: ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:55:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:56:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:65:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:65:22: expected unsigned int [usertype] al_len ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:65:22: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:55:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:56:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:65:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:65:22: expected unsigned int [usertype] al_len ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:65:22: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:55:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:56:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:65:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:65:22: expected unsigned int [usertype] al_len ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:65:22: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:55:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bfa_ioc.h:56:34: warning: cast from restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:185:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:185:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:185:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:201:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:201:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:201:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:217:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:217:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:217:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:219:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:219:21: expected unsigned short [usertype] handle ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:219:21: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:232:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:232:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:232:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:247:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:247:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:247:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:264:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:264:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:264:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:270:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:270:42: expected unsigned int ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:270:42: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:287:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:287:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:287:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:302:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:302:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:302:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:304:19: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:304:19: expected unsigned short [usertype] size ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:304:19: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:319:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:319:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:319:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:324:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:324:33: expected unsigned int ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:324:33: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:338:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:338:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:338:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:603:17: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1622:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1622:33: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1622:33: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1635:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1635:25: expected unsigned short [usertype] pages ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1635:25: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1635:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1635:25: expected unsigned short [usertype] page_sz ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1635:25: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1637:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1637:61: expected unsigned short [usertype] rx_buffer_size ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1637:61: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1643:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1643:25: expected unsigned short [usertype] pages ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1643:25: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1643:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1643:25: expected unsigned short [usertype] page_sz ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1643:25: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1656:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1656:61: expected unsigned short [usertype] rx_buffer_size ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1656:61: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1664:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1664:17: expected unsigned short [usertype] pages ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1664:17: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1664:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1664:17: expected unsigned short [usertype] page_sz ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1664:17: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1671:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1671:54: expected unsigned short [usertype] msix_index ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1671:54: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1682:44: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1682:44: expected unsigned int [usertype] coalescing_timeout ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1682:44: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1684:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1684:43: expected unsigned int [usertype] inter_pkt_timeout ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1684:43: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1721:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1721:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1721:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1876:9: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1876:9: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1882:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1882:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1882:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1914:9: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1914:9: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1920:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1920:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1920:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:2105:27: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:2109:27: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:2114:27: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3094:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3094:33: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3094:33: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3101:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3101:17: expected unsigned short [usertype] pages ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3101:17: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3101:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3101:17: expected unsigned short [usertype] page_sz ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3101:17: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3108:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3108:54: expected unsigned short [usertype] msix_index ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3108:54: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3118:44: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3118:44: expected unsigned int [usertype] coalescing_timeout ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3118:44: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3120:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3120:43: expected unsigned int [usertype] inter_pkt_timeout ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3120:43: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3125:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3125:33: expected unsigned short [usertype] vlan_id ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3125:33: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3141:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3141:29: expected unsigned short [usertype] num_entries ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3141:29: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3181:9: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3181:9: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3187:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3187:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3187:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3286:27: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bna_tx_rx.c:3289:27: 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/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/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/cxgb/sge.c:1390:65: warning: cast to restricted __be16 ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: expected unsigned short [usertype] vlan ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: got restricted __be16 [usertype] ../drivers/net/ethernet/atheros/alx/main.c: In function ‘alx_request_msix’: ../drivers/net/ethernet/atheros/alx/main.c:874:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:874:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 875 | np->rxq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:871:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:871:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 872 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:55: warning: ‘%u’ directive writing between 1 and 5 bytes into a region of size between 3 and 18 [-Wformat-overflow=] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~ ../drivers/net/ethernet/atheros/alx/main.c:868:46: note: directive argument in the range [0, 65535] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:25: note: ‘sprintf’ output between 8 and 27 bytes into a destination of size 24 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 869 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/sge.c:2148:17: warning: context imbalance in 'sge_tx_timer_cb' - different lock contexts for basic block ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘cxgb4vf_get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:44: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:18: note: directive argument in the range [0, 255] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1559:9: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 1559 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1561 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1562 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1563 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1564 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1565 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1566 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1567 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1568 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.tprev)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘adapter_up’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 371 | "%s-%d", dev->name, qs); | ^~ In function ‘name_msix_vecs’, inlined from ‘adapter_up’ at ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:778:4: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:34: note: directive argument in the range [-2147483641, 254] 371 | "%s-%d", dev->name, qs); | ^~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:370:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 21 370 | snprintf(adapter->msix_info[msi].desc, namelen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | "%s-%d", dev->name, qs); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: expected restricted __be16 [usertype] l2t_idx ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: got restricted __be32 [usertype] ../drivers/net/ethernet/atheros/alx/main.c:1444:30: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1444:30: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1444:30: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1448:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/alx/main.c:1448:39: expected restricted __le32 [usertype] pkt_len ../drivers/net/ethernet/atheros/alx/main.c:1448:39: got unsigned int len ../drivers/net/ethernet/atheros/alx/main.c:1449:30: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1449:30: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1449:30: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1452:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1452:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1452:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1453:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1453:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1453:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1455:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1455:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1455:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1469:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:38: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:38: expected void [noderef] __iomem *[assigned] inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:38: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:23: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:49: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:49: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:49: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:31: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:57: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:57: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:57: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:25: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:51: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:51: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:51: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:25: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:51: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:51: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:51: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:25: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:51: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:51: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:51: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:434:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:433:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:433:26: expected void [noderef] __iomem *doorbell_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:433:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:436:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:435:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:435:26: expected void [noderef] __iomem *inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:435:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:478:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:477:29: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:477:29: expected void [noderef] __iomem *pkts_sent_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:477:29: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:480:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:479:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:479:31: expected void [noderef] __iomem *pkts_credit_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:479:31: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:519:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:519:42: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:519:42: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:520:42: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:520:42: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:520:42: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:525:54: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:525:54: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:525:54: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:566:39: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:570:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:574:40: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:584:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:584:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:584:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:819:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:819:42: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:819:42: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:826:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:826:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:826:44: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:43:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:43:29: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:43:29: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:81:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:81:52: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:81:52: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:115:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:115:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:115:36: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:163:26: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:163:26: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:163:26: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:172:47: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:172:47: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:172:47: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:175:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:175:42: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:175:42: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:184:63: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:184:63: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:184:63: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:193:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:193:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:193:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:306:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:306:52: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:306:52: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:316:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:316:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:316:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:325:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:325:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:325:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:341:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:341:52: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:341:52: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:371:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:371:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:371:36: got void *mbox_read_reg In file included from ../drivers/net/ethernet/broadcom/genet/bcmmii.c:17: ../drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_pd_init’: ../include/linux/phy.h:330:20: warning: ‘%02x’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 0 and 60 [-Wformat-truncation=] 330 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:330:24: note: format string is defined here 330 | #define PHY_ID_FMT "%s:%02x" | ^~~~ ../include/linux/phy.h:330:20: note: using the range [0, 4294967295] for directive argument 330 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:17: note: ‘snprintf’ output between 4 and 70 bytes into a destination of size 61 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | mdio_bus_id, pd->phy_address); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:38: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:38: expected void [noderef] __iomem *[assigned] inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:38: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:226:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:225:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:225:26: expected void [noderef] __iomem *doorbell_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:225:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:228:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:227:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:227:26: expected void [noderef] __iomem *inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:227:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:258:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:257:29: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:257:29: expected void [noderef] __iomem *pkts_sent_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:257:29: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:260:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:259:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:259:31: expected void [noderef] __iomem *pkts_credit_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:259:31: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:296:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:299:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:302:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:311:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:311:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:311:36: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:479:50: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:479:50: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:479:50: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:480:50: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:480:50: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:480:50: got void *mbox_int_reg ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: expected unsigned int [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:3601:52: warning: dubious: !x | y ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: expected unsigned int [usertype] rss ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: expected unsigned int [usertype] priority ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: got restricted __be32 [assigned] [usertype] rss_lo ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2120:16: warning: cast to restricted __be32 ../drivers/net/ethernet/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_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:4171:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 27 [-Wformat-truncation=] 4171 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5108:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4170:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 32 4170 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4171 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../drivers/net/team/team_mode_activebackup.c:54:40: error: incompatible types in comparison expression (different address spaces): ../drivers/net/team/team_mode_activebackup.c:54:40: struct team_port [noderef] __rcu * ../drivers/net/team/team_mode_activebackup.c:54:40: struct team_port * ../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/ipvlan/ipvlan_core.c:55:36: warning: incorrect type in argument 1 (different base types) ../drivers/net/ipvlan/ipvlan_core.c:55:36: expected unsigned int [usertype] a ../drivers/net/ipvlan/ipvlan_core.c:55:36: got restricted __be32 const [usertype] s_addr ../drivers/net/team/team_mode_loadbalance.c:373:14: warning: incorrect type in assignment (different address spaces) ../drivers/net/team/team_mode_loadbalance.c:373:14: expected struct team_port *port ../drivers/net/team/team_mode_loadbalance.c:373:14: got struct team_port [noderef] __rcu *port ../drivers/net/bonding/bond_options.c:1230:24: warning: incorrect type in assignment (different base types) ../drivers/net/bonding/bond_options.c:1230:24: expected restricted __be32 [addressable] [usertype] target ../drivers/net/bonding/bond_options.c:1230:24: got unsigned long long const [usertype] value ../drivers/net/slip/slip.c:459:14: error: incompatible types in comparison expression (different address spaces): ../drivers/net/slip/slip.c:459:14: void [noderef] __rcu * ../drivers/net/slip/slip.c:459:14: void * ../drivers/net/slip/slip.c:893:9: error: incompatible types in comparison expression (different address spaces): ../drivers/net/slip/slip.c:893:9: void [noderef] __rcu * ../drivers/net/slip/slip.c:893:9: void * ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) ../drivers/net/ppp/ppp_synctty.c:582:1: warning: context imbalance in 'ppp_sync_push' - wrong count at exit ../drivers/net/fddi/skfp/fplustm.c:447:50: warning: cast truncates bits from constant value (1000000 becomes 0) ../drivers/net/fddi/skfp/fplustm.c:545:9: warning: cast truncates bits from constant value (ffff67ff becomes 67ff) ../drivers/net/fddi/skfp/fplustm.c:548:9: warning: cast truncates bits from constant value (ffff3b89 becomes 3b89) ../drivers/net/fddi/skfp/fplustm.c:948:17: warning: cast truncates bits from constant value (ffffffffffff0218 becomes 218) ../drivers/net/ppp/pppoe.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../drivers/net/xen-netback/xenbus.c: In function ‘connect’: ../drivers/net/xen-netback/xenbus.c:779:65: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 779 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~ ../drivers/net/xen-netback/xenbus.c:779:60: note: directive argument in the range [0, 4294967294] 779 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~ ../drivers/net/xen-netback/xenbus.c:779:17: note: ‘snprintf’ output between 4 and 28 bytes into a destination of size 21 779 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | be->vif->dev->name, queue->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ieee802154/ca8210.c:1798:27: warning: incorrect type in assignment (different base types) ../drivers/net/ieee802154/ca8210.c:1798:27: expected restricted __le16 [addressable] [assigned] [usertype] pan_id ../drivers/net/ieee802154/ca8210.c:1798:27: got unsigned short [usertype] ../drivers/net/ieee802154/ca8210.c:1803:25: warning: incorrect type in assignment (different base types) ../drivers/net/ieee802154/ca8210.c:1803:25: expected restricted __le16 [addressable] [assigned] [usertype] pan_id ../drivers/net/ieee802154/ca8210.c:1803:25: got unsigned short [usertype] ../drivers/net/ieee802154/ca8210.c:1930:28: warning: incorrect type in argument 3 (different base types) ../drivers/net/ieee802154/ca8210.c:1930:28: expected unsigned short [usertype] dst_pan_id ../drivers/net/ieee802154/ca8210.c:1930:28: got restricted __le16 [addressable] [usertype] pan_id ../drivers/net/vxlan/vxlan_core.c:392:34: warning: incorrect type in argument 2 (different base types) ../drivers/net/vxlan/vxlan_core.c:392:34: expected unsigned int [usertype] b ../drivers/net/vxlan/vxlan_core.c:392:34: got restricted __be32 [usertype] vni ../drivers/net/usb/rtl8150.c:192:22: warning: incorrect type in assignment (different base types) ../drivers/net/usb/rtl8150.c:192:22: expected unsigned short [usertype] rx_creg ../drivers/net/usb/rtl8150.c:192:22: got restricted __le16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1623:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2826:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: got int ../drivers/net/fjes/fjes_ethtool.c: note: in included file (through ../drivers/net/fjes/fjes_hw.h, ../drivers/net/fjes/fjes.h): ../drivers/net/fjes/fjes_regs.h:47:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:48:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:55:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:56:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:64:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:65:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:66:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:74:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:75:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:76:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:77:33: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:84:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:85:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:86:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:87:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:95:31: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:96:28: error: invalid bitfield specifier for type restricted __le32. In file included from ../drivers/net/usb/asix.h:28, from ../drivers/net/usb/ax88172a.c:15: ../drivers/net/usb/ax88172a.c: In function ‘ax88172a_reset’: ../include/linux/phy.h:330:20: warning: ‘%s’ directive output may be truncated writing up to 60 bytes into a region of size 20 [-Wformat-truncation=] 330 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:330:21: note: format string is defined here 330 | #define PHY_ID_FMT "%s:%02x" | ^~ ../include/linux/phy.h:330:20: note: directive argument in the range [0, 65535] 330 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:9: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 20 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | priv->mdio->id, priv->phy_addr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c: In function ‘com20020pci_probe’: ../drivers/net/arcnet/com20020-pci.c:222:71: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 11 [-Wformat-truncation=] 222 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~ ../drivers/net/arcnet/com20020-pci.c:222:64: note: directive argument in the range [-2147483641, 2147483646] 222 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c:222:25: note: ‘snprintf’ output between 7 and 18 bytes into a destination of size 16 222 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/net/fjes/fjes_hw.c: note: in included file (through ../drivers/net/fjes/fjes_hw.h): ../drivers/net/fjes/fjes_regs.h:47:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:48:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:55:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:56:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:64:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:65:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:66:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:74:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:75:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:76:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:77:33: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:84:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:85:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:86:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:87:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:95:31: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:96:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_main.c: note: in included file (through ../drivers/net/fjes/fjes_hw.h, ../drivers/net/fjes/fjes.h): ../drivers/net/fjes/fjes_regs.h:47:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:48:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:55:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:56:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:64:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:65:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:66:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:74:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:75:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:76:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:77:33: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:84:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:85:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:86:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:87:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:95:31: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:96:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_debugfs.c: note: in included file (through ../drivers/net/fjes/fjes_hw.h, ../drivers/net/fjes/fjes.h): ../drivers/net/fjes/fjes_regs.h:47:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:48:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:55:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:56:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:64:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:65:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:66:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:74:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:75:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:76:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:77:33: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:84:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:85:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:86:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:87:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:95:31: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:96:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: got int ../drivers/net/usb/hso.c:1477:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1478:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1479:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1487:37: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1631:37: warning: cast to restricted __le16 ../drivers/net/fddi/skfp/drvfbi.c:55:14: warning: symbol 'oem_id' was not declared. Should it be static? ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ ../drivers/net/usb/smsc75xx.c:2172:29: warning: cast to restricted __be16 ../drivers/net/usb/smsc75xx.c:2172:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/smsc75xx.c:2172:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/smsc75xx.c:2172:27: got unsigned short [usertype] ../drivers/net/usb/lan78xx.c:3641:29: warning: cast to restricted __be16 ../drivers/net/usb/lan78xx.c:3641:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/lan78xx.c:3641:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/lan78xx.c:3641:27: got unsigned short [usertype] ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/net/can/peak_canfd/peak_pciefd_main.c:146:32: warning: array of flexible structures ../drivers/net/usb/lg-vl600.c:134:13: warning: cast to restricted __be32 ../drivers/net/usb/lg-vl600.c:134:13: warning: cast from restricted __le32 ../drivers/net/usb/lg-vl600.c:135:25: warning: cast to restricted __be32 ../drivers/net/usb/lg-vl600.c:135:25: warning: cast from restricted __le32 ../drivers/net/usb/aqc111.c:1093:34: warning: incorrect type in argument 1 (different base types) ../drivers/net/usb/aqc111.c:1093:34: expected restricted __le64 const [usertype] *p ../drivers/net/usb/aqc111.c:1093:34: got unsigned long long [usertype] * ../drivers/net/usb/aqc111.c:1121:45: warning: incorrect type in argument 1 (different base types) ../drivers/net/usb/aqc111.c:1121:45: expected restricted __le64 const [usertype] *p ../drivers/net/usb/aqc111.c:1121:45: got unsigned long long [usertype] *[assigned] pkt_desc_ptr ../drivers/net/usb/aqc111.c:1234:22: warning: incorrect type in assignment (different base types) ../drivers/net/usb/aqc111.c:1234:22: expected unsigned long long [usertype] ../drivers/net/usb/aqc111.c:1234:22: got restricted __le64 [usertype] make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../drivers/net/ethernet/amazon/ena/ena_netdev.c: In function ‘ena_init_rx_cpu_rmap’: ../drivers/net/ethernet/amazon/ena/ena_netdev.c:165:16: error: too few arguments to function ‘netif_enable_cpu_rmap’ 165 | return netif_enable_cpu_rmap(adapter->netdev); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/net/inet_sock.h:19, from ../include/net/ip.h:29, from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:16: ../include/linux/netdevice.h:2780:5: note: declared here 2780 | int netif_enable_cpu_rmap(struct net_device *dev, unsigned int num_irqs); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/amazon/ena/ena_netdev.c:169:1: error: control reaches end of non-void function [-Werror=return-type] 169 | } | ^ cc1: some warnings being treated as errors make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: expected void [noderef] __iomem *p ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: got struct gfar * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:22: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: error: incompatible types in comparison expression (different address spaces): ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void [noderef] __iomem * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:399:25: error: subtraction of different types can't work (different address spaces) ../drivers/net/ethernet/cisco/enic/enic_pp.c:147:45: warning: dubious: x | !y ../drivers/net/ethernet/cisco/enic/enic_pp.c:148:52: warning: dubious: x | !y ../drivers/net/ethernet/cisco/enic/enic_pp.c:149:73: warning: dubious: x | !y ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/dlink/dl2k.c:344:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: got unsigned short [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: got unsigned short [usertype] ../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1832:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1832 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1832:33: note: directive argument in the range [0, 4294967294] 1832 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1830:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1830 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1831 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1832 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1843:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1843 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1843:33: note: directive argument in the range [0, 4294967294] 1843 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1841:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1841 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1842 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1843 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4171:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 27 [-Wformat-truncation=] 4171 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5108:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4170:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 32 4170 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4171 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:273:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:277:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:272:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:272:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:649:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:656:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:648:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:648:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/huawei/hinic/hinic_main.c:832:25: warning: cast to restricted __be16 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:388:27: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:410:32: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:411:28: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:432:38: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_io.c:72:31: warning: incorrect type in return expression (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_io.c:72:31: expected void [noderef] __iomem * ../drivers/net/ethernet/huawei/hinic/hinic_hw_io.c:72:31: got void * ../drivers/net/ethernet/emulex/benet/be_cmds.c:315:39: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:316:39: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:390:43: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:401:33: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:413:23: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:417:42: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:460:44: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:804:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:804:33: expected unsigned int [usertype] request_length ../drivers/net/ethernet/emulex/benet/be_cmds.c:804:33: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:812:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:812:28: expected unsigned int [usertype] pa_hi ../drivers/net/ethernet/emulex/benet/be_cmds.c:812:28: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:813:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:813:28: expected unsigned int [usertype] pa_lo ../drivers/net/ethernet/emulex/benet/be_cmds.c:813:28: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:814:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:814:26: expected unsigned int [usertype] len ../drivers/net/ethernet/emulex/benet/be_cmds.c:814:26: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:827:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:827:29: expected unsigned int [usertype] lo ../drivers/net/ethernet/emulex/benet/be_cmds.c:827:29: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:828:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:828:29: expected unsigned int [usertype] hi ../drivers/net/ethernet/emulex/benet/be_cmds.c:828:29: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:899:29: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/emulex/benet/be_cmds.c:1017:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1017:24: expected unsigned short [usertype] num_pages ../drivers/net/ethernet/emulex/benet/be_cmds.c:1017:24: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1032:29: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1034:38: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1066:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1066:28: expected unsigned short [usertype] if_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1066:28: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1067:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1067:30: expected unsigned int [usertype] pmac_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1067:30: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1105:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1105:20: expected unsigned int [usertype] if_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1105:20: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1112:28: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1148:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1148:20: expected unsigned int [usertype] if_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1148:20: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1149:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1149:22: expected unsigned int [usertype] pmac_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1149:22: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1179:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1179:24: expected unsigned short [usertype] num_pages ../drivers/net/ethernet/emulex/benet/be_cmds.c:1179:24: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1218:26: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1257:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1257:24: expected unsigned short [usertype] num_pages ../drivers/net/ethernet/emulex/benet/be_cmds.c:1257:24: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1265:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1265:28: expected unsigned short [usertype] cq_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1265:28: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1279:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1279:36: expected unsigned int ../drivers/net/ethernet/emulex/benet/be_cmds.c:1279:36: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1293:28: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1322:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1322:24: expected unsigned short [usertype] num_pages ../drivers/net/ethernet/emulex/benet/be_cmds.c:1322:24: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1337:28: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1383:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1383:28: expected unsigned short [usertype] if_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1383:28: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1387:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1387:20: expected unsigned short [usertype] cq_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1387:20: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1396:27: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1398:42: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1429:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1429:20: expected unsigned short [usertype] cq_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1429:20: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1433:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1433:27: expected unsigned int [usertype] interface_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1433:27: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1434:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1434:29: expected unsigned short [usertype] max_frame_size ../drivers/net/ethernet/emulex/benet/be_cmds.c:1434:29: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1435:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1435:24: expected unsigned int [usertype] rss_queue ../drivers/net/ethernet/emulex/benet/be_cmds.c:1435:24: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1441:27: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1495:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1495:17: expected unsigned short [usertype] id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1495:17: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1522:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1522:17: expected unsigned short [usertype] id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1522:17: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1547:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1547:31: expected unsigned int [usertype] capability_flags ../drivers/net/ethernet/emulex/benet/be_cmds.c:1547:31: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1548:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1548:27: expected unsigned int [usertype] enable_flags ../drivers/net/ethernet/emulex/benet/be_cmds.c:1548:27: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1555:30: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1559:47: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1580:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1580:27: expected unsigned int [usertype] interface_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1580:27: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1653:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1653:42: expected unsigned short [usertype] pport_num ../drivers/net/ethernet/emulex/benet/be_cmds.c:1653:42: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1728:39: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1781:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1781:28: expected unsigned int [usertype] fat_operation ../drivers/net/ethernet/emulex/benet/be_cmds.c:1781:28: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1787:38: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1832:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1832:36: expected unsigned int [usertype] fat_operation ../drivers/net/ethernet/emulex/benet/be_cmds.c:1832:36: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1833:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1833:38: expected unsigned int [usertype] read_log_offset ../drivers/net/ethernet/emulex/benet/be_cmds.c:1833:38: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1834:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1834:38: expected unsigned int [usertype] read_log_length ../drivers/net/ethernet/emulex/benet/be_cmds.c:1834:38: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1835:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1835:39: expected unsigned int [usertype] data_buffer_size ../drivers/net/ethernet/emulex/benet/be_cmds.c:1835:39: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1841:25: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:1915:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1915:21: expected unsigned int [usertype] num_eq ../drivers/net/ethernet/emulex/benet/be_cmds.c:1915:21: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1917:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1917:39: expected unsigned int [usertype] eq_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1917:39: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1919:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1919:50: expected unsigned int [usertype] delay_multiplier ../drivers/net/ethernet/emulex/benet/be_cmds.c:1919:50: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1997:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1997:20: expected unsigned int [usertype] if_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:1997:20: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:1998:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:1998:28: expected unsigned int [usertype] if_flags_mask ../drivers/net/ethernet/emulex/benet/be_cmds.c:1998:28: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2007:36: warning: invalid assignment: |= ../drivers/net/ethernet/emulex/benet/be_cmds.c:2007:36: left side has type unsigned int ../drivers/net/ethernet/emulex/benet/be_cmds.c:2007:36: right side has type restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2010:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2010:32: expected unsigned int [usertype] mcast_num ../drivers/net/ethernet/emulex/benet/be_cmds.c:2010:32: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2063:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2063:30: expected unsigned short [usertype] tx_flow_control ../drivers/net/ethernet/emulex/benet/be_cmds.c:2063:30: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2064:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2064:30: expected unsigned short [usertype] rx_flow_control ../drivers/net/ethernet/emulex/benet/be_cmds.c:2064:30: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2106:26: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2107:26: warning: cast to restricted __le16 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2136:37: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2137:42: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2138:42: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2139:37: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2204:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2204:20: expected unsigned int [usertype] if_id ../drivers/net/ethernet/emulex/benet/be_cmds.c:2204:20: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2205:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2205:25: expected unsigned short [usertype] enable_rss ../drivers/net/ethernet/emulex/benet/be_cmds.c:2205:25: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2206:34: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2206:34: expected unsigned short [usertype] cpu_table_size_log2 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2206:34: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2376:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2376:27: expected unsigned int [usertype] write_offset ../drivers/net/ethernet/emulex/benet/be_cmds.c:2376:27: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2378:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2378:31: expected unsigned int [usertype] descriptor_count ../drivers/net/ethernet/emulex/benet/be_cmds.c:2378:31: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2379:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2379:22: expected unsigned int [usertype] buf_len ../drivers/net/ethernet/emulex/benet/be_cmds.c:2379:22: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2380:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2380:23: expected unsigned int [usertype] addr_low ../drivers/net/ethernet/emulex/benet/be_cmds.c:2380:23: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2383:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2383:24: expected unsigned int [usertype] addr_high ../drivers/net/ethernet/emulex/benet/be_cmds.c:2383:24: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2400:33: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2509:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2509:31: expected unsigned int [usertype] desired_read_len ../drivers/net/ethernet/emulex/benet/be_cmds.c:2509:31: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2510:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2510:26: expected unsigned int [usertype] read_offset ../drivers/net/ethernet/emulex/benet/be_cmds.c:2510:26: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2512:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2512:31: expected unsigned int [usertype] descriptor_count ../drivers/net/ethernet/emulex/benet/be_cmds.c:2512:31: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2513:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2513:22: expected unsigned int [usertype] buf_len ../drivers/net/ethernet/emulex/benet/be_cmds.c:2513:22: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2514:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2514:23: expected unsigned int [usertype] addr_low ../drivers/net/ethernet/emulex/benet/be_cmds.c:2514:23: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2515:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2515:24: expected unsigned int [usertype] addr_high ../drivers/net/ethernet/emulex/benet/be_cmds.c:2515:24: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2521:30: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2522:24: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2554:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2554:29: expected unsigned int [usertype] op_type ../drivers/net/ethernet/emulex/benet/be_cmds.c:2554:29: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2556:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2556:36: expected unsigned int [usertype] offset ../drivers/net/ethernet/emulex/benet/be_cmds.c:2556:36: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2558:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2558:29: expected unsigned int [usertype] op_code ../drivers/net/ethernet/emulex/benet/be_cmds.c:2558:29: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2559:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2559:35: expected unsigned int [usertype] data_buf_size ../drivers/net/ethernet/emulex/benet/be_cmds.c:2559:35: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2600:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2600:29: expected unsigned int [usertype] op_type ../drivers/net/ethernet/emulex/benet/be_cmds.c:2600:29: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2602:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2602:36: expected unsigned int [usertype] offset ../drivers/net/ethernet/emulex/benet/be_cmds.c:2602:36: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2604:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2604:36: expected unsigned int [usertype] offset ../drivers/net/ethernet/emulex/benet/be_cmds.c:2604:36: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2606:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2606:29: expected unsigned int [usertype] op_code ../drivers/net/ethernet/emulex/benet/be_cmds.c:2606:29: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2607:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_cmds.c:2607:35: expected unsigned int [usertype] data_buf_size ../drivers/net/ethernet/emulex/benet/be_cmds.c:2607:35: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_cmds.c:2637:36: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2639:36: warning: cast to restricted __le32 ../drivers/net/ethernet/emulex/benet/be_cmds.c:2871:24: warning: too many warnings ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: cast to restricted __le64 ../drivers/net/ethernet/huawei/hinic/hinic_tx.c:713:25: warning: cast to restricted __be16 ../drivers/net/ethernet/huawei/hinic/hinic_port.c:625:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:625:32: expected unsigned int [usertype] group_index ../drivers/net/ethernet/huawei/hinic/hinic_port.c:625:32: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:632:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:632:31: expected unsigned int [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:632:31: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:639:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:639:25: expected unsigned int [usertype] size ../drivers/net/ethernet/huawei/hinic/hinic_port.c:639:25: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:650:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:650:27: expected unsigned int [usertype] offset ../drivers/net/ethernet/huawei/hinic/hinic_port.c:650:27: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:651:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:651:25: expected unsigned int [usertype] size ../drivers/net/ethernet/huawei/hinic/hinic_port.c:651:25: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:735:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:735:30: expected unsigned int [usertype] group_index ../drivers/net/ethernet/huawei/hinic/hinic_port.c:735:30: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:738:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:738:23: expected unsigned int [usertype] size ../drivers/net/ethernet/huawei/hinic/hinic_port.c:738:23: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:740:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:740:22: expected unsigned int [usertype] ctx ../drivers/net/ethernet/huawei/hinic/hinic_port.c:740:22: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:328:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:328:17: expected unsigned int [addressable] [usertype] db_info ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:328:17: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:408:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:408:23: expected unsigned long long [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:408:23: got restricted __be64 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:531:27: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:572:21: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:620:14: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:625:19: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:656:30: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:702:31: warning: cast to restricted __be64 ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2620:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2620:52: note: directive argument in the range [-2147483639, 2147483646] 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2620:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2621 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast from restricted __be32 ../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast from restricted __be32 ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: expected unsigned short ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: expected unsigned int [usertype] fragpa_lo ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: expected unsigned int [usertype] fragpa_hi ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: got restricted __le32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:324:24: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:617:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:617:25: expected unsigned int [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:617:25: got restricted __be32 [usertype] ../scripts/Makefile.build:194: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:595:21: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:673:54: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:673:54: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:673:54: got unsigned char [usertype] * ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:696:58: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:696:58: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:696:58: got unsigned char [usertype] * ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:748:22: warning: cast to restricted __be64 ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:1189:25: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:1189:25: expected unsigned char [usertype] *data ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:1189:25: got void [noderef] __iomem * ../drivers/net/ethernet/intel/ice/ice_ptp.c:331:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:889:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2