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 ../security/selinux/hooks.c:5451:22: warning: restricted __be16 degrades to integer ../security/selinux/hooks.c:5452:22: warning: restricted __be16 degrades to integer ../net/core/sock.c:2480:9: warning: context imbalance in 'sk_clone_lock' - wrong count at exit ../net/core/sock.c:2484:6: warning: context imbalance in 'sk_free_unlock_clone' - unexpected unlock ../net/core/sock.c:4121:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4133:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../net/sched/sch_generic.c:222:9: warning: context imbalance in 'try_bulk_dequeue_skb_slow' - different lock contexts for basic block ../net/sched/sch_generic.c:302:28: warning: context imbalance in 'dequeue_skb' - different lock contexts for basic block ../net/sched/sch_generic.c:324:28: warning: context imbalance in 'sch_direct_xmit' - unexpected unlock ../net/sched/sch_generic.c:466:6: warning: context imbalance in 'netif_tx_lock' - wrong count at exit ../net/sched/sch_generic.c:489:6: warning: context imbalance in 'netif_tx_unlock' - unexpected unlock ../net/sched/sch_generic.c:1291:13: warning: context imbalance in 'dev_reset_queue' - different lock contexts for basic block ../net/xfrm/xfrm_state.c:1045:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1045:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1045:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1045:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1045:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1045:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1045:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1045:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1045:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1045:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1087:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1087:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1087:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1087:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1087:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1087:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1087:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1087:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1087:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1087:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1112:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1112:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1112:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1112:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1112:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1112:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1112:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1112:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1112:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1112:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1219:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1219:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1219:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1219:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1219:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1219:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1219:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1219:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1219:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1219:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1253:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1253:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1253:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1253:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1253:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1253:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1253:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1253:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1253:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1253:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1355:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1355:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1355:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1355:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1355:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1355:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1355:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1355:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1355:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1355:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1359:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1359:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1359:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1359:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1359:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1359:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1359:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1359:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1359:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1359:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1364:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1364:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1364:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1364:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1364:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1364:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1364:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1364:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1364:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1364:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1370:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1370:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1370:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1370:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1370:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1370:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1370:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1370:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1370:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1370:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1485:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1485:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1485:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1485:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1485:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1485:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1485:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1485:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1485:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1485:9: warning: too many warnings ../net/xfrm/xfrm_state.c: note: in included file: ../include/net/xfrm.h:1880:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1880:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1880:16: struct sock * ../net/xfrm/xfrm_input.c:78:21: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_input.c:78:21: struct xfrm_input_afinfo const [noderef] __rcu * ../net/xfrm/xfrm_input.c:78:21: struct xfrm_input_afinfo const * ../net/xfrm/xfrm_input.c:100:9: warning: context imbalance in 'xfrm_input_get_afinfo' - different lock contexts for basic block ../net/xfrm/xfrm_input.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/timerqueue.h, ../include/linux/hrtimer_defs.h, ../include/linux/hrtimer.h, ../include/linux/interrupt.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'xfrm_rcv_cb' - unexpected unlock ../net/xfrm/xfrm_output.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:880:25: warning: context imbalance in 'xfrm_local_error' - unexpected unlock ../net/xfrm/xfrm_replay.c: note: in included file: ../include/net/xfrm.h:1880:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1880:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1880:16: struct sock * ../include/net/xfrm.h:1880:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1880:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1880:16: struct sock * ../include/net/xfrm.h:1880:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1880:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1880:16: struct sock * ../include/net/xfrm.h:1880:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1880:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1880:16: struct sock * ../include/net/xfrm.h:1880:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1880:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1880:16: struct sock * ../include/net/xfrm.h:1880:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1880:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1880:16: struct sock * ../include/net/xfrm.h:1880:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1880:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1880:16: struct sock * ../include/net/xfrm.h:1880:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1880:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1880:16: struct sock * ../include/net/xfrm.h:1880:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1880:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1880:16: struct sock * ../net/ipv6/ip6_input.c:529:33: warning: context imbalance in 'ip6_mc_input' - different lock contexts for basic block ../net/ipv6/route.c:2344:39: warning: incorrect type in assignment (different base types) ../net/ipv6/route.c:2344:39: expected unsigned int [usertype] flow_label ../net/ipv6/route.c:2344:39: got restricted __be32 ../net/xfrm/xfrm_user.c:4014:9: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:4014:9: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:4014:9: struct sock * ../net/xfrm/xfrm_user.c:4020:9: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:4020:9: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:4020:9: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c:1439:29: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_user.c:1439:29: struct sock [noderef] __rcu * ../net/xfrm/xfrm_user.c:1439:29: struct sock * ../net/xfrm/xfrm_user.c: note: in included file: ../include/net/xfrm.h:1893:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1893:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1893:16: struct sock * ../net/mptcp/protocol.c:3365:9: warning: context imbalance in 'mptcp_sk_clone_init' - unexpected unlock ../net/ipv4/inet_connection_sock.c:330:36: warning: context imbalance in 'inet_csk_find_open_port' - wrong count at exit ../net/ipv4/inet_connection_sock.c:607:23: warning: context imbalance in 'inet_csk_get_port' - unexpected unlock ../net/ipv4/inet_connection_sock.c:1457:9: warning: context imbalance in 'inet_csk_complete_hashdance' - unexpected unlock ../net/core/filter.c:1423:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1423:39: expected struct sock_filter const *filter ../net/core/filter.c:1423:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1501:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1501:39: expected struct sock_filter const *filter ../net/core/filter.c:1501:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2340:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2340:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2340:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3915:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4648:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5062:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7943:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11909:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11925:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11941:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11962:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12152:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1943:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1943:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1943:43: got unsigned long long [usertype] to ../net/core/filter.c:1946:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1946:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1946:36: got unsigned long long [usertype] from ../net/core/filter.c:1946:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1946:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1946:42: got unsigned long long [usertype] to ../net/core/filter.c:1949:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1949:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1949:36: got unsigned long long [usertype] from ../net/core/filter.c:1949:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1949:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1949:42: got unsigned long long [usertype] to ../net/core/filter.c:1994:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1994:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1994:59: 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 __be16 [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 __be16 [usertype] to ../net/core/filter.c:1997:58: got unsigned long long [usertype] to ../net/core/filter.c:2000:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2000:52: got unsigned long long [usertype] from ../net/core/filter.c:2000:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2000:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2000:58: got unsigned long long [usertype] to ../net/core/filter.c:2050:16: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2050:16: expected unsigned long long ../net/core/filter.c:2050:16: got restricted __wsum [assigned] [usertype] ret ../net/core/filter.c:2072:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2072:35: expected unsigned long long ../net/core/filter.c:2072:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5849:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5849:17: expected unsigned int [usertype] spi ../net/core/filter.c:5849:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5857:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5857:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5857:33: got restricted __be32 const [usertype] a4 ../net/ipv4/tcp_ipv4.c:3400:41: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3400:41: expected void const *data ../net/ipv4/tcp_ipv4.c:3400:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3521:45: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3521:45: expected void const *data ../net/ipv4/tcp_ipv4.c:3521:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3525:50: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_ipv4.c:3525:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3525:50: got struct tcp_congestion_ops * ../net/ipv4/tcp_ipv4.c:1836:25: warning: context imbalance in 'tcp_v4_syn_recv_sock' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2128:17: warning: context imbalance in 'tcp_add_backlog' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2388:21: warning: context imbalance in 'tcp_v4_rcv' - different lock contexts for basic block ../net/ipv4/tcp_ipv4.c:2597:13: warning: context imbalance in 'listening_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2645:29: warning: context imbalance in 'listening_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2678:13: warning: context imbalance in 'established_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2723:40: warning: context imbalance in 'established_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2855:36: warning: context imbalance in 'tcp_seq_stop' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3076:20: warning: context imbalance in 'bpf_iter_tcp_listening_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3104:40: warning: context imbalance in 'bpf_iter_tcp_established_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3401:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3401:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3522:45: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3522:45: warning: dereference of noderef expression ../net/ipv6/icmp.c:103:20: warning: context imbalance in 'icmpv6_xmit_lock' - wrong count at exit ../net/ipv6/icmp.c:119:13: warning: context imbalance in 'icmpv6_xmit_unlock' - unexpected unlock ../net/ipv6/tcp_ipv6.c:1560:25: warning: context imbalance in 'tcp_v6_syn_recv_sock' - unexpected unlock ../net/ipv6/tcp_ipv6.c:1951:21: warning: context imbalance in 'tcp_v6_rcv' - 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/ipv4/udp.c:1454:28: warning: context imbalance in 'udp_rmem_release' - unexpected unlock ../net/ipv4/udp.c:1486:19: warning: context imbalance in 'busylock_acquire' - wrong count at exit ../net/ipv4/udp.c:1498:28: warning: context imbalance in 'busylock_release' - unexpected unlock ../net/ipv4/udp.c:3027:9: warning: context imbalance in 'udp_get_first' - wrong count at exit ../net/ipv4/udp.c:3044:39: warning: context imbalance in 'udp_get_next' - unexpected unlock ../net/ipv4/udp.c:3092:31: warning: context imbalance in 'udp_seq_stop' - unexpected unlock ../drivers/scsi/qedf/qedf_main.c:2217:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2217:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2217:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2246:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2246:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2246:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2263:33: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2281:26: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2512:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2512:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_main.c:2512:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/qedf/qedf_main.c:2708:34: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2822:25: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2825:18: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../drivers/net/ethernet/arc/emac_main.c:256:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:256:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:256:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:458:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:458:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:458:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:707:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:707:37: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:707:37: got restricted __le32 [usertype] ../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 ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/xfrm/xfrm_policy.c:4099:43: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_policy.c:4099:43: struct xfrm_policy_afinfo const [noderef] __rcu * ../net/xfrm/xfrm_policy.c:4099:43: struct xfrm_policy_afinfo const * ../net/xfrm/xfrm_policy.c:4186:29: warning: incorrect type in assignment (different address spaces) ../net/xfrm/xfrm_policy.c:4186:29: expected struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4186:29: got struct hlist_head * ../net/xfrm/xfrm_policy.c:4213:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4213:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4213:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4241:17: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4241:17: expected struct hlist_head const *h ../net/xfrm/xfrm_policy.c:4241:17: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4242:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4242:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4242: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:880: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 * ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3183:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3183:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3184 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/macsec.c:431:24: warning: restricted ssci_t degrades to integer ../drivers/net/macsec.c:431:22: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:431:22: expected restricted ssci_t [usertype] ssci ../drivers/net/macsec.c:431:22: got unsigned int ../drivers/net/macsec.c:432:22: warning: restricted __be64 degrades to integer ../drivers/net/macsec.c:432:20: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:432:20: expected restricted __be64 [usertype] pn ../drivers/net/macsec.c:432:20: got unsigned long long ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3479:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3484:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3489:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3489:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3514:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3518:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3518:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3518:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3528:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3532:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3532:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3532:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3542:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3542:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3548:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3549:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3556:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3560:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3596:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3596:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3650:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3650:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function ‘bgx_acpi_match_id’: ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:34: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:30: note: directive argument in the range [0, 255] 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:9: note: ‘snprintf’ output between 5 and 7 bytes into a destination of size 5 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 ../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/core/dev.c:3389:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3389:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3389:23: got unsigned int ../net/core/dev.c:3389:23: warning: cast from restricted __wsum ../net/core/dev.c:5343:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3835:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5301:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: expected void [noderef] __iomem *p ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: got struct gfar * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:22: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: error: incompatible types in comparison expression (different address spaces): ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void [noderef] __iomem * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:399:25: error: subtraction of different types can't work (different address spaces) ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c: In function ‘dpaa_get_strings’: ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:64: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:63: note: using the range [-2147483648, 2147483647] for directive argument 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:25: note: ‘snprintf’ output between 9 and 306 bytes into a destination of size 32 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | dpaa_stats_percpu[i], j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:56: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:17: note: ‘snprintf’ output between 9 and 296 bytes into a destination of size 32 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | dpaa_stats_percpu[i]); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2303:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2303 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2303:52: note: directive argument in the range [-2147483639, 2147483646] 2303 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2303:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2303 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2304 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:229: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/freescale/gianfar.c:2214:60: warning: cast to restricted __be64 ../drivers/net/ethernet/freescale/gianfar.c:2477:53: warning: cast to restricted __be64 In file included from ../drivers/net/ethernet/broadcom/genet/bcmmii.c:17: ../drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_pd_init’: ../include/linux/phy.h:307:20: warning: ‘%02x’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 0 and 60 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:24: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~ ../include/linux/phy.h:307:20: note: using the range [0, 4294967295] for directive argument 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:17: note: ‘snprintf’ output between 4 and 70 bytes into a destination of size 61 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | mdio_bus_id, pd->phy_address); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/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/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); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2769:24: warning: cast to restricted __be32 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file: ../include/soc/fsl/qman.h:245:16: warning: cast to restricted __be32 ../include/soc/fsl/qman.h:245:16: warning: cast from restricted __be16 ../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/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/tg3.c: In function ‘tg3_request_irq’: ../drivers/net/ethernet/broadcom/tg3.c:11355:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 11355 | "%s-%d", tp->dev->name, irq_num); | ^~ ../drivers/net/ethernet/broadcom/tg3.c:11355:34: note: using the range [-2147483648, 2147483647] for directive argument 11355 | "%s-%d", tp->dev->name, irq_num); | ^~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11354:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 16 11354 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11355 | "%s-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11352:37: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11352 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11352:34: note: using the range [-2147483648, 2147483647] for directive argument 11352 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11351:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11351 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11352 | "%s-rx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11349:37: warning: ‘-tx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11349 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11349:34: note: using the range [-2147483648, 2147483647] for directive argument 11349 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11348:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11348 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11349 | "%s-tx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11346:37: warning: ‘-txrx-’ directive output may be truncated writing 6 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11346 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11346:34: note: using the range [-2147483648, 2147483647] for directive argument 11346 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11345:25: note: ‘snprintf’ output between 8 and 33 bytes into a destination of size 16 11345 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11346 | "%s-txrx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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/qualcomm/emac/emac-mac.c:998:14: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1008:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1011:28: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1058:27: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1061:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1112:21: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1114:33: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1143:30: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1147:42: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1152:50: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1153:40: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1344:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:951:21: warning: cast truncates bits from constant value (ffffffff7fffffff becomes 7fffffff) ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:625:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 625 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:624:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 624 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:642:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 642 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:641:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 641 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 642 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:639:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 639 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 638 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/renesas/sh_eth.c:897:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:897:37: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:897:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:898:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:898:37: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:898:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:905:37: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:905:37: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:905:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:906:37: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:906:37: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:906:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1242:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/renesas/sh_eth.c:1247:17: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1252:25: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1252:25: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1266:49: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1283:33: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: warning: invalid assignment: &= ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1602:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/renesas/sh_eth.c:1605:31: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1606:27: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1644:36: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: expected void *addr ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: got void [noderef] __iomem * ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:410:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:419:36: warning: cast to restricted __be32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:64: note: directive argument in the range [0, 4294967294] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:779:16: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:797:41: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:810:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: expected unsigned int [usertype] app1 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:912:33: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:920:25: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:985:39: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:999:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1005:26: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:37: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: got restricted __be16 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: got restricted __be32 [usertype] ../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 ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/korina.c:408:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:408:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:408:33: got struct dma_reg [noderef] __iomem *tx_dma_regs ../drivers/net/ethernet/korina.c:415:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:415:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:415:33: got struct dma_reg [noderef] __iomem *rx_dma_regs ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2704:41: warning: too many warnings ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1197:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1197:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1197:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1197:43: got unsigned int [usertype] ../drivers/net/ethernet/ethoc.c:317:13: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:317:13: expected void *vma ../drivers/net/ethernet/ethoc.c:317:13: got void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:454:67: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/ethoc.c:454:67: expected void const volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:454:67: got void *src ../drivers/net/ethernet/ethoc.c:908:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/ethoc.c:908:21: expected void volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:908:21: got void *[assigned] dest ../drivers/net/ethernet/ethoc.c:1109:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:1109:31: expected void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:1109:31: got void * ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:50: warning: restricted __le32 degrades to integer In file included from ../drivers/net/usb/asix.h:28, from ../drivers/net/usb/ax88172a.c:15: ../drivers/net/usb/ax88172a.c: In function ‘ax88172a_reset’: ../include/linux/phy.h:307:20: warning: ‘%s’ directive output may be truncated writing up to 60 bytes into a region of size 20 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:21: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~ ../include/linux/phy.h:307:20: note: directive argument in the range [0, 65535] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:9: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 20 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | priv->mdio->id, priv->phy_addr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: got int ../drivers/net/ethernet/nxp/lpc_eth.c:909:31: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: expected unsigned int [usertype] ethst ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: expected int si ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: got unsigned int ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: expected void [noderef] __iomem **mapbase ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: got void ** ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/usb/smsc75xx.c:2172:29: warning: cast to restricted __be16 ../drivers/net/usb/smsc75xx.c:2172:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/smsc75xx.c:2172:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/smsc75xx.c:2172:27: got unsigned short [usertype] ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/usb/lan78xx.c:3525:29: warning: cast to restricted __be16 ../drivers/net/usb/lan78xx.c:3525:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/lan78xx.c:3525:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/lan78xx.c:3525:27: got unsigned short [usertype] ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask ../drivers/net/phy/mscc/mscc_main.c: In function ‘vsc85xx_dt_led_modes_get.constprop’: ../drivers/net/phy/mscc/mscc_main.c:452:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ ../drivers/net/phy/mscc/mscc_main.c:452:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? 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 ../net/xfrm/xfrm_policy.c:4099:43: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_policy.c:4099:43: struct xfrm_policy_afinfo const [noderef] __rcu * ../net/xfrm/xfrm_policy.c:4099:43: struct xfrm_policy_afinfo const * ../net/xfrm/xfrm_policy.c:4186:29: warning: incorrect type in assignment (different address spaces) ../net/xfrm/xfrm_policy.c:4186:29: expected struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4186:29: got struct hlist_head * ../net/xfrm/xfrm_policy.c:4213:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4213:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4213:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4241:17: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4241:17: expected struct hlist_head const *h ../net/xfrm/xfrm_policy.c:4241:17: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4242:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4242:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4242: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:880: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 * WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? 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 ../net/xfrm/xfrm_policy.c:4099:43: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_policy.c:4099:43: struct xfrm_policy_afinfo const [noderef] __rcu * ../net/xfrm/xfrm_policy.c:4099:43: struct xfrm_policy_afinfo const * ../net/xfrm/xfrm_policy.c:4186:29: warning: incorrect type in assignment (different address spaces) ../net/xfrm/xfrm_policy.c:4186:29: expected struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4186:29: got struct hlist_head * ../net/xfrm/xfrm_policy.c:4213:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4213:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4213:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4241:17: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4241:17: expected struct hlist_head const *h ../net/xfrm/xfrm_policy.c:4241:17: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4242:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4242:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4242: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:880: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 * WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?