../net/socket.c:1671:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../net/core/sock.c:2533:9: warning: context imbalance in 'sk_clone_lock' - different lock contexts for basic block ../net/core/sock.c:4197:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4209:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../net/core/dev_addr_lists.c: note: in included file (through ../include/linux/sysctl.h, ../include/net/net_namespace.h, ../include/linux/netdevice.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../net/core/skbuff.c: note: in included file (through ../include/linux/skbuff.h, ../include/net/net_namespace.h, ../include/linux/inet.h): ../include/net/checksum.h:33:39: warning: incorrect type in argument 3 (different base types) ../include/net/checksum.h:33:39: expected restricted __wsum [usertype] sum ../include/net/checksum.h:33:39: got unsigned int ../net/core/rtnetlink.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ...): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'rtnl_link_ops_get' - wrong count at exit ../net/core/rtnetlink.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:400:9: warning: context imbalance in 'rtnl_link_ops_put' - unexpected unlock ../net/core/rtnetlink.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ...): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'rtnl_af_lookup' - wrong count at exit ../net/core/rtnetlink.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:400:9: warning: context imbalance in 'rtnl_af_put' - unexpected unlock ../net/core/dev.c:3627:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3627:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3627:23: got unsigned int ../net/core/dev.c:3627:23: warning: cast from restricted __wsum ../net/core/dev.c:5601:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4082:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5559:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../net/core/filter.c:1431:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1431:39: expected struct sock_filter const *filter ../net/core/filter.c:1431:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1509:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1509:39: expected struct sock_filter const *filter ../net/core/filter.c:1509:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2331:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2331:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2331:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3931:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4663:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5077:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8014:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11987:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12003:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12019:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12040:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12137:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12259:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1939:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1939:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1939:43: got unsigned long long [usertype] to ../net/core/filter.c:1942:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1942:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1942:36: got unsigned long long [usertype] from ../net/core/filter.c:1942:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1942:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1942:42: got unsigned long long [usertype] to ../net/core/filter.c:1945:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1945:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1945:36: got unsigned long long [usertype] from ../net/core/filter.c:1945:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1945:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1945:42: got unsigned long long [usertype] to ../net/core/filter.c:1990:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1990:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1990:59: got unsigned long long [usertype] to ../net/core/filter.c:1993:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1993:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1993:52: got unsigned long long [usertype] from ../net/core/filter.c:1993:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1993:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1993:58: got unsigned long long [usertype] to ../net/core/filter.c:1996:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1996:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1996:52: got unsigned long long [usertype] from ../net/core/filter.c:1996:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1996:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1996:58: got unsigned long long [usertype] to ../net/core/filter.c:2063:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2063:35: expected unsigned long long ../net/core/filter.c:2063:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5934:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5934:17: expected unsigned int [usertype] spi ../net/core/filter.c:5934:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5942:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5942:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5942:33: got restricted __be32 const [usertype] a4 ../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1572 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] 1572 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1570 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1571 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1572 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1583 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] 1583 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1581 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1583 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/lwtunnel.c:226:60: warning: incorrect type in initializer (different address spaces) ../net/core/lwtunnel.c:226:60: expected struct lwtunnel_encap_ops const *ops ../net/core/lwtunnel.c:226:60: got struct lwtunnel_encap_ops const [noderef] __rcu * ../drivers/net/ethernet/cisco/enic/enic_main.c:270:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:274:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:629:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:636:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: got unsigned int [usertype] ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/core/dev_addr_lists.c: note: in included file (through ../include/linux/sysctl.h, ../include/net/net_namespace.h, ../include/linux/netdevice.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../net/socket.c:1671:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../net/core/lwtunnel.c:226:60: warning: incorrect type in initializer (different address spaces) ../net/core/lwtunnel.c:226:60: expected struct lwtunnel_encap_ops const *ops ../net/core/lwtunnel.c:226:60: got struct lwtunnel_encap_ops const [noderef] __rcu * ../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1572 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] 1572 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1570 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1571 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1572 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1583 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] 1583 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1581 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1583 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:270:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:274:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:629:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:636:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../net/core/sock.c:2533:9: warning: context imbalance in 'sk_clone_lock' - different lock contexts for basic block ../net/core/sock.c:4197:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4209:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: got unsigned int [usertype] ../net/core/rtnetlink.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ...): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'rtnl_link_ops_get' - wrong count at exit ../net/core/rtnetlink.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:400:9: warning: context imbalance in 'rtnl_link_ops_put' - unexpected unlock ../net/core/rtnetlink.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ...): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'rtnl_af_lookup' - wrong count at exit ../net/core/rtnetlink.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:400:9: warning: context imbalance in 'rtnl_af_put' - unexpected unlock ../net/core/skbuff.c: note: in included file (through ../include/linux/skbuff.h, ../include/net/net_namespace.h, ../include/linux/inet.h): ../include/net/checksum.h:33:39: warning: incorrect type in argument 3 (different base types) ../include/net/checksum.h:33:39: expected restricted __wsum [usertype] sum ../include/net/checksum.h:33:39: got unsigned int ../net/core/dev.c:3627:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3627:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3627:23: got unsigned int ../net/core/dev.c:3627:23: warning: cast from restricted __wsum ../net/core/dev.c:5601:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4082:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5559:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../net/core/filter.c:1431:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1431:39: expected struct sock_filter const *filter ../net/core/filter.c:1431:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1509:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1509:39: expected struct sock_filter const *filter ../net/core/filter.c:1509:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2331:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2331:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2331:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3931:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4663:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5077:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8014:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11987:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12003:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12019:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12040:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12137:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12259:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1939:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1939:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1939:43: got unsigned long long [usertype] to ../net/core/filter.c:1942:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1942:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1942:36: got unsigned long long [usertype] from ../net/core/filter.c:1942:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1942:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1942:42: got unsigned long long [usertype] to ../net/core/filter.c:1945:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1945:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1945:36: got unsigned long long [usertype] from ../net/core/filter.c:1945:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1945:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1945:42: got unsigned long long [usertype] to ../net/core/filter.c:1990:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1990:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1990:59: got unsigned long long [usertype] to ../net/core/filter.c:1993:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1993:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1993:52: got unsigned long long [usertype] from ../net/core/filter.c:1993:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1993:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1993:58: got unsigned long long [usertype] to ../net/core/filter.c:1996:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1996:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1996:52: got unsigned long long [usertype] from ../net/core/filter.c:1996:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1996:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1996:58: got unsigned long long [usertype] to ../net/core/filter.c:2063:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2063:35: expected unsigned long long ../net/core/filter.c:2063:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5934:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5934:17: expected unsigned int [usertype] spi ../net/core/filter.c:5934:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5942:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5942:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5942:33: got restricted __be32 const [usertype] a4 ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?