tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../net/kcm/kcmsock.c: In function ‘kcm_sendmsg’: ../net/kcm/kcmsock.c:812:22: error: implicit declaration of function ‘sk_page_frag_alloc_prepare’; did you mean ‘sk_page_frag_refill_prepare’? [-Wimplicit-function-declaration] 812 | va = sk_page_frag_alloc_prepare(sk, nc, pfrag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | sk_page_frag_refill_prepare ../net/kcm/kcmsock.c:812:20: error: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 812 | va = sk_page_frag_alloc_prepare(sk, nc, pfrag); | ^ make[5]: *** [../scripts/Makefile.build:244: net/kcm/kcmsock.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c: In function ‘chtls_sendmsg’: ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:1114:61: error: passing argument 1 of ‘page_frag_alloc_refill_prepare’ from incompatible pointer type [-Wincompatible-pointer-types] 1114 | va = page_frag_alloc_refill_prepare(pfrag, 32U, pfrag, | ^~~~~ | | | struct page_frag * In file included from ../include/linux/skbuff.h:34, from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:11: ../include/linux/page_frag_cache.h:391:76: note: expected ‘struct page_frag_cache *’ but argument is of type ‘struct page_frag *’ 391 | static inline void *page_frag_alloc_refill_prepare(struct page_frag_cache *nc, | ~~~~~~~~~~~~~~~~~~~~~~~~^~ make[9]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/chelsio/inline_crypto/chtls] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/chelsio/inline_crypto] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/chelsio] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: net/kcm] Error 2 make[4]: *** Waiting for unfinished jobs.... ../net/phonet/socket.c:619:14: error: incompatible types in comparison expression (different address spaces): ../net/phonet/socket.c:619:14: struct sock [noderef] __rcu * ../net/phonet/socket.c:619:14: struct sock * ../net/phonet/socket.c:642:17: error: incompatible types in comparison expression (different address spaces): ../net/phonet/socket.c:642:17: struct sock [noderef] __rcu * ../net/phonet/socket.c:642:17: struct sock * ../net/phonet/socket.c:658:17: error: incompatible types in comparison expression (different address spaces): ../net/phonet/socket.c:658:17: struct sock [noderef] __rcu * ../net/phonet/socket.c:658:17: struct sock * ../net/phonet/socket.c:677:25: error: incompatible types in comparison expression (different address spaces): ../net/phonet/socket.c:677:25: struct sock [noderef] __rcu * ../net/phonet/socket.c:677:25: struct sock * ../net/phonet/socket.c:726:21: warning: context imbalance in 'pn_res_seq_start' - wrong count at exit ../net/phonet/socket.c:741:13: warning: context imbalance in 'pn_res_seq_stop' - wrong count at exit ../net/caif/cfctrl.c:242:23: warning: incorrect type in assignment (different base types) ../net/caif/cfctrl.c:242:23: expected unsigned int [usertype] tmp32 ../net/caif/cfctrl.c:242:23: got restricted __le32 [usertype] ../net/caif/cfctrl.c:249:23: warning: incorrect type in assignment (different base types) ../net/caif/cfctrl.c:249:23: expected unsigned int [addressable] [usertype] tmp32 ../net/caif/cfctrl.c:249:23: got restricted __le32 [usertype] ../net/caif/cfctrl.c:256:23: warning: incorrect type in assignment (different base types) ../net/caif/cfctrl.c:256:23: expected unsigned short [usertype] tmp16 ../net/caif/cfctrl.c:256:23: got restricted __le16 [usertype] ../net/caif/cfctrl.c:258:23: warning: incorrect type in assignment (different base types) ../net/caif/cfctrl.c:258:23: expected unsigned short [addressable] [usertype] tmp16 ../net/caif/cfctrl.c:258:23: got restricted __le16 [usertype] ../net/phonet/af_phonet.c:35:14: error: incompatible types in comparison expression (different address spaces): ../net/phonet/af_phonet.c:35:14: struct phonet_protocol const [noderef] __rcu * ../net/phonet/af_phonet.c:35:14: struct phonet_protocol const * ../net/phonet/af_phonet.c:474:17: error: incompatible types in comparison expression (different address spaces): ../net/phonet/af_phonet.c:474:17: struct phonet_protocol const [noderef] __rcu * ../net/phonet/af_phonet.c:474:17: struct phonet_protocol const * ../net/phonet/af_phonet.c:486:9: error: incompatible types in comparison expression (different address spaces): ../net/phonet/af_phonet.c:486:9: struct phonet_protocol const [noderef] __rcu * ../net/phonet/af_phonet.c:486:9: struct phonet_protocol const * make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... ../net/caif/cfmuxl.c:127:14: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:127:14: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:127:14: struct cflayer * ../net/caif/cfmuxl.c:131:17: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:131:17: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:131:17: struct cflayer * ../net/caif/cfmuxl.c:111:9: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:111:9: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:111:9: struct cflayer * ../net/caif/cfmuxl.c:141:14: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:141:14: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:141:14: struct cflayer * ../net/caif/cfmuxl.c:145:17: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:145:17: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:145:17: struct cflayer * ../net/caif/cfmuxl.c:167:9: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:167:9: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:167:9: struct cflayer * ../net/caif/cffrml.c:92:15: warning: cast to restricted __le16 ../net/caif/cffrml.c:110:27: warning: cast to restricted __le16 ../net/dccp/qpolicy.c:88:27: warning: incorrect type in initializer (different base types) ../net/dccp/qpolicy.c:88:27: expected restricted __be32 [usertype] params ../net/dccp/qpolicy.c:88:27: got int ../net/dccp/qpolicy.c:133:33: warning: restricted __be32 degrades to integer ../net/dccp/qpolicy.c:133:24: warning: restricted __be32 degrades to integer ../net/9p/client.c:749:17: warning: incorrect type in argument 1 (different address spaces) ../net/9p/client.c:749:17: expected struct spinlock [usertype] *lock ../net/9p/client.c:749:17: got struct spinlock [noderef] __rcu * ../net/9p/client.c:751:48: warning: incorrect type in argument 1 (different address spaces) ../net/9p/client.c:751:48: expected struct spinlock [usertype] *lock ../net/9p/client.c:751:48: got struct spinlock [noderef] __rcu * ../net/9p/client.c:834:17: warning: incorrect type in argument 1 (different address spaces) ../net/9p/client.c:834:17: expected struct spinlock [usertype] *lock ../net/9p/client.c:834:17: got struct spinlock [noderef] __rcu * ../net/9p/client.c:836:48: warning: incorrect type in argument 1 (different address spaces) ../net/9p/client.c:836:48: expected struct spinlock [usertype] *lock ../net/9p/client.c:836:48: got struct spinlock [noderef] __rcu * ../net/dccp/proto.c:536:52: warning: incorrect type in argument 2 (different base types) ../net/dccp/proto.c:536:52: expected restricted __be32 const [usertype] service ../net/dccp/proto.c:536:52: got int [addressable] val ../net/dccp/proto.c:719:57: warning: incorrect type in argument 2 (different base types) ../net/dccp/proto.c:719:57: expected restricted __be32 [usertype] param ../net/dccp/proto.c:719:57: got int cmsg_type ../net/rds/af_rds.c:245:22: warning: invalid assignment: |= ../net/rds/af_rds.c:245:22: left side has type restricted __poll_t ../net/rds/af_rds.c:245:22: right side has type int ../net/caif/cfserl.c:121:29: warning: cast to restricted __le16 ../net/rds/connection.c:71:31: warning: incorrect type in argument 1 (different base types) ../net/rds/connection.c:71:31: expected restricted __be32 const [usertype] laddr ../net/rds/connection.c:71:31: got unsigned int [assigned] [usertype] lhash ../net/rds/connection.c:71:41: warning: incorrect type in argument 3 (different base types) ../net/rds/connection.c:71:41: expected restricted __be32 const [usertype] faddr ../net/rds/connection.c:71:41: got unsigned int [assigned] [usertype] fhash ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:222:44: warning: cast to restricted __be32 ../net/rds/send.c:1050:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1050:24: expected unsigned int [usertype] a ../net/rds/send.c:1050:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1052:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1052:24: expected unsigned int [usertype] a ../net/rds/send.c:1052:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1457:30: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1457:30: expected unsigned short [usertype] npaths ../net/rds/send.c:1457:30: got restricted __be16 [usertype] ../net/rds/send.c:1458:34: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1458:34: expected unsigned int [usertype] my_gen_num ../net/rds/send.c:1458:34: got restricted __be32 [usertype] ../net/dccp/ccids/ccid3.c:474:25: warning: incorrect type in assignment (different base types) ../net/dccp/ccids/ccid3.c:474:25: expected restricted __be32 [usertype] opt_val ../net/dccp/ccids/ccid3.c:474:25: got unsigned int [usertype] ../net/dccp/ccids/ccid3.c:478:39: warning: incorrect type in assignment (different base types) ../net/dccp/ccids/ccid3.c:478:39: expected unsigned long long [usertype] tx_x_recv ../net/dccp/ccids/ccid3.c:478:39: got restricted __be32 [usertype] opt_val ../net/dccp/ccids/ccid3.c:485:64: warning: incorrect type in argument 1 (different base types) ../net/dccp/ccids/ccid3.c:485:64: expected unsigned int [usertype] loss_event_rate ../net/dccp/ccids/ccid3.c:485:64: got restricted __be32 [usertype] opt_val ../net/caif/caif_usb.c:110:32: warning: restricted __be16 degrades to integer ../net/caif/caif_usb.c:111:33: warning: restricted __be16 degrades to integer ../net/sctp/sm_make_chunk.c:3107:48: warning: incorrect type in argument 2 (different base types) ../net/sctp/sm_make_chunk.c:3107:48: expected int optname ../net/sctp/sm_make_chunk.c:3107:48: got restricted __be16 ../net/sctp/sm_make_chunk.c:3179:48: warning: incorrect type in argument 2 (different base types) ../net/sctp/sm_make_chunk.c:3179:48: expected int optname ../net/sctp/sm_make_chunk.c:3179:48: got restricted __be16 ../net/sctp/socket.c:8505:23: warning: context imbalance in 'sctp_get_port_local' - unexpected unlock ../net/rds/tcp_listen.c:301:33: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:301:33: expected restricted __be16 [usertype] sin6_port ../net/rds/tcp_listen.c:301:33: got unsigned short [usertype] ../net/rds/tcp_listen.c:308:38: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:308:38: expected restricted __be32 [usertype] s_addr ../net/rds/tcp_listen.c:308:38: got unsigned long ../net/rds/tcp_listen.c:309:31: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:309:31: expected restricted __be16 [usertype] sin_port ../net/rds/tcp_listen.c:309:31: got unsigned short [usertype] ../net/sctp/input.c:460:13: warning: context imbalance in 'sctp_err_lookup' - different lock contexts for basic block ../net/sctp/input.c:632:9: warning: context imbalance in 'sctp_v4_err' - unexpected unlock ../net/sctp/input.c:657:17: warning: context imbalance in 'sctp_udp_v4_err' - unexpected unlock make[3]: *** [../scripts/Makefile.build:485: net] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../net/kcm/kcmsock.c: In function ‘kcm_sendmsg’: ../net/kcm/kcmsock.c:812:22: error: implicit declaration of function ‘sk_page_frag_alloc_prepare’; did you mean ‘sk_page_frag_refill_prepare’? [-Wimplicit-function-declaration] 812 | va = sk_page_frag_alloc_prepare(sk, nc, pfrag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | sk_page_frag_refill_prepare ../net/kcm/kcmsock.c:812:20: error: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 812 | va = sk_page_frag_alloc_prepare(sk, nc, pfrag); | ^ make[5]: *** [../scripts/Makefile.build:244: net/kcm/kcmsock.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/kcm] Error 2 make[4]: *** Waiting for unfinished jobs.... ../net/qrtr/af_qrtr.c:181:27: error: incompatible types in comparison expression (different base types): ../net/qrtr/af_qrtr.c:181:27: void [noderef] __rcu * ../net/qrtr/af_qrtr.c:181:27: struct qrtr_node * ../net/qrtr/af_qrtr.c:368:25: warning: incorrect type in assignment (different base types) ../net/qrtr/af_qrtr.c:639:27: error: incompatible types in comparison expression (different base types): ../net/qrtr/af_qrtr.c:639:27: void [noderef] __rcu * ../net/qrtr/af_qrtr.c:639:27: struct qrtr_node * ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c: In function ‘chtls_sendmsg’: ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:1114:61: error: passing argument 1 of ‘page_frag_alloc_refill_prepare’ from incompatible pointer type [-Wincompatible-pointer-types] 1114 | va = page_frag_alloc_refill_prepare(pfrag, 32U, pfrag, | ^~~~~ | | | struct page_frag * In file included from ../include/linux/skbuff.h:34, from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:11: ../include/linux/page_frag_cache.h:391:76: note: expected ‘struct page_frag_cache *’ but argument is of type ‘struct page_frag *’ 391 | static inline void *page_frag_alloc_refill_prepare(struct page_frag_cache *nc, | ~~~~~~~~~~~~~~~~~~~~~~~~^~ make[9]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/chelsio/inline_crypto/chtls] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/chelsio/inline_crypto] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/chelsio] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c: In function ‘myri10ge_request_irq’: ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2185:44: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 2185 | "%s:slice-%d", netdev->name, i); | ^~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2185:34: note: directive argument in the range [-2147483643, 2147483646] 2185 | "%s:slice-%d", netdev->name, i); | ^~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2184:25: note: ‘snprintf’ output between 9 and 34 bytes into a destination of size 32 2184 | snprintf(ss->irq_desc, sizeof(ss->irq_desc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2185 | "%s:slice-%d", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/skge.c:3116:29: warning: cast to restricted __le16 ../drivers/net/ethernet/marvell/skge.c:3116:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/skge.c:3116:27: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/marvell/skge.c:3116:27: got unsigned short [usertype] ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: expected struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: expected struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/sky2.c:1890:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/sky2.c:1890:28: expected restricted __le16 [usertype] length ../drivers/net/ethernet/marvell/sky2.c:1890:28: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/sky2.c:2670:29: warning: cast to restricted __le16 ../drivers/net/ethernet/marvell/sky2.c:2670:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/sky2.c:2670:27: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/marvell/sky2.c:2670:27: got unsigned short [usertype] ../drivers/net/ethernet/marvell/sky2.c:2691:57: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:2699:27: warning: cast to restricted __le32 ../drivers/net/ethernet/marvell/sky2.c:4446:53: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:4446:53: warning: cast from restricted __le16 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:596:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:25:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:28:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:38:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:41:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:822:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_add_isr’: ../drivers/net/ethernet/neterion/s2io.c:6947:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] 6947 | "%s:MSI-X-%d-TX", | ^~ ../drivers/net/ethernet/neterion/s2io.c:6947:49: note: directive argument in the range [-2147483641, 2147483646] 6947 | "%s:MSI-X-%d-TX", | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6945:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 6945 | snprintf(sp->desc[i], | ^~~~~~~~~~~~~~~~~~~~~ 6946 | sizeof(sp->desc[i]), | ~~~~~~~~~~~~~~~~~~~~ 6947 | "%s:MSI-X-%d-TX", | ~~~~~~~~~~~~~~~~~ 6948 | dev->name, i); | ~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6936:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] 6936 | "%s:MSI-X-%d-RX", | ^~ ../drivers/net/ethernet/neterion/s2io.c:6936:49: note: directive argument in the range [-2147483641, 2147483646] 6936 | "%s:MSI-X-%d-RX", | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6934:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 6934 | snprintf(sp->desc[i], | ^~~~~~~~~~~~~~~~~~~~~ 6935 | sizeof(sp->desc[i]), | ~~~~~~~~~~~~~~~~~~~~ 6936 | "%s:MSI-X-%d-RX", | ~~~~~~~~~~~~~~~~~ 6937 | dev->name, i); | ~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_init_nic’: ../drivers/net/ethernet/neterion/s2io.c:8097:59: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 35 and 50 [-Wformat-truncation=] 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, | ^~ ../drivers/net/ethernet/neterion/s2io.c:8097:9: note: ‘snprintf’ output between 11 and 105 bytes into a destination of size 60 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8098 | sp->product_name); | ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2935:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: got int ../drivers/net/ethernet/micrel/ks8851_par.c:62:13: warning: context imbalance in 'ks8851_lock_par' - wrong count at exit ../drivers/net/ethernet/micrel/ks8851_par.c:76:13: warning: context imbalance in 'ks8851_unlock_par' - unexpected unlock ../drivers/net/ethernet/neterion/s2io.c:6959:41: warning: cast to restricted __be32 ../drivers/net/ethernet/natsemi/ns83820.c:900:39: warning: cast to restricted __be16 ../drivers/net/ethernet/natsemi/ns83820.c:1115:42: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/natsemi/ns83820.c:1983:9: warning: cast to restricted __le32 ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../net/nfc/nci/core.c: note: in included file: ../include/net/nfc/nci.h:263:56: warning: array of flexible structures ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c: In function ‘cgx_lmac_init’: ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:37: note: directive argument in the range [-2147483641, 254] 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/micrel/ksz884x.c:3146:50: warning: restricted pci_power_t degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:3467:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:3467:37: expected unsigned int [usertype] next ../drivers/net/ethernet/micrel/ksz884x.c:3467:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:3469:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:3469:29: expected unsigned int [usertype] next ../drivers/net/ethernet/micrel/ksz884x.c:3469:29: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:3471:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:3471:33: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:3471:33: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4377:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:4670:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:4706:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:4751:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1542:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1542:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1542:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1518:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1518:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1518:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol ../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len ../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol ../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len ../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol ../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len ../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: expected unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: expected restricted __be16 [usertype] tot_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: expected restricted __be16 [usertype] payload_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: expected struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2386:46: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2409:38: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:533:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 533 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:533:32: note: directive argument in the range [-2147483641, 2147483646] 533 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:533:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 533 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [../scripts/Makefile.build:485: net] Error 2 make[3]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.me4xOyrIBd 2024-08-23 18:51:44.180179791 -0700 +++ /tmp/tmp.jLt3lDX1P5 2024-08-23 18:52:57.003669872 -0700 @@ -17 +17,9 @@ -make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:485: net/kcm] Error 2 +make[4]: *** Waiting for unfinished jobs.... +../net/qrtr/af_qrtr.c:181:27: error: incompatible types in comparison expression (different base types): +../net/qrtr/af_qrtr.c:181:27: void [noderef] __rcu * +../net/qrtr/af_qrtr.c:181:27: struct qrtr_node * +../net/qrtr/af_qrtr.c:368:25: warning: incorrect type in assignment (different base types) +../net/qrtr/af_qrtr.c:639:27: error: incompatible types in comparison expression (different base types): +../net/qrtr/af_qrtr.c:639:27: void [noderef] __rcu * +../net/qrtr/af_qrtr.c:639:27: struct qrtr_node * @@ -32,0 +41,294 @@ +make[6]: *** Waiting for unfinished jobs.... +../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 +../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 +../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer +../drivers/net/ethernet/myricom/myri10ge/myri10ge.c: In function ‘myri10ge_request_irq’: +../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2185:44: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 25 [-Wformat-truncation=] + 2185 | "%s:slice-%d", netdev->name, i); + | ^~ +../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2185:34: note: directive argument in the range [-2147483643, 2147483646] + 2185 | "%s:slice-%d", netdev->name, i); + | ^~~~~~~~~~~~~ +../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2184:25: note: ‘snprintf’ output between 9 and 34 bytes into a destination of size 32 + 2184 | snprintf(ss->irq_desc, sizeof(ss->irq_desc), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 2185 | "%s:slice-%d", netdev->name, i); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/skge.c:3116:29: warning: cast to restricted __le16 +../drivers/net/ethernet/marvell/skge.c:3116:27: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/marvell/skge.c:3116:27: expected restricted __wsum [usertype] csum +../drivers/net/ethernet/marvell/skge.c:3116:27: got unsigned short [usertype] +../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: warning: incorrect type in assignment (different address spaces) +../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: expected struct rx_desc *rx_desc_area +../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: got void [noderef] __iomem * +../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: warning: incorrect type in argument 1 (different address spaces) +../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: expected void volatile [noderef] __iomem *addr +../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: got struct rx_desc *rx_desc_area +../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: warning: incorrect type in argument 1 (different address spaces) +../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: expected void volatile [noderef] __iomem *addr +../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: got struct rx_desc *rx_desc_area +../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: warning: incorrect type in assignment (different address spaces) +../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: expected struct tx_desc *tx_desc_area +../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: got void [noderef] __iomem * +../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: warning: incorrect type in argument 1 (different address spaces) +../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: expected void volatile [noderef] __iomem *addr +../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: got struct tx_desc *tx_desc_area +../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: warning: incorrect type in argument 1 (different address spaces) +../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: expected void volatile [noderef] __iomem *addr +../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: got struct tx_desc *tx_desc_area +../drivers/net/ethernet/marvell/sky2.c:1890:28: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/marvell/sky2.c:1890:28: expected restricted __le16 [usertype] length +../drivers/net/ethernet/marvell/sky2.c:1890:28: got restricted __be16 [usertype] +../drivers/net/ethernet/marvell/sky2.c:2670:29: warning: cast to restricted __le16 +../drivers/net/ethernet/marvell/sky2.c:2670:27: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/marvell/sky2.c:2670:27: expected restricted __wsum [usertype] csum +../drivers/net/ethernet/marvell/sky2.c:2670:27: got unsigned short [usertype] +../drivers/net/ethernet/marvell/sky2.c:2691:57: warning: cast to restricted __be16 +../drivers/net/ethernet/marvell/sky2.c:2699:27: warning: cast to restricted __le32 +../drivers/net/ethernet/marvell/sky2.c:4446:53: warning: cast to restricted __be16 +../drivers/net/ethernet/marvell/sky2.c:4446:53: warning: cast from restricted __le16 +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:596:48: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: warning: incorrect type in argument 1 (different address spaces) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: expected void volatile [noderef] __iomem *addr +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: got void *hwbase +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: warning: incorrect type in assignment (different address spaces) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: expected unsigned long long [usertype] *ptr +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: got void [noderef] __iomem * +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: warning: incorrect type in assignment (different address spaces) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: expected unsigned long long [usertype] *ptr +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: got void [noderef] __iomem * +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:25:16: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:28:16: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:38:16: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:41:16: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:822:16: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_add_isr’: +../drivers/net/ethernet/neterion/s2io.c:6947:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] + 6947 | "%s:MSI-X-%d-TX", + | ^~ +../drivers/net/ethernet/neterion/s2io.c:6947:49: note: directive argument in the range [-2147483641, 2147483646] + 6947 | "%s:MSI-X-%d-TX", + | ^~~~~~~~~~~~~~~~ +../drivers/net/ethernet/neterion/s2io.c:6945:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 + 6945 | snprintf(sp->desc[i], + | ^~~~~~~~~~~~~~~~~~~~~ + 6946 | sizeof(sp->desc[i]), + | ~~~~~~~~~~~~~~~~~~~~ + 6947 | "%s:MSI-X-%d-TX", + | ~~~~~~~~~~~~~~~~~ + 6948 | dev->name, i); + | ~~~~~~~~~~~~~ +../drivers/net/ethernet/neterion/s2io.c:6936:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] + 6936 | "%s:MSI-X-%d-RX", + | ^~ +../drivers/net/ethernet/neterion/s2io.c:6936:49: note: directive argument in the range [-2147483641, 2147483646] + 6936 | "%s:MSI-X-%d-RX", + | ^~~~~~~~~~~~~~~~ +../drivers/net/ethernet/neterion/s2io.c:6934:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 + 6934 | snprintf(sp->desc[i], + | ^~~~~~~~~~~~~~~~~~~~~ + 6935 | sizeof(sp->desc[i]), + | ~~~~~~~~~~~~~~~~~~~~ + 6936 | "%s:MSI-X-%d-RX", + | ~~~~~~~~~~~~~~~~~ + 6937 | dev->name, i); + | ~~~~~~~~~~~~~ +../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_init_nic’: +../drivers/net/ethernet/neterion/s2io.c:8097:59: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 35 and 50 [-Wformat-truncation=] + 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, + | ^~ +../drivers/net/ethernet/neterion/s2io.c:8097:9: note: ‘snprintf’ output between 11 and 105 bytes into a destination of size 60 + 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 8098 | sp->product_name); + | ~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: expected restricted __sum16 [usertype] check +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: got restricted __be16 [usertype] +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: expected unsigned int [usertype] val +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: got restricted __be32 [usertype] ip +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2935:40: warning: cast from restricted __be32 +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: expected restricted __be32 [usertype] ip4dst +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: got unsigned int [usertype] +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: expected restricted __be32 [usertype] ip4src +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: got unsigned int +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: expected restricted __be16 [usertype] psrc +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: got int +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: expected restricted __be16 [usertype] pdst +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: got int +../drivers/net/ethernet/micrel/ks8851_par.c:62:13: warning: context imbalance in 'ks8851_lock_par' - wrong count at exit +../drivers/net/ethernet/micrel/ks8851_par.c:76:13: warning: context imbalance in 'ks8851_unlock_par' - unexpected unlock +../drivers/net/ethernet/neterion/s2io.c:6959:41: warning: cast to restricted __be32 +../drivers/net/ethernet/natsemi/ns83820.c:900:39: warning: cast to restricted __be16 +../drivers/net/ethernet/natsemi/ns83820.c:1115:42: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/natsemi/ns83820.c:1983:9: warning: cast to restricted __le32 +../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: +../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] + 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", + | ^~ +../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] + 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", + | ^~~~~~~~~~ +../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 + 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 360 | sw->dev->fw_rev.maj, + | ~~~~~~~~~~~~~~~~~~~~ + 361 | sw->dev->fw_rev.min, + | ~~~~~~~~~~~~~~~~~~~~ + 362 | sw->dev->fw_rev.sub); + | ~~~~~~~~~~~~~~~~~~~~ +../net/nfc/nci/core.c: note: in included file: +../include/net/nfc/nci.h:263:56: warning: array of flexible structures +../drivers/net/ethernet/marvell/octeontx2/af/cgx.c: In function ‘cgx_lmac_init’: +../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] + 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); + | ^~ +../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:37: note: directive argument in the range [-2147483641, 254] + 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); + | ^~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 + 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/micrel/ksz884x.c:3146:50: warning: restricted pci_power_t degrades to integer +../drivers/net/ethernet/micrel/ksz884x.c:3467:37: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:3467:37: expected unsigned int [usertype] next +../drivers/net/ethernet/micrel/ksz884x.c:3467:37: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:3469:29: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:3469:29: expected unsigned int [usertype] next +../drivers/net/ethernet/micrel/ksz884x.c:3469:29: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:3471:33: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:3471:33: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:3471:33: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:4377:31: warning: cast to restricted __le32 +../drivers/net/ethernet/micrel/ksz884x.c:4670:31: warning: cast to restricted __le32 +../drivers/net/ethernet/micrel/ksz884x.c:4706:31: warning: cast to restricted __le32 +../drivers/net/ethernet/micrel/ksz884x.c:4751:31: warning: cast to restricted __le32 +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1542:25: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1542:25: expected unsigned int [usertype] addr +../drivers/net/ethernet/micrel/ksz884x.c:1542:25: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr +../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr +../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr +../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1518:30: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1518:30: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1518:30: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol +../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol +../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol +../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len +../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol +../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol +../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol +../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len +../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol +../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol +../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol +../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len +../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data +../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: expected unsigned short [usertype] iplen +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: got restricted __be16 [usertype] +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: expected restricted __be16 [usertype] tot_len +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: got unsigned short [usertype] iplen +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: expected restricted __be16 [usertype] payload_len +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: got unsigned short [usertype] iplen +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: warning: incorrect type in assignment (different address spaces) +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: expected struct rvu_fwdata *fwdata +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: got void [noderef] __iomem * +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: warning: incorrect type in argument 1 (different address spaces) +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: expected void volatile [noderef] __iomem *addr +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: got struct rvu_fwdata *fwdata +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: warning: incorrect type in argument 1 (different address spaces) +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: expected void volatile [noderef] __iomem *addr +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: got struct rvu_fwdata *fwdata +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2386:46: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2409:38: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block +../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block +../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block +../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block +../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block +../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block +../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: +../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:533:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] + 533 | sprintf(dname, "mcs%d", i); + | ^~ +../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:533:32: note: directive argument in the range [-2147483641, 2147483646] + 533 | sprintf(dname, "mcs%d", i); + | ^~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:533:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 + 533 | sprintf(dname, "mcs%d", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +make[3]: *** [../scripts/Makefile.build:485: net] Error 2 +make[3]: *** Waiting for unfinished jobs.... +../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) +../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc +../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping +../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer @@ -35,38 +336,0 @@ -make[4]: *** Waiting for unfinished jobs.... -make[4]: *** [../scripts/Makefile.build:485: net/kcm] Error 2 -make[4]: *** Waiting for unfinished jobs.... -../net/phonet/socket.c:619:14: error: incompatible types in comparison expression (different address spaces): -../net/phonet/socket.c:619:14: struct sock [noderef] __rcu * -../net/phonet/socket.c:619:14: struct sock * -../net/phonet/socket.c:642:17: error: incompatible types in comparison expression (different address spaces): -../net/phonet/socket.c:642:17: struct sock [noderef] __rcu * -../net/phonet/socket.c:642:17: struct sock * -../net/phonet/socket.c:658:17: error: incompatible types in comparison expression (different address spaces): -../net/phonet/socket.c:658:17: struct sock [noderef] __rcu * -../net/phonet/socket.c:658:17: struct sock * -../net/phonet/socket.c:677:25: error: incompatible types in comparison expression (different address spaces): -../net/phonet/socket.c:677:25: struct sock [noderef] __rcu * -../net/phonet/socket.c:677:25: struct sock * -../net/phonet/socket.c:726:21: warning: context imbalance in 'pn_res_seq_start' - wrong count at exit -../net/phonet/socket.c:741:13: warning: context imbalance in 'pn_res_seq_stop' - wrong count at exit -../net/caif/cfctrl.c:242:23: warning: incorrect type in assignment (different base types) -../net/caif/cfctrl.c:242:23: expected unsigned int [usertype] tmp32 -../net/caif/cfctrl.c:242:23: got restricted __le32 [usertype] -../net/caif/cfctrl.c:249:23: warning: incorrect type in assignment (different base types) -../net/caif/cfctrl.c:249:23: expected unsigned int [addressable] [usertype] tmp32 -../net/caif/cfctrl.c:249:23: got restricted __le32 [usertype] -../net/caif/cfctrl.c:256:23: warning: incorrect type in assignment (different base types) -../net/caif/cfctrl.c:256:23: expected unsigned short [usertype] tmp16 -../net/caif/cfctrl.c:256:23: got restricted __le16 [usertype] -../net/caif/cfctrl.c:258:23: warning: incorrect type in assignment (different base types) -../net/caif/cfctrl.c:258:23: expected unsigned short [addressable] [usertype] tmp16 -../net/caif/cfctrl.c:258:23: got restricted __le16 [usertype] -../net/phonet/af_phonet.c:35:14: error: incompatible types in comparison expression (different address spaces): -../net/phonet/af_phonet.c:35:14: struct phonet_protocol const [noderef] __rcu * -../net/phonet/af_phonet.c:35:14: struct phonet_protocol const * -../net/phonet/af_phonet.c:474:17: error: incompatible types in comparison expression (different address spaces): -../net/phonet/af_phonet.c:474:17: struct phonet_protocol const [noderef] __rcu * -../net/phonet/af_phonet.c:474:17: struct phonet_protocol const * -../net/phonet/af_phonet.c:486:9: error: incompatible types in comparison expression (different address spaces): -../net/phonet/af_phonet.c:486:9: struct phonet_protocol const [noderef] __rcu * -../net/phonet/af_phonet.c:486:9: struct phonet_protocol const * @@ -74,99 +337,0 @@ -make[3]: *** Waiting for unfinished jobs.... -../net/caif/cfmuxl.c:127:14: error: incompatible types in comparison expression (different address spaces): -../net/caif/cfmuxl.c:127:14: struct cflayer [noderef] __rcu * -../net/caif/cfmuxl.c:127:14: struct cflayer * -../net/caif/cfmuxl.c:131:17: error: incompatible types in comparison expression (different address spaces): -../net/caif/cfmuxl.c:131:17: struct cflayer [noderef] __rcu * -../net/caif/cfmuxl.c:131:17: struct cflayer * -../net/caif/cfmuxl.c:111:9: error: incompatible types in comparison expression (different address spaces): -../net/caif/cfmuxl.c:111:9: struct cflayer [noderef] __rcu * -../net/caif/cfmuxl.c:111:9: struct cflayer * -../net/caif/cfmuxl.c:141:14: error: incompatible types in comparison expression (different address spaces): -../net/caif/cfmuxl.c:141:14: struct cflayer [noderef] __rcu * -../net/caif/cfmuxl.c:141:14: struct cflayer * -../net/caif/cfmuxl.c:145:17: error: incompatible types in comparison expression (different address spaces): -../net/caif/cfmuxl.c:145:17: struct cflayer [noderef] __rcu * -../net/caif/cfmuxl.c:145:17: struct cflayer * -../net/caif/cfmuxl.c:167:9: error: incompatible types in comparison expression (different address spaces): -../net/caif/cfmuxl.c:167:9: struct cflayer [noderef] __rcu * -../net/caif/cfmuxl.c:167:9: struct cflayer * -../net/caif/cffrml.c:92:15: warning: cast to restricted __le16 -../net/caif/cffrml.c:110:27: warning: cast to restricted __le16 -../net/dccp/qpolicy.c:88:27: warning: incorrect type in initializer (different base types) -../net/dccp/qpolicy.c:88:27: expected restricted __be32 [usertype] params -../net/dccp/qpolicy.c:88:27: got int -../net/dccp/qpolicy.c:133:33: warning: restricted __be32 degrades to integer -../net/dccp/qpolicy.c:133:24: warning: restricted __be32 degrades to integer -../net/9p/client.c:749:17: warning: incorrect type in argument 1 (different address spaces) -../net/9p/client.c:749:17: expected struct spinlock [usertype] *lock -../net/9p/client.c:749:17: got struct spinlock [noderef] __rcu * -../net/9p/client.c:751:48: warning: incorrect type in argument 1 (different address spaces) -../net/9p/client.c:751:48: expected struct spinlock [usertype] *lock -../net/9p/client.c:751:48: got struct spinlock [noderef] __rcu * -../net/9p/client.c:834:17: warning: incorrect type in argument 1 (different address spaces) -../net/9p/client.c:834:17: expected struct spinlock [usertype] *lock -../net/9p/client.c:834:17: got struct spinlock [noderef] __rcu * -../net/9p/client.c:836:48: warning: incorrect type in argument 1 (different address spaces) -../net/9p/client.c:836:48: expected struct spinlock [usertype] *lock -../net/9p/client.c:836:48: got struct spinlock [noderef] __rcu * -../net/dccp/proto.c:536:52: warning: incorrect type in argument 2 (different base types) -../net/dccp/proto.c:536:52: expected restricted __be32 const [usertype] service -../net/dccp/proto.c:536:52: got int [addressable] val -../net/dccp/proto.c:719:57: warning: incorrect type in argument 2 (different base types) -../net/dccp/proto.c:719:57: expected restricted __be32 [usertype] param -../net/dccp/proto.c:719:57: got int cmsg_type -../net/rds/af_rds.c:245:22: warning: invalid assignment: |= -../net/rds/af_rds.c:245:22: left side has type restricted __poll_t -../net/rds/af_rds.c:245:22: right side has type int -../net/caif/cfserl.c:121:29: warning: cast to restricted __le16 -../net/rds/connection.c:71:31: warning: incorrect type in argument 1 (different base types) -../net/rds/connection.c:71:31: expected restricted __be32 const [usertype] laddr -../net/rds/connection.c:71:31: got unsigned int [assigned] [usertype] lhash -../net/rds/connection.c:71:41: warning: incorrect type in argument 3 (different base types) -../net/rds/connection.c:71:41: expected restricted __be32 const [usertype] faddr -../net/rds/connection.c:71:41: got unsigned int [assigned] [usertype] fhash -../net/rds/recv.c:218:42: warning: cast to restricted __be16 -../net/rds/recv.c:222:44: warning: cast to restricted __be32 -../net/rds/send.c:1050:24: warning: incorrect type in argument 1 (different base types) -../net/rds/send.c:1050:24: expected unsigned int [usertype] a -../net/rds/send.c:1050:24: got restricted __be16 [usertype] sin6_port -../net/rds/send.c:1052:24: warning: incorrect type in argument 1 (different base types) -../net/rds/send.c:1052:24: expected unsigned int [usertype] a -../net/rds/send.c:1052:24: got restricted __be16 [usertype] sin6_port -../net/rds/send.c:1457:30: warning: incorrect type in initializer (different base types) -../net/rds/send.c:1457:30: expected unsigned short [usertype] npaths -../net/rds/send.c:1457:30: got restricted __be16 [usertype] -../net/rds/send.c:1458:34: warning: incorrect type in initializer (different base types) -../net/rds/send.c:1458:34: expected unsigned int [usertype] my_gen_num -../net/rds/send.c:1458:34: got restricted __be32 [usertype] -../net/dccp/ccids/ccid3.c:474:25: warning: incorrect type in assignment (different base types) -../net/dccp/ccids/ccid3.c:474:25: expected restricted __be32 [usertype] opt_val -../net/dccp/ccids/ccid3.c:474:25: got unsigned int [usertype] -../net/dccp/ccids/ccid3.c:478:39: warning: incorrect type in assignment (different base types) -../net/dccp/ccids/ccid3.c:478:39: expected unsigned long long [usertype] tx_x_recv -../net/dccp/ccids/ccid3.c:478:39: got restricted __be32 [usertype] opt_val -../net/dccp/ccids/ccid3.c:485:64: warning: incorrect type in argument 1 (different base types) -../net/dccp/ccids/ccid3.c:485:64: expected unsigned int [usertype] loss_event_rate -../net/dccp/ccids/ccid3.c:485:64: got restricted __be32 [usertype] opt_val -../net/caif/caif_usb.c:110:32: warning: restricted __be16 degrades to integer -../net/caif/caif_usb.c:111:33: warning: restricted __be16 degrades to integer -../net/sctp/sm_make_chunk.c:3107:48: warning: incorrect type in argument 2 (different base types) -../net/sctp/sm_make_chunk.c:3107:48: expected int optname -../net/sctp/sm_make_chunk.c:3107:48: got restricted __be16 -../net/sctp/sm_make_chunk.c:3179:48: warning: incorrect type in argument 2 (different base types) -../net/sctp/sm_make_chunk.c:3179:48: expected int optname -../net/sctp/sm_make_chunk.c:3179:48: got restricted __be16 -../net/sctp/socket.c:8505:23: warning: context imbalance in 'sctp_get_port_local' - unexpected unlock -../net/rds/tcp_listen.c:301:33: warning: incorrect type in assignment (different base types) -../net/rds/tcp_listen.c:301:33: expected restricted __be16 [usertype] sin6_port -../net/rds/tcp_listen.c:301:33: got unsigned short [usertype] -../net/rds/tcp_listen.c:308:38: warning: incorrect type in assignment (different base types) -../net/rds/tcp_listen.c:308:38: expected restricted __be32 [usertype] s_addr -../net/rds/tcp_listen.c:308:38: got unsigned long -../net/rds/tcp_listen.c:309:31: warning: incorrect type in assignment (different base types) -../net/rds/tcp_listen.c:309:31: expected restricted __be16 [usertype] sin_port -../net/rds/tcp_listen.c:309:31: got unsigned short [usertype] -../net/sctp/input.c:460:13: warning: context imbalance in 'sctp_err_lookup' - different lock contexts for basic block -../net/sctp/input.c:632:9: warning: context imbalance in 'sctp_v4_err' - unexpected unlock -../net/sctp/input.c:657:17: warning: context imbalance in 'sctp_udp_v4_err' - unexpected unlock -make[3]: *** [../scripts/Makefile.build:485: net] Error 2 Per-file breakdown --- /tmp/tmp.tx4jgEuB44 2024-08-23 18:52:57.012670057 -0700 +++ /tmp/tmp.bhBLCUGVdG 2024-08-23 18:52:57.016670138 -0700 @@ -2,9 +2,22 @@ - 4 ../net/9p/client.c - 2 ../net/caif/caif_usb.c - 4 ../net/caif/cfctrl.c - 2 ../net/caif/cffrml.c - 6 ../net/caif/cfmuxl.c - 1 ../net/caif/cfserl.c - 3 ../net/dccp/ccids/ccid3.c - 2 ../net/dccp/proto.c - 3 ../net/dccp/qpolicy.c + 6 ../drivers/net/ethernet/marvell/mv643xx_eth.c + 6 ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c + 1 ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c + 5 ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c + 1 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c + 5 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c + 4 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c + 3 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c + 1 ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c + 2 ../drivers/net/ethernet/marvell/skge.c + 7 ../drivers/net/ethernet/marvell/sky2.c + 7 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c + 1 ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c + 2 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c + 1 ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c + 1 ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c + 2 ../drivers/net/ethernet/micrel/ks8851_par.c + 39 ../drivers/net/ethernet/micrel/ksz884x.c + 1 ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c + 3 ../drivers/net/ethernet/natsemi/ns83820.c + 4 ../drivers/net/ethernet/neterion/s2io.c + 1 ../include/net/nfc/nci.h @@ -12,10 +25 @@ - 3 ../net/phonet/af_phonet.c - 6 ../net/phonet/socket.c - 1 ../net/rds/af_rds.c - 2 ../net/rds/connection.c - 2 ../net/rds/recv.c - 4 ../net/rds/send.c - 3 ../net/rds/tcp_listen.c - 3 ../net/sctp/input.c - 2 ../net/sctp/sm_make_chunk.c - 1 ../net/sctp/socket.c + 3 ../net/qrtr/af_qrtr.c