.pylintrc: warning: ignored by one of the .gitignore files ../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/sched/cls_api.c:390:22: warning: incorrect type in assignment (different base types) ../net/sched/cls_api.c:390:22: expected restricted __be16 [usertype] protocol ../net/sched/cls_api.c:390:22: got unsigned int [usertype] protocol ../net/sched/cls_api.c:1921:16: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:1921:16: struct tcf_proto * ../net/sched/cls_api.c:1921:16: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2022:20: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:2022:20: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2022:20: struct tcf_proto * ../net/sched/cls_api.c:1983:25: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:1983:25: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:1983:25: struct tcf_proto * ../net/sched/cls_api.c:2003:16: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:2003:16: struct tcf_proto * ../net/sched/cls_api.c:2003:16: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2076:25: warning: restricted __be16 degrades to integer ../net/sched/cls_api.c:2792:50: warning: restricted __be16 degrades to integer ../net/ipv4/icmp.c: note: in included file (through ../include/linux/spinlock.h, ../include/linux/sched.h, ../include/linux/percpu.h, ../arch/x86/include/asm/msr.h, ../arch/x86/include/asm/tsc.h, ...): ../include/linux/bottom_half.h:33:30: warning: context imbalance in 'icmp_reply' - different lock contexts for basic block ../include/linux/bottom_half.h:33:30: warning: context imbalance in '__icmp_send' - 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: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 ../net/bridge/br_netfilter_hooks.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/netfilter/nf_conntrack_core.c:129:13: warning: context imbalance in 'nf_conntrack_double_unlock' - unexpected unlock ../net/netfilter/nf_conntrack_core.c:139:13: warning: context imbalance in 'nf_conntrack_double_lock' - wrong count at exit ../net/netfilter/nf_conntrack_core.c:2339:28: warning: context imbalance in 'get_next_corpse' - unexpected unlock ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:218:9: error: incompatible types in comparison expression (different address spaces): ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:218:9: int ( [noderef] __rcu * )( ... ) ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:218:9: int ( * )( ... ) ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:225:9: error: incompatible types in comparison expression (different address spaces): ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:225:9: int ( [noderef] __rcu * )( ... ) ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:225:9: int ( * )( ... ) ../net/netfilter/nf_conntrack_amanda.c:158:33: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_conntrack_amanda.c:158:33: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_conntrack_amanda.c:158:33: unsigned int ( * )( ... ) ../net/ipv4/netfilter/iptable_nat.c: note: in included file (through ../include/linux/netfilter_ipv4/ip_tables.h): ../include/uapi/linux/netfilter_ipv4/ip_tables.h:206:33: warning: array of flexible structures ../net/netfilter/nf_conntrack_netlink.c:1239:36: warning: context imbalance in 'ctnetlink_dump_table' - unexpected unlock ../net/netfilter/nf_conntrack_irc.c:242:38: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_conntrack_irc.c:242:38: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_conntrack_irc.c:242:38: unsigned int ( * )( ... ) ../net/netfilter/nf_conntrack_ftp.c:521:22: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_conntrack_ftp.c:521:22: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_conntrack_ftp.c:521:22: unsigned int ( * )( ... ) ../net/netfilter/nf_conntrack_snmp.c:42:23: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_conntrack_snmp.c:42:23: int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_conntrack_snmp.c:42:23: int ( * )( ... ) ../net/netfilter/nf_conntrack_tftp.c:78:31: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_conntrack_tftp.c:78:31: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_conntrack_tftp.c:78:31: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_amanda.c:67:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_amanda.c:67:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_amanda.c:67:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_amanda.c:75:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_amanda.c:75:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_amanda.c:75:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_ftp.c:117:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_ftp.c:117:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_ftp.c:117:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_ftp.c:125:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_ftp.c:125:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_ftp.c:125:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_irc.c:89:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_irc.c:89:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_irc.c:89:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_irc.c:97:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_irc.c:97:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_irc.c:97:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_tftp.c:43:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_tftp.c:43:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_tftp.c:43:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_tftp.c:51:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_tftp.c:51:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_tftp.c:51:9: unsigned int ( * )( ... ) ../net/netfilter/nf_conncount.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/uio.h, ../include/linux/socket.h, ../include/uapi/linux/in.h, ../include/linux/in.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/netfilter/nf_flow_table_ip.c: note: in included file (through ../include/linux/if_pppox.h, ../include/net/netfilter/nf_flow_table.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/netfilter/nf_flow_table_offload.c:45:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:45:32: expected restricted __be32 [usertype] keyid ../net/netfilter/nf_flow_table_offload.c:45:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:55:44: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:55:44: expected restricted __be32 [usertype] src ../net/netfilter/nf_flow_table_offload.c:55:44: got unsigned int ../net/netfilter/nf_flow_table_offload.c:57:44: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:57:44: expected restricted __be32 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:57:44: got unsigned int ../net/netfilter/nf_flow_table_offload.c:87:25: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:87:25: expected restricted __be16 [usertype] vlan_tpid ../net/netfilter/nf_flow_table_offload.c:87:25: got int ../net/netfilter/nf_flow_table_offload.c:150:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:150:32: expected restricted __be32 [usertype] src ../net/netfilter/nf_flow_table_offload.c:150:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:152:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:152:32: expected restricted __be32 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:152:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:167:29: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:167:29: expected restricted __be16 [usertype] n_proto ../net/netfilter/nf_flow_table_offload.c:167:29: got int ../net/netfilter/nf_flow_table_offload.c:193:30: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:193:30: expected restricted __be16 [usertype] src ../net/netfilter/nf_flow_table_offload.c:193:30: got int ../net/netfilter/nf_flow_table_offload.c:195:30: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:195:30: expected restricted __be16 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:195:30: got int ../net/netfilter/nf_flow_table_offload.c:258:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:258:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:258:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:258:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:258:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:258:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:263:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:263:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:263:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:263:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:263:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:263:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:316:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:316:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:316:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:316:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:316:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:316:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:322:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:322:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:322:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:322:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:322:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:322:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:333:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:333:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:333:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:351:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:351:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:351:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:360:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:360:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:360:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:378:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:378:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:378:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:400:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:400:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:400:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:417:60: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:417:60: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:417:60: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:425:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:425:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:425:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:442:60: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:442:60: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:442:60: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:477:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:477:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:477:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:478:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:478:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:478:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:483:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:483:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:483:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:484:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:484:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:484:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:491:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:491:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:491:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:491:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:491:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:491:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:507:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:507:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:507:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:508:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:508:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:508:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:513:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:513:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:513:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:514:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:514:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:514:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:521:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:521:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:521:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:521:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:521:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:521:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:846:24: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:846:24: expected restricted __be16 [usertype] proto ../net/netfilter/nf_flow_table_offload.c:846:24: got int ../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/ipv4/icmp.c: note: in included file (through ../include/linux/spinlock.h, ../include/linux/sched.h, ../include/linux/percpu.h, ../arch/x86/include/asm/msr.h, ../arch/x86/include/asm/tsc.h, ...): ../include/linux/bottom_half.h:33:30: warning: context imbalance in 'icmp_reply' - different lock contexts for basic block ../include/linux/bottom_half.h:33:30: warning: context imbalance in '__icmp_send' - different lock contexts for basic block ../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/netfilter/nf_conntrack_amanda.c:158:33: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_conntrack_amanda.c:158:33: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_conntrack_amanda.c:158:33: unsigned int ( * )( ... ) ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:218:9: error: incompatible types in comparison expression (different address spaces): ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:218:9: int ( [noderef] __rcu * )( ... ) ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:218:9: int ( * )( ... ) ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:225:9: error: incompatible types in comparison expression (different address spaces): ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:225:9: int ( [noderef] __rcu * )( ... ) ../net/ipv4/netfilter/nf_nat_snmp_basic_main.c:225:9: int ( * )( ... ) ../net/netfilter/nf_conntrack_snmp.c:42:23: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_conntrack_snmp.c:42:23: int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_conntrack_snmp.c:42:23: int ( * )( ... ) ../net/netfilter/nf_conntrack_irc.c:242:38: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_conntrack_irc.c:242:38: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_conntrack_irc.c:242:38: unsigned int ( * )( ... ) ../net/bridge/br_netfilter_hooks.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/ipv4/netfilter/iptable_nat.c: note: in included file (through ../include/linux/netfilter_ipv4/ip_tables.h): ../include/uapi/linux/netfilter_ipv4/ip_tables.h:206:33: warning: array of flexible structures ../net/netfilter/nf_conntrack_ftp.c:521:22: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_conntrack_ftp.c:521:22: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_conntrack_ftp.c:521:22: unsigned int ( * )( ... ) ../net/netfilter/nf_conntrack_tftp.c:78:31: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_conntrack_tftp.c:78:31: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_conntrack_tftp.c:78:31: unsigned int ( * )( ... ) ../net/netfilter/nf_conntrack_core.c:129:13: warning: context imbalance in 'nf_conntrack_double_unlock' - unexpected unlock ../net/netfilter/nf_conntrack_core.c:139:13: warning: context imbalance in 'nf_conntrack_double_lock' - wrong count at exit ../net/netfilter/nf_conntrack_core.c:2353:28: warning: context imbalance in 'get_next_corpse' - unexpected unlock ../net/sched/cls_api.c:390:22: warning: incorrect type in assignment (different base types) ../net/sched/cls_api.c:390:22: expected restricted __be16 [usertype] protocol ../net/sched/cls_api.c:390:22: got unsigned int [usertype] protocol ../net/sched/cls_api.c:1921:16: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:1921:16: struct tcf_proto * ../net/sched/cls_api.c:1921:16: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2022:20: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:2022:20: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2022:20: struct tcf_proto * ../net/sched/cls_api.c:1983:25: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:1983:25: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:1983:25: struct tcf_proto * ../net/sched/cls_api.c:2003:16: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:2003:16: struct tcf_proto * ../net/sched/cls_api.c:2003:16: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2076:25: warning: restricted __be16 degrades to integer ../net/sched/cls_api.c:2792:50: warning: restricted __be16 degrades to integer ../net/netfilter/nf_nat_amanda.c:67:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_amanda.c:67:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_amanda.c:67:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_amanda.c:75:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_amanda.c:75:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_amanda.c:75:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_ftp.c:117:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_ftp.c:117:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_ftp.c:117:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_ftp.c:125:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_ftp.c:125:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_ftp.c:125:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_irc.c:89:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_irc.c:89:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_irc.c:89:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_irc.c:97:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_irc.c:97:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_irc.c:97:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_tftp.c:43:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_tftp.c:43:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_tftp.c:43:9: unsigned int ( * )( ... ) ../net/netfilter/nf_nat_tftp.c:51:9: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_nat_tftp.c:51:9: unsigned int ( [noderef] __rcu * )( ... ) ../net/netfilter/nf_nat_tftp.c:51:9: unsigned int ( * )( ... ) ../net/netfilter/nf_conncount.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/uio.h, ../include/linux/socket.h, ../include/uapi/linux/in.h, ../include/linux/in.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/netfilter/nf_conntrack_netlink.c:1239:36: warning: context imbalance in 'ctnetlink_dump_table' - unexpected unlock ../net/netfilter/nf_flow_table_ip.c: note: in included file (through ../include/linux/if_pppox.h, ../include/net/netfilter/nf_flow_table.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/netfilter/nf_flow_table_offload.c:45:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:45:32: expected restricted __be32 [usertype] keyid ../net/netfilter/nf_flow_table_offload.c:45:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:55:44: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:55:44: expected restricted __be32 [usertype] src ../net/netfilter/nf_flow_table_offload.c:55:44: got unsigned int ../net/netfilter/nf_flow_table_offload.c:57:44: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:57:44: expected restricted __be32 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:57:44: got unsigned int ../net/netfilter/nf_flow_table_offload.c:87:25: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:87:25: expected restricted __be16 [usertype] vlan_tpid ../net/netfilter/nf_flow_table_offload.c:87:25: got int ../net/netfilter/nf_flow_table_offload.c:150:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:150:32: expected restricted __be32 [usertype] src ../net/netfilter/nf_flow_table_offload.c:150:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:152:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:152:32: expected restricted __be32 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:152:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:167:29: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:167:29: expected restricted __be16 [usertype] n_proto ../net/netfilter/nf_flow_table_offload.c:167:29: got int ../net/netfilter/nf_flow_table_offload.c:193:30: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:193:30: expected restricted __be16 [usertype] src ../net/netfilter/nf_flow_table_offload.c:193:30: got int ../net/netfilter/nf_flow_table_offload.c:195:30: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:195:30: expected restricted __be16 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:195:30: got int ../net/netfilter/nf_flow_table_offload.c:258:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:258:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:258:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:258:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:258:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:258:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:263:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:263:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:263:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:263:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:263:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:263:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:316:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:316:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:316:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:316:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:316:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:316:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:322:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:322:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:322:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:322:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:322:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:322:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:333:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:333:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:333:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:351:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:351:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:351:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:360:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:360:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:360:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:378:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:378:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:378:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:400:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:400:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:400:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:417:60: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:417:60: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:417:60: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:425:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:425:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:425:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:442:60: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:442:60: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:442:60: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:477:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:477:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:477:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:478:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:478:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:478:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:483:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:483:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:483:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:484:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:484:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:484:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:491:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:491:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:491:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:491:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:491:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:491:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:507:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:507:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:507:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:508:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:508:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:508:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:513:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:513:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:513:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:514:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:514:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:514:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:521:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:521:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:521:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:521:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:521:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:521:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:846:24: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:846:24: expected restricted __be16 [usertype] proto ../net/netfilter/nf_flow_table_offload.c:846:24: got int ../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?