Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../net/socket.c:1735:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../net/bpf/test_run.c:510:17: warning: symbol 'bpf_fentry_test1' was not declared. Should it be static? ../net/bpf/test_run.c:516:14: warning: symbol 'bpf_fentry_test2' was not declared. Should it be static? ../net/bpf/test_run.c:521:14: warning: symbol 'bpf_fentry_test3' was not declared. Should it be static? ../net/bpf/test_run.c:526:14: warning: symbol 'bpf_fentry_test4' was not declared. Should it be static? ../net/bpf/test_run.c:531:14: warning: symbol 'bpf_fentry_test5' was not declared. Should it be static? ../net/bpf/test_run.c:536:14: warning: symbol 'bpf_fentry_test6' was not declared. Should it be static? ../net/bpf/test_run.c:545:14: warning: symbol 'bpf_fentry_test7' was not declared. Should it be static? ../net/bpf/test_run.c:551:14: warning: symbol 'bpf_fentry_test8' was not declared. Should it be static? ../net/bpf/test_run.c:556:17: warning: symbol 'bpf_fentry_test9' was not declared. Should it be static? ../net/bpf/test_run.c:561:14: warning: symbol 'bpf_fentry_test10' was not declared. Should it be static? ../net/bpf/test_run.c:566:15: warning: symbol 'bpf_fentry_test_sinfo' was not declared. Should it be static? ../net/bpf/test_run.c:570:17: warning: symbol 'bpf_modify_return_test' was not declared. Should it be static? ../net/bpf/test_run.c:576:17: warning: symbol 'bpf_modify_return_test2' was not declared. Should it be static? ../net/bpf/test_run.c:583:17: warning: symbol 'bpf_modify_return_test_tp' was not declared. Should it be static? ../net/bpf/test_run.c:590:14: warning: symbol 'bpf_fentry_shadow_test' was not declared. Should it be static? ../net/bpf/test_run.c:612:18: warning: symbol 'bpf_kfunc_call_test_release' was not declared. Should it be static? ../net/bpf/test_run.c:617:18: warning: symbol 'bpf_kfunc_call_test_release_dtor' was not declared. Should it be static? ../net/bpf/test_run.c:623:18: warning: symbol 'bpf_kfunc_call_memb_release' was not declared. Should it be static? ../net/bpf/test_run.c:627:18: warning: symbol 'bpf_kfunc_call_memb_release_dtor' was not declared. Should it be static? ../io_uring/poll.c:429:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:429:40: expected int mask ../io_uring/poll.c:429:40: got restricted __poll_t [usertype] mask ../io_uring/poll.c:281:38: warning: incorrect type in assignment (different base types) ../io_uring/poll.c:281:38: expected signed int [usertype] res ../io_uring/poll.c:281:38: got restricted __poll_t ../io_uring/poll.c:301:56: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:300:66: warning: incorrect type in argument 1 (different base types) ../io_uring/poll.c:300:66: expected restricted __poll_t [usertype] val ../io_uring/poll.c:300:66: got unsigned int ../io_uring/poll.c:300:52: warning: incorrect type in initializer (different base types) ../io_uring/poll.c:300:52: expected restricted __poll_t [usertype] mask ../io_uring/poll.c:300:52: got unsigned short ../io_uring/poll.c:303:51: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:303:51: expected signed int [usertype] res ../io_uring/poll.c:303:51: got restricted __poll_t [usertype] mask ../io_uring/poll.c:304:53: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:304:53: expected signed int [usertype] res ../io_uring/poll.c:304:53: got restricted __poll_t [usertype] mask ../io_uring/poll.c:357:71: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:357:65: warning: incorrect type in argument 1 (different base types) ../io_uring/poll.c:357:65: expected restricted __poll_t [usertype] val ../io_uring/poll.c:357:65: got unsigned int ../io_uring/poll.c:617:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:617:40: expected int mask ../io_uring/poll.c:617:40: got restricted __poll_t [assigned] [usertype] mask ../io_uring/poll.c:697:38: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:697:38: expected int mask ../io_uring/poll.c:697:38: got restricted __poll_t [assigned] [usertype] mask ../io_uring/poll.c:697:55: warning: incorrect type in argument 3 (different base types) ../io_uring/poll.c:697:55: expected int events ../io_uring/poll.c:697:55: got restricted __poll_t [usertype] events ../io_uring/poll.c:704:33: warning: incorrect type in initializer (different base types) ../io_uring/poll.c:704:33: expected restricted __poll_t [usertype] mask ../io_uring/poll.c:704:33: got int ../io_uring/poll.c:842:24: warning: invalid assignment: |= ../io_uring/poll.c:842:24: left side has type unsigned int ../io_uring/poll.c:842:24: right side has type restricted __poll_t ../io_uring/poll.c:844:24: warning: invalid assignment: |= ../io_uring/poll.c:844:24: left side has type unsigned int ../io_uring/poll.c:844:24: right side has type restricted __poll_t ../io_uring/poll.c:846:55: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:845:29: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:845:38: warning: incorrect type in return expression (different base types) ../io_uring/poll.c:845:38: expected restricted __poll_t ../io_uring/poll.c:845:38: got unsigned int ../io_uring/poll.c:906:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:906:40: expected signed int [usertype] res ../io_uring/poll.c:906:40: got restricted __poll_t [addressable] [assigned] [usertype] result_mask ../io_uring/poll.c:937:38: warning: invalid assignment: &= ../io_uring/poll.c:937:38: left side has type restricted __poll_t ../io_uring/poll.c:937:38: right side has type int ../io_uring/poll.c:938:52: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:938:38: warning: invalid assignment: |= ../io_uring/poll.c:938:38: left side has type restricted __poll_t ../io_uring/poll.c:938:38: right side has type unsigned int ../io_uring/wait.c: note: in included file (through ../include/trace/events/io_uring.h): ../include/linux/io_uring_types.h:219:37: warning: array of flexible structures ../io_uring/sqpoll.c: note: in included file (through ../io_uring/io_uring.h): ../include/linux/io_uring_types.h:219:37: warning: array of flexible structures ../net/core/datagram.c: note: in included file (through ../include/linux/skbuff.h, ../include/net/net_namespace.h, ../include/linux/inet.h): ../include/net/checksum.h:41:45: warning: incorrect type in argument 3 (different base types) ../include/net/checksum.h:41:45: expected restricted __wsum [usertype] sum ../include/net/checksum.h:41:45: got unsigned int ../io_uring/io_uring.c:466:28: warning: invalid assignment: |= ../io_uring/io_uring.c:466:28: left side has type bool ../io_uring/io_uring.c:466:28: right side has type restricted io_req_flags_t ../io_uring/io_uring.c: note: in included file (through ../include/linux/io_uring/cmd.h): ../include/linux/io_uring_types.h:219:37: warning: array of flexible structures ../io_uring/io_uring.c:749:58: warning: array of flexible structures ../io_uring/io_uring.c:879:69: warning: array of flexible structures ../io_uring/io_uring.c: note: in included file: ../io_uring/io_uring.h:168:73: warning: array of flexible structures ../io_uring/io_uring.c:1330:25: warning: restricted io_req_flags_t degrades to integer ../io_uring/register.c: note: in included file: ../include/linux/io_uring_types.h:219:37: warning: array of flexible structures ../io_uring/napi.c: note: in included file (through ../io_uring/io_uring.h): ../include/linux/io_uring_types.h:219:37: warning: array of flexible structures ../net/core/dev.c:5839:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/ipv4/tcp_ipv4.c:3472:41: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3472:41: expected void const *data ../net/ipv4/tcp_ipv4.c:3472:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3598:45: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3598:45: expected void const *data ../net/ipv4/tcp_ipv4.c:3598:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3602:50: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_ipv4.c:3602:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3602:50: got struct tcp_congestion_ops * ../net/ipv4/tcp_ipv4.c:3473:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3473:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3599:45: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3599:45: warning: dereference of noderef expression ../net/core/filter.c:1439:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1439:39: expected struct sock_filter const *filter ../net/core/filter.c:1439:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1517:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1517:39: expected struct sock_filter const *filter ../net/core/filter.c:1517:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2348:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2348:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2348:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3971:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4713:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5127:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8140:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12142:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12172:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? ../net/core/filter.c:12188:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12204:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12225:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12322:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12372:17: warning: symbol 'bpf_xdp_pull_data' was not declared. Should it be static? ../net/core/filter.c:12548:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1947:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1947:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1947:43: got unsigned long long [usertype] to ../net/core/filter.c:1950:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1950:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1950:36: got unsigned long long [usertype] from ../net/core/filter.c:1950:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1950:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1950:42: got unsigned long long [usertype] to ../net/core/filter.c:1953:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1953:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1953:36: got unsigned long long [usertype] from ../net/core/filter.c:1953:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1953:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1953:42: got unsigned long long [usertype] to ../net/core/filter.c:1999:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1999:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1999:59: got unsigned long long [usertype] to ../net/core/filter.c:2002:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2002:52: expected restricted __be16 [usertype] from ../net/core/filter.c:2002:52: got unsigned long long [usertype] from ../net/core/filter.c:2002:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2002:58: expected restricted __be16 [usertype] to ../net/core/filter.c:2002:58: got unsigned long long [usertype] to ../net/core/filter.c:2005:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2005:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2005:52: got unsigned long long [usertype] from ../net/core/filter.c:2005:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2005:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2005:58: got unsigned long long [usertype] to ../net/core/filter.c:2072:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2072:35: expected unsigned long long ../net/core/filter.c:2072:35: got restricted __wsum [usertype] csum ../net/core/filter.c:6056:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:6056:17: expected unsigned int [usertype] spi ../net/core/filter.c:6056:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:6064:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:6064:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:6064:33: got restricted __be32 const [usertype] a4 ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2797: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=] 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2797:52: note: directive argument in the range [-2147483638, 2147483646] 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2797:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2797 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2798 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../net/core/xdp.c:903:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? ../net/core/xdp.c:925:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? ../net/core/xdp.c:958:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? ../fs/eventpoll.c:648:9: warning: restricted __poll_t degrades to integer ../fs/eventpoll.c:648:9: warning: cast to restricted __poll_t ../fs/eventpoll.c:1330:53: warning: incorrect type in argument 3 (different base types) ../fs/eventpoll.c:1330:53: expected unsigned int pollflags ../fs/eventpoll.c:1330:53: got restricted __poll_t ../drivers/net/ethernet/cisco/enic/enic_main.c:270:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:274:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:629:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:636:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/emulex/benet/be_main.c:1559:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:1559:29: expected unsigned short ../drivers/net/ethernet/emulex/benet/be_main.c:1559:29: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2631:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2631:32: expected unsigned int [usertype] fragpa_lo ../drivers/net/ethernet/emulex/benet/be_main.c:2631:32: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2632:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2632:32: expected unsigned int [usertype] fragpa_hi ../drivers/net/ethernet/emulex/benet/be_main.c:2632:32: got restricted __le32 [usertype] ../kernel/bpf/core.c:253:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:3043: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:304:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:331: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:102:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:102:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:102:9: struct rb_node * ../include/linux/rbtree.h:102:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:102:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:102:9: struct rb_node * ../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? ../kernel/bpf/verifier.c:362:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:24246: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 ../scripts/Makefile.build:289: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to 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:1800:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1800:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1800:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3037:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3037:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3037:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3082:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3142:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3142:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3142:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3146:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3146:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3146:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3148:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3148:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3148:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3150:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3150:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3150:36: got int ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:681:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:681:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:681:35: got void *hwbase ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:132:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881: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=] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:54: note: directive argument in the range [-2147483641, 65534] 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1881:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1881 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1882 | 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:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 621 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 620 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 638 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 637 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 635 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 634 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c: note: in included file (through ../include/scsi/libfc.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 664 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:664:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 664 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 665 | stmmac_qstats_tx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:671:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 671 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:711:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:671:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 671 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 672 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/meta/fbnic/fbnic_txrx.c:880:14: error: too long token expansion ../drivers/net/ethernet/meta/fbnic/fbnic_txrx.c:961:35: error: too long token expansion ../drivers/net/ethernet/meta/fbnic/fbnic_txrx.c:1001:31: error: too long token expansion ../drivers/net/ethernet/meta/fbnic/fbnic_txrx.c:1259:33: error: too long token expansion ../drivers/net/ethernet/meta/fbnic/fbnic_txrx.c:1264:33: error: too long token expansion ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:289: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277: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=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1269:42: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1269:42: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1269:42: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:1481:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1481:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1481:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1651:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2046:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2046:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2046:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2052:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2052:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2052:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2719:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2719:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2719:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2736:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2736:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2736:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2758:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2758:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2758:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2810:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2810:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2810:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2856:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2869:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2869:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2869:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2909:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2909:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2909:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2950:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2950:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2950:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:3009:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3009:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3009:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3075:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3075:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3075:34: 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_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/infiniband/hw/mana/device.c:72:28: warning: symbol 'mana_ib_dev_dm_ops' was not declared. Should it be static? ../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/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/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 457 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:457:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 457 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:488:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 488 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:495:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 495 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ WARNING: modpost: vmlinux: section mismatch in reference: lookup_object_or_alloc+0x462 (section: .text) -> is_static_object (section: .init.text) ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? Documentation/.renames.txt: warning: ignored by one of the .gitignore files WARNING: modpost: vmlinux: section mismatch in reference: lookup_object_or_alloc+0x462 (section: .text) -> is_static_object (section: .init.text) Documentation/.renames.txt: warning: ignored by one of the .gitignore files WARNING: modpost: vmlinux: section mismatch in reference: lookup_object_or_alloc+0x462 (section: .text) -> is_static_object (section: .init.text)