tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../net/socket.c:1694:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../net/bpf/test_run.c:520:17: warning: symbol 'bpf_fentry_test1' was not declared. Should it be static? ../net/bpf/test_run.c:526:14: warning: symbol 'bpf_fentry_test2' was not declared. Should it be static? ../net/bpf/test_run.c:531:14: warning: symbol 'bpf_fentry_test3' was not declared. Should it be static? ../net/bpf/test_run.c:536:14: warning: symbol 'bpf_fentry_test4' was not declared. Should it be static? ../net/bpf/test_run.c:541:14: warning: symbol 'bpf_fentry_test5' was not declared. Should it be static? ../net/bpf/test_run.c:546:14: warning: symbol 'bpf_fentry_test6' was not declared. Should it be static? ../net/bpf/test_run.c:555:14: warning: symbol 'bpf_fentry_test7' was not declared. Should it be static? ../net/bpf/test_run.c:561:14: warning: symbol 'bpf_fentry_test8' was not declared. Should it be static? ../net/bpf/test_run.c:566:17: warning: symbol 'bpf_fentry_test9' was not declared. Should it be static? ../net/bpf/test_run.c:571:15: warning: symbol 'bpf_fentry_test_sinfo' was not declared. Should it be static? ../net/bpf/test_run.c:575:17: warning: symbol 'bpf_modify_return_test' was not declared. Should it be static? ../net/bpf/test_run.c:581:17: warning: symbol 'bpf_modify_return_test2' was not declared. Should it be static? ../net/bpf/test_run.c:588:17: warning: symbol 'bpf_modify_return_test_tp' was not declared. Should it be static? ../net/bpf/test_run.c:595:14: warning: symbol 'bpf_fentry_shadow_test' was not declared. Should it be static? ../net/bpf/test_run.c:617:18: warning: symbol 'bpf_kfunc_call_test_release' was not declared. Should it be static? ../net/bpf/test_run.c:622:18: warning: symbol 'bpf_kfunc_call_test_release_dtor' was not declared. Should it be static? ../net/bpf/test_run.c:628:18: warning: symbol 'bpf_kfunc_call_memb_release' was not declared. Should it be static? ../net/bpf/test_run.c:632:18: warning: symbol 'bpf_kfunc_call_memb_release_dtor' was not declared. Should it be static? ../io_uring/poll.c:462:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:462:40: expected int mask ../io_uring/poll.c:462:40: got restricted __poll_t [usertype] mask ../io_uring/poll.c:304:38: warning: incorrect type in assignment (different base types) ../io_uring/poll.c:304:38: expected signed int [usertype] res ../io_uring/poll.c:304:38: got restricted __poll_t ../io_uring/poll.c:324:56: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:323:66: warning: incorrect type in argument 1 (different base types) ../io_uring/poll.c:323:66: expected restricted __poll_t [usertype] val ../io_uring/poll.c:323:66: got unsigned int ../io_uring/poll.c:323:52: warning: incorrect type in initializer (different base types) ../io_uring/poll.c:323:52: expected restricted __poll_t [usertype] mask ../io_uring/poll.c:323:52: got unsigned short ../io_uring/poll.c:326:51: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:326:51: expected signed int [usertype] res ../io_uring/poll.c:326:51: got restricted __poll_t [usertype] mask ../io_uring/poll.c:327:53: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:327:53: expected signed int [usertype] res ../io_uring/poll.c:327:53: got restricted __poll_t [usertype] mask ../io_uring/poll.c:373:71: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:373:65: warning: incorrect type in argument 1 (different base types) ../io_uring/poll.c:373:65: expected restricted __poll_t [usertype] val ../io_uring/poll.c:373:65: got unsigned int ../io_uring/poll.c:654:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:654:40: expected int mask ../io_uring/poll.c:654:40: got restricted __poll_t [assigned] [usertype] mask ../io_uring/poll.c:720:45: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:720:43: warning: incorrect type in initializer (different base types) ../io_uring/poll.c:720:43: expected restricted __poll_t [usertype] mask ../io_uring/poll.c:720:43: got unsigned int ../io_uring/poll.c:760:38: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:760:38: expected int mask ../io_uring/poll.c:760:38: got restricted __poll_t [assigned] [usertype] mask ../io_uring/poll.c:760:55: warning: incorrect type in argument 3 (different base types) ../io_uring/poll.c:760:55: expected int events ../io_uring/poll.c:760:55: got restricted __poll_t [usertype] events ../io_uring/poll.c:913:24: warning: invalid assignment: |= ../io_uring/poll.c:913:24: left side has type unsigned int ../io_uring/poll.c:913:24: right side has type restricted __poll_t ../io_uring/poll.c:915:24: warning: invalid assignment: |= ../io_uring/poll.c:915:24: left side has type unsigned int ../io_uring/poll.c:915:24: right side has type restricted __poll_t ../io_uring/poll.c:917:55: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:916:29: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:916:38: warning: incorrect type in return expression (different base types) ../io_uring/poll.c:916:38: expected restricted __poll_t ../io_uring/poll.c:916:38: got unsigned int ../io_uring/poll.c:984:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:984:40: expected signed int [usertype] res ../io_uring/poll.c:984:40: got restricted __poll_t [addressable] [assigned] [usertype] result_mask ../io_uring/poll.c:1031:38: warning: invalid assignment: &= ../io_uring/poll.c:1031:38: left side has type restricted __poll_t ../io_uring/poll.c:1031:38: right side has type int ../io_uring/poll.c:1032:52: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:1032:38: warning: invalid assignment: |= ../io_uring/poll.c:1032:38: left side has type restricted __poll_t ../io_uring/poll.c:1032:38: right side has type unsigned int ../io_uring/poll.c:804:24: warning: context imbalance in 'io_poll_find' - wrong count at exit ../io_uring/poll.c:832:24: warning: context imbalance in 'io_poll_file_find' - wrong count at exit ../io_uring/poll.c:884:28: warning: context imbalance in '__io_poll_cancel' - unexpected unlock ../io_uring/poll.c:1003:28: warning: context imbalance in 'io_poll_remove' - unexpected unlock ../io_uring/io_uring.c: note: in included file (through ../include/linux/io_uring/cmd.h): ../include/linux/io_uring_types.h:183:37: warning: array of flexible structures ../io_uring/io_uring.c:2015:23: warning: cast to restricted io_req_flags_t ../io_uring/io_uring.c:582:36: warning: context imbalance in 'io_req_post_cqe' - unexpected unlock ../io_uring/io_uring.c:584:17: warning: context imbalance in '__io_submit_flush_completions' - different lock contexts for basic block ../io_uring/sqpoll.c: note: in included file (through ../io_uring/io_uring.h): ../include/linux/io_uring_types.h:183:37: warning: array of flexible structures ../io_uring/sqpoll.c:41:9: warning: context imbalance in 'io_sq_thread_unpark' - wrong count at exit ../io_uring/sqpoll.c:52:9: warning: context imbalance in 'io_sq_thread_park' - wrong count at exit ../net/core/sock.c:2414:9: warning: context imbalance in 'sk_clone_lock' - wrong count at exit ../net/core/sock.c:2418:6: warning: context imbalance in 'sk_free_unlock_clone' - unexpected unlock ../net/core/sock.c:4045:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4057:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../net/ipv4/tcp_ipv4.c:3377:41: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3377:41: expected void const *data ../net/ipv4/tcp_ipv4.c:3377:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3498:45: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3498:45: expected void const *data ../net/ipv4/tcp_ipv4.c:3498:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3502:50: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_ipv4.c:3502:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3502:50: got struct tcp_congestion_ops * ../net/ipv4/tcp_ipv4.c:1830:25: warning: context imbalance in 'tcp_v4_syn_recv_sock' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2122:17: warning: context imbalance in 'tcp_add_backlog' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2382:21: warning: context imbalance in 'tcp_v4_rcv' - different lock contexts for basic block ../net/ipv4/tcp_ipv4.c:2576:13: warning: context imbalance in 'listening_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2624:29: warning: context imbalance in 'listening_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2657:13: warning: context imbalance in 'established_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2702:40: warning: context imbalance in 'established_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2834:36: warning: context imbalance in 'tcp_seq_stop' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3053:20: warning: context imbalance in 'bpf_iter_tcp_listening_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3081:40: warning: context imbalance in 'bpf_iter_tcp_established_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3378:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3378:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3499:45: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3499:45: warning: dereference of noderef expression ../net/ipv4/tcp_input.c:7280:17: warning: context imbalance in 'tcp_conn_request' - unexpected unlock ../net/core/xdp.c:708:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? ../net/core/xdp.c:730:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? ../net/core/xdp.c:763:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? ../net/core/filter.c:1422:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1422:39: expected struct sock_filter const *filter ../net/core/filter.c:1422:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1500:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1500:39: expected struct sock_filter const *filter ../net/core/filter.c:1500:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2339:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2339:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2339:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3913:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4646:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5060:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7929:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11895:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11911:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11927:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11948:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12137:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1942:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1942:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1942:43: got unsigned long long [usertype] to ../net/core/filter.c:1945:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1945:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1945:36: got unsigned long long [usertype] from ../net/core/filter.c:1945:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1945:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1945:42: got unsigned long long [usertype] to ../net/core/filter.c:1948:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1948:36: got unsigned long long [usertype] from ../net/core/filter.c:1948:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1948:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1948:42: got unsigned long long [usertype] to ../net/core/filter.c:1993:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1993:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1993:59: got unsigned long long [usertype] to ../net/core/filter.c:1996:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1996:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1996:52: got unsigned long long [usertype] from ../net/core/filter.c:1996:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1996:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1996:58: got unsigned long long [usertype] to ../net/core/filter.c:1999:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1999:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1999:52: got unsigned long long [usertype] from ../net/core/filter.c:1999:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1999:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1999:58: got unsigned long long [usertype] to ../net/core/filter.c:2049:16: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2049:16: expected unsigned long long ../net/core/filter.c:2049:16: got restricted __wsum [assigned] [usertype] ret ../net/core/filter.c:2071:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2071:35: expected unsigned long long ../net/core/filter.c:2071:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5831:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5831:17: expected unsigned int [usertype] spi ../net/core/filter.c:5831:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5839:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5839:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5839:33: got restricted __be32 const [usertype] a4 ../net/core/dev.c:3381:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3381:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3381:23: got unsigned int ../net/core/dev.c:3381:23: warning: cast from restricted __wsum ../net/core/dev.c:5336:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3821:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5294:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../net/ipv6/tcp_ipv6.c:1556:25: warning: context imbalance in 'tcp_v6_syn_recv_sock' - unexpected unlock ../net/ipv6/tcp_ipv6.c:1947:21: warning: context imbalance in 'tcp_v6_rcv' - different lock contexts for basic block ../io_uring/napi.c: note: in included file (through ../io_uring/io_uring.h): ../include/linux/io_uring_types.h:183:37: warning: array of flexible structures ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c: In function ‘aq_ethtool_get_strings’: ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:56: note: directive argument in the range [-2147483641, 254] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:33: note: ‘snprintf’ output between 5 and 15 bytes into a destination of size 8 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/sctp/socket.c:8505:23: warning: context imbalance in 'sctp_get_port_local' - unexpected unlock ../net/ipv4/udp.c:1453:28: warning: context imbalance in 'udp_rmem_release' - unexpected unlock ../net/ipv4/udp.c:1485:19: warning: context imbalance in 'busylock_acquire' - wrong count at exit ../net/ipv4/udp.c:1497:28: warning: context imbalance in 'busylock_release' - unexpected unlock ../net/ipv4/udp.c:3026:9: warning: context imbalance in 'udp_get_first' - wrong count at exit ../net/ipv4/udp.c:3043:39: warning: context imbalance in 'udp_get_next' - unexpected unlock ../net/ipv4/udp.c:3091:31: warning: context imbalance in 'udp_seq_stop' - unexpected unlock ../kernel/bpf/core.c:242:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2890:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:321:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:382:1: warning: Using plain integer as NULL pointer ../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.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 * ../fs/eventpoll.c:619:9: warning: restricted __poll_t degrades to integer ../fs/eventpoll.c:619:9: warning: cast to restricted __poll_t ../fs/eventpoll.c:1385:53: warning: incorrect type in argument 3 (different base types) ../fs/eventpoll.c:1385:53: expected unsigned int pollflags ../fs/eventpoll.c:1385:53: got restricted __poll_t ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10565:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10565 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~ ~~~~~~ In function ‘bnxt_setup_inta’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10585:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10565:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 10565 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10566 | 0); | ~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10550:62: warning: ‘%s’ directive output may be truncated writing between 2 and 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10550 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~ In function ‘bnxt_setup_msix’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10583:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10550:58: note: directive argument in the range [-2147483643, 2147483646] 10550 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10550:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 10550 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10551 | attr, i); | ~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4165:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=] 4165 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5077:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4164:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 31 4164 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4165 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1762:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1762 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1762:33: note: directive argument in the range [0, 4294967294] 1762 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1760:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1760 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1761 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1762 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1773:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1773 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1773:33: note: directive argument in the range [0, 4294967294] 1773 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1771:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1771 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1772 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1773 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21221:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c: In function ‘bnxt_debug_dev_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:30: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=] 69 | snprintf(qname, 10, "%d", ring_idx); | ^~ In function ‘debugfs_dim_ring_init’, inlined from ‘bnxt_debug_dev_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:87:4: ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:29: note: directive argument in the range [-2147483643, 2147483646] 69 | snprintf(qname, 10, "%d", ring_idx); | ^~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:9: note: ‘snprintf’ output between 2 and 12 bytes into a destination of size 10 69 | snprintf(qname, 10, "%d", ring_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2306: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=] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:52: note: directive argument in the range [-2147483639, 2147483646] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2307 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:272:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:276:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:271:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:271:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:633:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:640:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:632:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:632:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast from restricted __be32 ../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast from restricted __be32 ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: expected unsigned short ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: expected unsigned int [usertype] fragpa_lo ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: expected unsigned int [usertype] fragpa_hi ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: got restricted __le32 [usertype] ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:61:27: warning: symbol 'hw_atl2_caps_aqc113' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:72:27: warning: symbol 'hw_atl2_caps_aqc115c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:81:27: warning: symbol 'hw_atl2_caps_aqc116c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:825:24: warning: symbol 'hw_atl2_ops' was not declared. Should it be static? ../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]); | ~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:244: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../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:2745: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 ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../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_debugfs.c:161:46: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:25:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:28:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:38:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:41:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:822:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/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/marvell/octeontx2/nic/otx2_pf.c:596:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mvneta.c:1796:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/marvell/mvneta.c:1979:45: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/marvell/mvneta.c:1979:45: expected int l3_proto ../drivers/net/ethernet/marvell/mvneta.c:1979:45: got restricted __be16 [usertype] l3_proto ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: expected unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: expected restricted __be16 [usertype] tot_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: expected restricted __be16 [usertype] payload_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c: In function ‘mvpp2_probe’: ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7636:32: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7635:9: note: ‘snprintf’ output between 10 and 31 bytes into a destination of size 30 7635 | snprintf(priv->queue_name, sizeof(priv->queue_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7637 | priv->port_count > 1 ? "+" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:54: note: directive argument in the range [-2147483641, 65534] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1904 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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:244: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1615:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2818:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: got int ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:278:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 278 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:276:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 276 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 278 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../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/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/intel/ice/ice_ptp_hw.c:868:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../drivers/net/ethernet/intel/ice/ice_ptp.c:397:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../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/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.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 tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../io_uring/sqpoll.c: note: in included file (through ../io_uring/io_uring.h): ../include/linux/io_uring_types.h:183:37: warning: array of flexible structures ../io_uring/sqpoll.c:41:9: warning: context imbalance in 'io_sq_thread_unpark' - wrong count at exit ../io_uring/sqpoll.c:52:9: warning: context imbalance in 'io_sq_thread_park' - wrong count at exit ../io_uring/poll.c:462:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:462:40: expected int mask ../io_uring/poll.c:462:40: got restricted __poll_t [usertype] mask ../io_uring/poll.c:304:38: warning: incorrect type in assignment (different base types) ../io_uring/poll.c:304:38: expected signed int [usertype] res ../io_uring/poll.c:304:38: got restricted __poll_t ../io_uring/poll.c:324:56: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:323:66: warning: incorrect type in argument 1 (different base types) ../io_uring/poll.c:323:66: expected restricted __poll_t [usertype] val ../io_uring/poll.c:323:66: got unsigned int ../io_uring/poll.c:323:52: warning: incorrect type in initializer (different base types) ../io_uring/poll.c:323:52: expected restricted __poll_t [usertype] mask ../io_uring/poll.c:323:52: got unsigned short ../io_uring/poll.c:326:51: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:326:51: expected signed int [usertype] res ../io_uring/poll.c:326:51: got restricted __poll_t [usertype] mask ../io_uring/poll.c:327:53: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:327:53: expected signed int [usertype] res ../io_uring/poll.c:327:53: got restricted __poll_t [usertype] mask ../io_uring/poll.c:373:71: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:373:65: warning: incorrect type in argument 1 (different base types) ../io_uring/poll.c:373:65: expected restricted __poll_t [usertype] val ../io_uring/poll.c:373:65: got unsigned int ../io_uring/poll.c:654:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:654:40: expected int mask ../io_uring/poll.c:654:40: got restricted __poll_t [assigned] [usertype] mask ../io_uring/poll.c:720:45: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:720:43: warning: incorrect type in initializer (different base types) ../io_uring/poll.c:720:43: expected restricted __poll_t [usertype] mask ../io_uring/poll.c:720:43: got unsigned int ../io_uring/poll.c:760:38: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:760:38: expected int mask ../io_uring/poll.c:760:38: got restricted __poll_t [assigned] [usertype] mask ../io_uring/poll.c:760:55: warning: incorrect type in argument 3 (different base types) ../io_uring/poll.c:760:55: expected int events ../io_uring/poll.c:760:55: got restricted __poll_t [usertype] events ../io_uring/poll.c:913:24: warning: invalid assignment: |= ../io_uring/poll.c:913:24: left side has type unsigned int ../io_uring/poll.c:913:24: right side has type restricted __poll_t ../io_uring/poll.c:915:24: warning: invalid assignment: |= ../io_uring/poll.c:915:24: left side has type unsigned int ../io_uring/poll.c:915:24: right side has type restricted __poll_t ../io_uring/poll.c:917:55: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:916:29: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:916:38: warning: incorrect type in return expression (different base types) ../io_uring/poll.c:916:38: expected restricted __poll_t ../io_uring/poll.c:916:38: got unsigned int ../io_uring/poll.c:984:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:984:40: expected signed int [usertype] res ../io_uring/poll.c:984:40: got restricted __poll_t [addressable] [assigned] [usertype] result_mask ../io_uring/poll.c:1031:38: warning: invalid assignment: &= ../io_uring/poll.c:1031:38: left side has type restricted __poll_t ../io_uring/poll.c:1031:38: right side has type int ../io_uring/poll.c:1032:52: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:1032:38: warning: invalid assignment: |= ../io_uring/poll.c:1032:38: left side has type restricted __poll_t ../io_uring/poll.c:1032:38: right side has type unsigned int ../io_uring/poll.c:804:24: warning: context imbalance in 'io_poll_find' - wrong count at exit ../io_uring/poll.c:832:24: warning: context imbalance in 'io_poll_file_find' - wrong count at exit ../io_uring/poll.c:884:28: warning: context imbalance in '__io_poll_cancel' - unexpected unlock ../io_uring/poll.c:1003:28: warning: context imbalance in 'io_poll_remove' - unexpected unlock ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c: In function ‘aq_ethtool_get_strings’: ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:56: note: directive argument in the range [-2147483641, 254] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:33: note: ‘snprintf’ output between 5 and 15 bytes into a destination of size 8 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../io_uring/napi.c: note: in included file (through ../io_uring/io_uring.h): ../include/linux/io_uring_types.h:183:37: warning: array of flexible structures ../net/bpf/test_run.c:520:17: warning: symbol 'bpf_fentry_test1' was not declared. Should it be static? ../net/bpf/test_run.c:526:14: warning: symbol 'bpf_fentry_test2' was not declared. Should it be static? ../net/bpf/test_run.c:531:14: warning: symbol 'bpf_fentry_test3' was not declared. Should it be static? ../net/bpf/test_run.c:536:14: warning: symbol 'bpf_fentry_test4' was not declared. Should it be static? ../net/bpf/test_run.c:541:14: warning: symbol 'bpf_fentry_test5' was not declared. Should it be static? ../net/bpf/test_run.c:546:14: warning: symbol 'bpf_fentry_test6' was not declared. Should it be static? ../net/bpf/test_run.c:555:14: warning: symbol 'bpf_fentry_test7' was not declared. Should it be static? ../net/bpf/test_run.c:561:14: warning: symbol 'bpf_fentry_test8' was not declared. Should it be static? ../net/bpf/test_run.c:566:17: warning: symbol 'bpf_fentry_test9' was not declared. Should it be static? ../net/bpf/test_run.c:571:15: warning: symbol 'bpf_fentry_test_sinfo' was not declared. Should it be static? ../net/bpf/test_run.c:575:17: warning: symbol 'bpf_modify_return_test' was not declared. Should it be static? ../net/bpf/test_run.c:581:17: warning: symbol 'bpf_modify_return_test2' was not declared. Should it be static? ../net/bpf/test_run.c:588:17: warning: symbol 'bpf_modify_return_test_tp' was not declared. Should it be static? ../net/bpf/test_run.c:595:14: warning: symbol 'bpf_fentry_shadow_test' was not declared. Should it be static? ../net/bpf/test_run.c:617:18: warning: symbol 'bpf_kfunc_call_test_release' was not declared. Should it be static? ../net/bpf/test_run.c:622:18: warning: symbol 'bpf_kfunc_call_test_release_dtor' was not declared. Should it be static? ../net/bpf/test_run.c:628:18: warning: symbol 'bpf_kfunc_call_memb_release' was not declared. Should it be static? ../net/bpf/test_run.c:632:18: warning: symbol 'bpf_kfunc_call_memb_release_dtor' was not declared. Should it be static? ../net/socket.c:1694:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../kernel/bpf/core.c:242:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2890:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:321:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:382:1: warning: Using plain integer as NULL pointer ../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../net/ipv6/tcp_ipv6.c:1556:25: warning: context imbalance in 'tcp_v6_syn_recv_sock' - unexpected unlock ../net/ipv6/tcp_ipv6.c:1947:21: warning: context imbalance in 'tcp_v6_rcv' - different lock contexts for basic block ../net/core/xdp.c:726:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? ../net/core/xdp.c:748:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? ../net/core/xdp.c:781:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? ../net/core/sock.c:2414:9: warning: context imbalance in 'sk_clone_lock' - wrong count at exit ../net/core/sock.c:2418:6: warning: context imbalance in 'sk_free_unlock_clone' - unexpected unlock ../net/core/sock.c:4045:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4057:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../net/ipv4/tcp_ipv4.c:3377:41: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3377:41: expected void const *data ../net/ipv4/tcp_ipv4.c:3377:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3498:45: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3498:45: expected void const *data ../net/ipv4/tcp_ipv4.c:3498:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3502:50: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_ipv4.c:3502:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3502:50: got struct tcp_congestion_ops * ../net/ipv4/tcp_ipv4.c:1830:25: warning: context imbalance in 'tcp_v4_syn_recv_sock' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2122:17: warning: context imbalance in 'tcp_add_backlog' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2382:21: warning: context imbalance in 'tcp_v4_rcv' - different lock contexts for basic block ../net/ipv4/tcp_ipv4.c:2576:13: warning: context imbalance in 'listening_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2624:29: warning: context imbalance in 'listening_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2657:13: warning: context imbalance in 'established_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2702:40: warning: context imbalance in 'established_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2834:36: warning: context imbalance in 'tcp_seq_stop' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3053:20: warning: context imbalance in 'bpf_iter_tcp_listening_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3081:40: warning: context imbalance in 'bpf_iter_tcp_established_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3378:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3378:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3499:45: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3499:45: warning: dereference of noderef expression ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c: In function ‘bnxt_debug_dev_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:30: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=] 69 | snprintf(qname, 10, "%d", ring_idx); | ^~ In function ‘debugfs_dim_ring_init’, inlined from ‘bnxt_debug_dev_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:87:4: ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:29: note: directive argument in the range [-2147483643, 2147483646] 69 | snprintf(qname, 10, "%d", ring_idx); | ^~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:9: note: ‘snprintf’ output between 2 and 12 bytes into a destination of size 10 69 | snprintf(qname, 10, "%d", ring_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1762:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1762 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1762:33: note: directive argument in the range [0, 4294967294] 1762 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1760:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1760 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1761 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1762 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1773:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1773 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1773:33: note: directive argument in the range [0, 4294967294] 1773 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1771:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1771 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1772 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1773 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:61:27: warning: symbol 'hw_atl2_caps_aqc113' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:72:27: warning: symbol 'hw_atl2_caps_aqc115c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:81:27: warning: symbol 'hw_atl2_caps_aqc116c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:825:24: warning: symbol 'hw_atl2_ops' was not declared. Should it be static? ../io_uring/io_uring.c: note: in included file (through ../include/linux/io_uring/cmd.h): ../include/linux/io_uring_types.h:183:37: warning: array of flexible structures ../io_uring/io_uring.c:2015:23: warning: cast to restricted io_req_flags_t ../io_uring/io_uring.c:582:36: warning: context imbalance in 'io_req_post_cqe' - unexpected unlock ../io_uring/io_uring.c:584:17: warning: context imbalance in '__io_submit_flush_completions' - different lock contexts for basic block ../drivers/net/ethernet/cisco/enic/enic_main.c:272:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:276:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:271:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:271:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:633:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:640:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:632:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:632:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4165:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=] 4165 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5077:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4164:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 31 4164 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4165 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../net/ipv4/udp.c:1453:28: warning: context imbalance in 'udp_rmem_release' - unexpected unlock ../net/ipv4/udp.c:1485:19: warning: context imbalance in 'busylock_acquire' - wrong count at exit ../net/ipv4/udp.c:1497:28: warning: context imbalance in 'busylock_release' - unexpected unlock ../net/ipv4/udp.c:3026:9: warning: context imbalance in 'udp_get_first' - wrong count at exit ../net/ipv4/udp.c:3043:39: warning: context imbalance in 'udp_get_next' - unexpected unlock ../net/ipv4/udp.c:3091:31: warning: context imbalance in 'udp_seq_stop' - unexpected unlock ../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 ../net/ipv4/tcp_input.c:7280:17: warning: context imbalance in 'tcp_conn_request' - unexpected unlock ../fs/eventpoll.c:619:9: warning: restricted __poll_t degrades to integer ../fs/eventpoll.c:619:9: warning: cast to restricted __poll_t ../fs/eventpoll.c:1385:53: warning: incorrect type in argument 3 (different base types) ../fs/eventpoll.c:1385:53: expected unsigned int pollflags ../fs/eventpoll.c:1385:53: got restricted __poll_t ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2306: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=] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:52: note: directive argument in the range [-2147483639, 2147483646] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2307 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:161:46: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast from restricted __be32 ../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast from restricted __be32 ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: expected unsigned short ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: expected unsigned int [usertype] fragpa_lo ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: expected unsigned int [usertype] fragpa_hi ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: got restricted __le32 [usertype] ../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/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/marvell/octeontx2/nic/otx2_txrx.c:699:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: expected unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: expected restricted __be16 [usertype] tot_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: expected restricted __be16 [usertype] payload_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:25:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:28:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:38:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:41:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:822:16: warning: cast removes address space '__iomem' of expression ../net/core/dev.c:3381:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3381:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3381:23: got unsigned int ../net/core/dev.c:3381:23: warning: cast from restricted __wsum ../net/core/dev.c:5336:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3821:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5294:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:596:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: got void [noderef] __iomem * ../net/sctp/socket.c:8505:23: warning: context imbalance in 'sctp_get_port_local' - unexpected unlock ../scripts/Makefile.build:244: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../net/core/filter.c:1422:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1422:39: expected struct sock_filter const *filter ../net/core/filter.c:1422:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1500:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1500:39: expected struct sock_filter const *filter ../net/core/filter.c:1500:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2339:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2339:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2339:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3913:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4646:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5060:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7929:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11895:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11911:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11927:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11948:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12137:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1942:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1942:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1942:43: got unsigned long long [usertype] to ../net/core/filter.c:1945:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1945:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1945:36: got unsigned long long [usertype] from ../net/core/filter.c:1945:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1945:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1945:42: got unsigned long long [usertype] to ../net/core/filter.c:1948:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1948:36: got unsigned long long [usertype] from ../net/core/filter.c:1948:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1948:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1948:42: got unsigned long long [usertype] to ../net/core/filter.c:1993:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1993:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1993:59: got unsigned long long [usertype] to ../net/core/filter.c:1996:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1996:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1996:52: got unsigned long long [usertype] from ../net/core/filter.c:1996:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1996:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1996:58: got unsigned long long [usertype] to ../net/core/filter.c:1999:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1999:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1999:52: got unsigned long long [usertype] from ../net/core/filter.c:1999:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1999:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1999:58: got unsigned long long [usertype] to ../net/core/filter.c:2049:16: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2049:16: expected unsigned long long ../net/core/filter.c:2049:16: got restricted __wsum [assigned] [usertype] ret ../net/core/filter.c:2071:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2071:35: expected unsigned long long ../net/core/filter.c:2071:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5831:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5831:17: expected unsigned int [usertype] spi ../net/core/filter.c:5831:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5839:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5839:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5839:33: got restricted __be32 const [usertype] a4 ../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:2745: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/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/marvell/mvneta.c:1796:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/marvell/mvneta.c:1979:45: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/marvell/mvneta.c:1979:45: expected int l3_proto ../drivers/net/ethernet/marvell/mvneta.c:1979:45: got restricted __be16 [usertype] l3_proto ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10565:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10565 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~ ~~~~~~ In function ‘bnxt_setup_inta’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10585:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10565:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 10565 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10566 | 0); | ~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10550:62: warning: ‘%s’ directive output may be truncated writing between 2 and 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10550 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~ In function ‘bnxt_setup_msix’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10583:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10550:58: note: directive argument in the range [-2147483643, 2147483646] 10550 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10550:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 10550 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10551 | attr, i); | ~~~~~~~~ ../kernel/bpf/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21221:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c: In function ‘mvpp2_probe’: ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7636:32: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7635:9: note: ‘snprintf’ output between 10 and 31 bytes into a destination of size 30 7635 | snprintf(priv->queue_name, sizeof(priv->queue_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7637 | priv->port_count > 1 ? "+" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:54: note: directive argument in the range [-2147483641, 65534] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1904 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/ethernet/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/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:278:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 278 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:276:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 276 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 278 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/vmxnet3/vmxnet3_ethtool.c:1306:42: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: got int ../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/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/vmxnet3/vmxnet3_drv.c:1469:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1615:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2818:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: got int ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:397:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/ethernet/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:868:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?