.pylintrc: warning: ignored by one of the .gitignore files ../net/xfrm/xfrm_policy.c:4146:43: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_policy.c:4146:43: struct xfrm_policy_afinfo const [noderef] __rcu * ../net/xfrm/xfrm_policy.c:4146:43: struct xfrm_policy_afinfo const * ../net/xfrm/xfrm_policy.c:4232:29: warning: incorrect type in assignment (different address spaces) ../net/xfrm/xfrm_policy.c:4232:29: expected struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4232:29: got struct hlist_head * ../net/xfrm/xfrm_policy.c:4259:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4259:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4259:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4285:17: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4285:17: expected struct hlist_head const *h ../net/xfrm/xfrm_policy.c:4285:17: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4286:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4286:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4286:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:264:9: warning: context imbalance in 'xfrm_policy_get_afinfo' - different lock contexts for basic block ../net/xfrm/xfrm_policy.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/slab.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in '__xfrm_dst_lookup' - unexpected unlock ../net/xfrm/xfrm_policy.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.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 * ../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/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:2332:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2332:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2332:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3940:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4672:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5086:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8023:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11982:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11998:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12014:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12035:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12132:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12254: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:1991:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1991:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1991:59: got unsigned long long [usertype] to ../net/core/filter.c:1994:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1994:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1994:52: got unsigned long long [usertype] from ../net/core/filter.c:1994:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1994:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1994:58: got unsigned long long [usertype] to ../net/core/filter.c:1997:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1997:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1997:52: got unsigned long long [usertype] from ../net/core/filter.c:1997:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1997:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1997:58: got unsigned long long [usertype] to ../net/core/filter.c:2064:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2064:35: expected unsigned long long ../net/core/filter.c:2064:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5943:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5943:17: expected unsigned int [usertype] spi ../net/core/filter.c:5943:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5951:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5951:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5951:33: got restricted __be32 const [usertype] a4 ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? .pylintrc: warning: ignored by one of the .gitignore files ../net/xfrm/xfrm_policy.c:4146:43: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_policy.c:4146:43: struct xfrm_policy_afinfo const [noderef] __rcu * ../net/xfrm/xfrm_policy.c:4146:43: struct xfrm_policy_afinfo const * ../net/xfrm/xfrm_policy.c:4232:29: warning: incorrect type in assignment (different address spaces) ../net/xfrm/xfrm_policy.c:4232:29: expected struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4232:29: got struct hlist_head * ../net/xfrm/xfrm_policy.c:4259:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4259:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4259:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4285:17: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4285:17: expected struct hlist_head const *h ../net/xfrm/xfrm_policy.c:4285:17: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4286:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4286:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4286:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:264:9: warning: context imbalance in 'xfrm_policy_get_afinfo' - different lock contexts for basic block ../net/xfrm/xfrm_policy.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/slab.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in '__xfrm_dst_lookup' - unexpected unlock ../net/xfrm/xfrm_policy.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.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 * ../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 * ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../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:2332:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2332:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2332:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3940:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4672:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5086:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8023:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11982:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11998:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12014:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12035:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12132:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12254: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:1991:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1991:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1991:59: got unsigned long long [usertype] to ../net/core/filter.c:1994:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1994:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1994:52: got unsigned long long [usertype] from ../net/core/filter.c:1994:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1994:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1994:58: got unsigned long long [usertype] to ../net/core/filter.c:1997:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1997:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1997:52: got unsigned long long [usertype] from ../net/core/filter.c:1997:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1997:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1997:58: got unsigned long long [usertype] to ../net/core/filter.c:2064:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2064:35: expected unsigned long long ../net/core/filter.c:2064:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5943:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5943:17: expected unsigned int [usertype] spi ../net/core/filter.c:5943:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5951:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5951:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5951: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?