../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 506 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:32: note: directive argument in the range [-2147483641, 2147483646] 506 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 506 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/marvell/octeontx2/af/rvu.c:822:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: expected struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: got struct rvu_fwdata *fwdata ../net/ipv4/tcp_ipv4.c:3525:41: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3525:41: expected void const *data ../net/ipv4/tcp_ipv4.c:3525:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3647:45: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3647:45: expected void const *data ../net/ipv4/tcp_ipv4.c:3647:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3651:50: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_ipv4.c:3651:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3651:50: got struct tcp_congestion_ops * ../net/ipv4/tcp_ipv4.c:1847:25: warning: context imbalance in 'tcp_v4_syn_recv_sock' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2142:17: warning: context imbalance in 'tcp_add_backlog' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2406:21: warning: context imbalance in 'tcp_v4_rcv' - different lock contexts for basic block ../net/ipv4/tcp_ipv4.c:2592:13: warning: context imbalance in 'listening_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2640:29: warning: context imbalance in 'listening_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2673:13: warning: context imbalance in 'established_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2718:40: warning: context imbalance in 'established_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2850:36: warning: context imbalance in 'tcp_seq_stop' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3102:36: warning: context imbalance in 'bpf_iter_tcp_resume_listening' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3132:56: warning: context imbalance in 'bpf_iter_tcp_resume_established' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3240:28: warning: context imbalance in 'bpf_iter_tcp_unlock_bucket' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3526:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3526:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3648:45: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3648:45: warning: dereference of noderef expression ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/ipv4/tcp_ipv4.c:3550:41: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3550:41: expected void const *data ../net/ipv4/tcp_ipv4.c:3550:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3672:45: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3672:45: expected void const *data ../net/ipv4/tcp_ipv4.c:3672:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3676:50: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_ipv4.c:3676:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3676:50: got struct tcp_congestion_ops * ../net/ipv4/tcp_ipv4.c:1847:25: warning: context imbalance in 'tcp_v4_syn_recv_sock' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2142:17: warning: context imbalance in 'tcp_add_backlog' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2406:21: warning: context imbalance in 'tcp_v4_rcv' - different lock contexts for basic block ../net/ipv4/tcp_ipv4.c:2617:13: warning: context imbalance in 'listening_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2665:29: warning: context imbalance in 'listening_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2698:13: warning: context imbalance in 'established_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2743:40: warning: context imbalance in 'established_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2875:36: warning: context imbalance in 'tcp_seq_stop' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3127:36: warning: context imbalance in 'bpf_iter_tcp_resume_listening' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3157:56: warning: context imbalance in 'bpf_iter_tcp_resume_established' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3265:28: warning: context imbalance in 'bpf_iter_tcp_unlock_bucket' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3551:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3551:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3673:45: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3673:45: warning: dereference of noderef expression ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/ipv4/tcp_ipv4.c:3525:41: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3525:41: expected void const *data ../net/ipv4/tcp_ipv4.c:3525:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3647:45: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3647:45: expected void const *data ../net/ipv4/tcp_ipv4.c:3647:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3651:50: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_ipv4.c:3651:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3651:50: got struct tcp_congestion_ops * ../net/ipv4/tcp_ipv4.c:1847:25: warning: context imbalance in 'tcp_v4_syn_recv_sock' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2142:17: warning: context imbalance in 'tcp_add_backlog' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2406:21: warning: context imbalance in 'tcp_v4_rcv' - different lock contexts for basic block ../net/ipv4/tcp_ipv4.c:2592:13: warning: context imbalance in 'listening_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2640:29: warning: context imbalance in 'listening_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2673:13: warning: context imbalance in 'established_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2718:40: warning: context imbalance in 'established_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2850:36: warning: context imbalance in 'tcp_seq_stop' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3102:36: warning: context imbalance in 'bpf_iter_tcp_resume_listening' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3132:56: warning: context imbalance in 'bpf_iter_tcp_resume_established' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3240:28: warning: context imbalance in 'bpf_iter_tcp_unlock_bucket' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3526:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3526:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3648:45: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3648:45: warning: dereference of noderef expression ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?