../ipc/util.c:172:29: warning: context imbalance in 'ipc_findkey' - wrong count at exit ../ipc/util.c:278:5: warning: context imbalance in 'ipc_addid' - different lock contexts for basic block ../ipc/util.c:432:27: warning: context imbalance in 'ipcget_public' - unexpected unlock ../ipc/util.c:813:9: warning: context imbalance in 'sysvipc_find_ipc' - wrong count at exit ../ipc/util.c:824:27: warning: context imbalance in 'sysvipc_proc_next' - unexpected unlock ../ipc/util.c:870:27: warning: context imbalance in 'sysvipc_proc_stop' - unexpected unlock ../ipc/msg.c:181:26: warning: context imbalance in 'newque' - unexpected unlock ../ipc/sem.c:579:9: warning: context imbalance in 'newary' - unexpected unlock ../ipc/sem.c:1186:17: warning: context imbalance in 'freeary' - unexpected unlock ../ipc/sem.c:1647:9: warning: context imbalance in 'semctl_down' - different lock contexts for basic block ../ipc/sem.c:1906:24: warning: context imbalance in 'find_alloc_undo' - wrong count at exit ../ipc/sem.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/uio.h, ../include/linux/socket.h, ../include/linux/compat.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in '__do_semtimedop' - unexpected unlock ../ipc/shm.c:131:17: warning: context imbalance in 'do_shm_rmid' - unexpected unlock ../ipc/shm.c:290:17: warning: context imbalance in '__shm_open' - unexpected unlock ../ipc/shm.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'shm_destroy' - unexpected unlock ../ipc/shm.c:391:17: warning: context imbalance in '__shm_close' - unexpected unlock ../ipc/shm.c:409:12: warning: context imbalance in 'shm_try_destroy_orphaned' - wrong count at exit ../ipc/shm.c:446:26: warning: context imbalance in 'exit_shm' - different lock contexts for basic block ../ipc/shm.c: note: in included file (through ../arch/x86/include/asm/preempt.h, ../include/linux/preempt.h, ../include/linux/spinlock.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../arch/x86/include/asm/current.h:47:17: warning: context imbalance in 'newseg' - unexpected unlock ../ipc/shm.c:1034:9: warning: context imbalance in 'shmctl_down' - different lock contexts for basic block ../ipc/shm.c:1678:17: warning: context imbalance in 'do_shmat' - unexpected unlock ../ipc/sem.c:647: warning: expecting prototype for perform_atomic_semop[_slow](). Prototype was for perform_atomic_semop_slow() instead ../net/netlink/af_netlink.c:2611:13: warning: context imbalance in 'netlink_walk_start' - wrong count at exit ../net/netlink/af_netlink.c:2617:13: warning: context imbalance in 'netlink_walk_stop' - unexpected unlock ../net/netlink/af_netlink.c:2667:9: warning: context imbalance in 'netlink_seq_start' - wrong count at exit ../net/xfrm/xfrm_policy.c:4143:43: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_policy.c:4143:43: struct xfrm_policy_afinfo const [noderef] __rcu * ../net/xfrm/xfrm_policy.c:4143:43: struct xfrm_policy_afinfo const * ../net/xfrm/xfrm_policy.c:4229:29: warning: incorrect type in assignment (different address spaces) ../net/xfrm/xfrm_policy.c:4229:29: expected struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4229:29: got struct hlist_head * ../net/xfrm/xfrm_policy.c:4256:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4256:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4256:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4282:17: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4282:17: expected struct hlist_head const *h ../net/xfrm/xfrm_policy.c:4282:17: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4283:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4283:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4283:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:264:9: warning: context imbalance in 'xfrm_policy_get_afinfo' - different lock contexts for basic block ../net/xfrm/xfrm_policy.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in '__xfrm_dst_lookup' - unexpected unlock ../net/xfrm/xfrm_policy.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../net/sched/cls_api.c:390:22: warning: incorrect type in assignment (different base types) ../net/sched/cls_api.c:390:22: expected restricted __be16 [usertype] protocol ../net/sched/cls_api.c:390:22: got unsigned int [usertype] protocol ../net/sched/cls_api.c:1921:16: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:1921:16: struct tcf_proto * ../net/sched/cls_api.c:1921:16: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2022:20: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:2022:20: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2022:20: struct tcf_proto * ../net/sched/cls_api.c:1983:25: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:1983:25: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:1983:25: struct tcf_proto * ../net/sched/cls_api.c:2003:16: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:2003:16: struct tcf_proto * ../net/sched/cls_api.c:2003:16: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2075:25: warning: restricted __be16 degrades to integer ../net/sched/cls_api.c:2768:50: warning: restricted __be16 degrades to integer ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/rt.c:851:70: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/rt.c:851:70: struct task_struct [noderef] __rcu * ../kernel/sched/rt.c:851:70: struct task_struct * ../kernel/sched/rt.c:2336:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/rt.c:2336:25: struct task_struct * ../kernel/sched/rt.c:2336:25: struct task_struct [noderef] __rcu * ../kernel/sched/rt.c:531:55: warning: incorrect type in initializer (different address spaces) ../kernel/sched/rt.c:531:55: expected struct task_struct *donor ../kernel/sched/rt.c:531:55: got struct task_struct [noderef] __rcu *donor ../kernel/sched/rt.c:991:39: warning: incorrect type in initializer (different address spaces) ../kernel/sched/rt.c:991:39: expected struct task_struct *donor ../kernel/sched/rt.c:991:39: got struct task_struct [noderef] __rcu *donor ../kernel/sched/rt.c:1529:31: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/rt.c:1529:31: expected struct task_struct *p ../kernel/sched/rt.c:1529:31: got struct task_struct [noderef] __rcu *curr ../kernel/sched/rt.c:1849:9: warning: incorrect type in assignment (different address spaces) ../kernel/sched/rt.c:1849:9: expected struct sched_domain *[assigned] sd ../kernel/sched/rt.c:1849:9: got struct sched_domain [noderef] __rcu *parent ../kernel/sched/rt.c:1549:14: warning: incorrect type in assignment (different address spaces) ../kernel/sched/rt.c:1549:14: expected struct task_struct *curr ../kernel/sched/rt.c:1549:14: got struct task_struct [noderef] __rcu * ../kernel/sched/rt.c:1550:15: warning: incorrect type in assignment (different address spaces) ../kernel/sched/rt.c:1550:15: expected struct task_struct *donor ../kernel/sched/rt.c:1550:15: got struct task_struct [noderef] __rcu * ../kernel/sched/rt.c:1611:45: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/rt.c:1611:45: expected struct task_struct *p ../kernel/sched/rt.c:1611:45: got struct task_struct [noderef] __rcu *donor ../kernel/sched/rt.c:1654:39: warning: incorrect type in initializer (different address spaces) ../kernel/sched/rt.c:1654:39: expected struct task_struct *donor ../kernel/sched/rt.c:1654:39: got struct task_struct [noderef] __rcu *donor ../kernel/sched/rt.c:1674:64: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/rt.c:1674:64: expected struct task_struct *tsk ../kernel/sched/rt.c:1674:64: got struct task_struct [noderef] __rcu *curr ../kernel/sched/rt.c:2018:40: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/rt.c:2018:40: expected struct task_struct *task ../kernel/sched/rt.c:2018:40: got struct task_struct [noderef] __rcu *curr ../kernel/sched/rt.c:2041:13: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/rt.c:2041:13: struct task_struct * ../kernel/sched/rt.c:2041:13: struct task_struct [noderef] __rcu * ../kernel/sched/rt.c:2387:54: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/rt.c:2387:54: expected struct task_struct *tsk ../kernel/sched/rt.c:2387:54: got struct task_struct [noderef] __rcu *curr ../kernel/sched/rt.c:2389:40: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/rt.c:2389:40: expected struct task_struct *p ../kernel/sched/rt.c:2389:40: got struct task_struct [noderef] __rcu *donor ../kernel/sched/rt.c:2389:62: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/rt.c:2389:62: expected struct task_struct *p ../kernel/sched/rt.c:2389:62: got struct task_struct [noderef] __rcu *donor ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/deadline.c:2719:23: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:2719:23: expected struct task_struct *p ../kernel/sched/deadline.c:2719:23: got struct task_struct [noderef] __rcu *donor ../kernel/sched/deadline.c:2729:13: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/deadline.c:2729:13: struct task_struct * ../kernel/sched/deadline.c:2729:13: struct task_struct [noderef] __rcu * ../kernel/sched/deadline.c:2835:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/deadline.c:2835:25: struct task_struct * ../kernel/sched/deadline.c:2835:25: struct task_struct [noderef] __rcu * ../kernel/sched/deadline.c:2359:42: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/deadline.c:2359:42: expected struct sched_dl_entity const *b ../kernel/sched/deadline.c:2359:42: got struct sched_dl_entity [noderef] __rcu * ../kernel/sched/deadline.c:2370:38: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:2370:38: expected struct task_struct *tsk ../kernel/sched/deadline.c:2370:38: got struct task_struct [noderef] __rcu *curr ../kernel/sched/deadline.c:1262:39: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:1262:39: expected struct task_struct *p ../kernel/sched/deadline.c:1262:39: got struct task_struct [noderef] __rcu *curr ../kernel/sched/deadline.c:1262:85: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/deadline.c:1262:85: expected struct sched_dl_entity const *b ../kernel/sched/deadline.c:1262:85: got struct sched_dl_entity [noderef] __rcu * ../kernel/sched/deadline.c:1362:23: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:1362:23: expected struct task_struct *p ../kernel/sched/deadline.c:1362:23: got struct task_struct [noderef] __rcu *donor ../kernel/sched/deadline.c:1672:31: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:1672:31: expected struct task_struct *p ../kernel/sched/deadline.c:1672:31: got struct task_struct [noderef] __rcu *curr ../kernel/sched/deadline.c:1672:70: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/deadline.c:1672:70: expected struct sched_dl_entity const *b ../kernel/sched/deadline.c:1672:70: got struct sched_dl_entity [noderef] __rcu * ../kernel/sched/deadline.c:1761:39: warning: incorrect type in initializer (different address spaces) ../kernel/sched/deadline.c:1761:39: expected struct task_struct *donor ../kernel/sched/deadline.c:1761:39: got struct task_struct [noderef] __rcu *donor ../kernel/sched/deadline.c:2580:9: warning: incorrect type in assignment (different address spaces) ../kernel/sched/deadline.c:2580:9: expected struct sched_domain *[assigned] sd ../kernel/sched/deadline.c:2580:9: got struct sched_domain [noderef] __rcu *parent ../kernel/sched/deadline.c:2244:14: warning: incorrect type in assignment (different address spaces) ../kernel/sched/deadline.c:2244:14: expected struct task_struct *curr ../kernel/sched/deadline.c:2244:14: got struct task_struct [noderef] __rcu * ../kernel/sched/deadline.c:2245:15: warning: incorrect type in assignment (different address spaces) ../kernel/sched/deadline.c:2245:15: expected struct task_struct *donor ../kernel/sched/deadline.c:2245:15: got struct task_struct [noderef] __rcu * ../kernel/sched/deadline.c:2320:43: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/deadline.c:2320:43: expected struct task_struct *p ../kernel/sched/deadline.c:2320:43: got struct task_struct [noderef] __rcu *donor ../kernel/sched/deadline.c:2880:38: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:2880:38: expected struct task_struct *tsk ../kernel/sched/deadline.c:2880:38: got struct task_struct [noderef] __rcu *curr ../kernel/sched/deadline.c:2882:23: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:2882:23: expected struct task_struct *p ../kernel/sched/deadline.c:2882:23: got struct task_struct [noderef] __rcu *donor ../kernel/sched/deadline.c:2884:44: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/deadline.c:2884:44: expected struct sched_dl_entity const *b ../kernel/sched/deadline.c:2884:44: got struct sched_dl_entity [noderef] __rcu * ../kernel/sched/deadline.c:3069:23: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/deadline.c:3069:23: struct task_struct [noderef] __rcu * ../kernel/sched/deadline.c:3069:23: struct task_struct * ../kernel/sched/deadline.c:3118:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/syscalls.c:206:22: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/syscalls.c:206:22: struct task_struct [noderef] __rcu * ../kernel/sched/syscalls.c:206:22: struct task_struct * ../kernel/sched/syscalls.c:253:48: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/syscalls.c:253:48: struct task_struct [noderef] __rcu * ../kernel/sched/syscalls.c:253:48: struct task_struct * ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/sched.h:2288:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2288:25: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2288:25: struct task_struct * ../kernel/sched/sched.h:2288:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2288:25: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2288:25: struct task_struct * ../kernel/sched/sched.h:2299:26: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2299:26: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2299:26: struct task_struct * ../kernel/sched/sched.h:2288:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2288:25: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2288:25: struct task_struct * ../kernel/sched/sched.h:2299:26: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2299:26: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2299:26: struct task_struct * ../kernel/sched/sched.h:2288:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2288:25: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2288:25: struct task_struct * ../kernel/sched/sched.h:2288:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2288:25: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2288:25: struct task_struct * ../kernel/sched/sched.h:2299:26: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2299:26: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2299:26: struct task_struct * ../kernel/sched/sched.h:2299:26: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2299:26: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2299:26: struct task_struct * ../kernel/sched/sched.h:2488:9: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2488:9: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2488:9: struct task_struct * ../kernel/sched/sched.h:2299:26: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2299:26: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2299:26: struct task_struct * ../kernel/sched/sched.h:2488:9: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2488:9: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2488:9: struct task_struct * ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/syscalls.c:1295:6: warning: context imbalance in 'sched_getaffinity' - different lock contexts for basic block ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/rt.c:1699:15: warning: dereference of noderef expression ../net/core/dev.c:3606:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3606:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3606:23: got unsigned int ../net/core/dev.c:3606:23: warning: cast from restricted __wsum ../net/core/dev.c:5570:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4058:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5528:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../net/core/xdp.c:908:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? ../net/core/xdp.c:930:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? ../net/core/xdp.c:963:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? ../net/core/filter.c:1423:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1423:39: expected struct sock_filter const *filter ../net/core/filter.c:1423:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1501:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1501:39: expected struct sock_filter const *filter ../net/core/filter.c:1501:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2323:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2323:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2323:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3923:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4655:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5069:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7985:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11956:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11972:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11988:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12009:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12106:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12228:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1931:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1931:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1931:43: got unsigned long long [usertype] to ../net/core/filter.c:1934:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1934:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1934:36: got unsigned long long [usertype] from ../net/core/filter.c:1934:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1934:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1934:42: got unsigned long long [usertype] to ../net/core/filter.c:1937:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1937:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1937:36: got unsigned long long [usertype] from ../net/core/filter.c:1937:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1937:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1937:42: got unsigned long long [usertype] to ../net/core/filter.c:1982:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1982:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1982:59: got unsigned long long [usertype] to ../net/core/filter.c:1985:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1985:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1985:52: got unsigned long long [usertype] from ../net/core/filter.c:1985:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1985:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1985:58: got unsigned long long [usertype] to ../net/core/filter.c:1988:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1988:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1988:52: got unsigned long long [usertype] from ../net/core/filter.c:1988:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1988:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1988:58: got unsigned long long [usertype] to ../net/core/filter.c:2055:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2055:35: expected unsigned long long ../net/core/filter.c:2055:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5905:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5905:17: expected unsigned int [usertype] spi ../net/core/filter.c:5905:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5913:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5913:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5913:33: got restricted __be32 const [usertype] a4 ../net/netfilter/nfnetlink_hook.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'nf_netlink_dump_start_rcu' - unexpected unlock ../net/ipv4/ipmr_base.c:147:6: warning: context imbalance in 'mr_mfc_seq_idx' - wrong count at exit ../net/ipv4/ipmr_base.c:200:23: warning: context imbalance in 'mr_mfc_seq_next' - unexpected unlock ../net/ipv4/ipmr.c:2944:13: warning: context imbalance in 'ipmr_vif_seq_start' - different lock contexts for basic block ../net/ipv4/ipmr.c: note: in included file (through ../include/linux/mroute.h): ../include/linux/mroute_base.h:432:31: warning: context imbalance in 'mr_mfc_seq_stop' - unexpected unlock ../net/ipv6/seg6.c:252:15: warning: incorrect type in assignment (different address spaces) ../net/ipv6/seg6.c:252:15: expected struct in6_addr *t_old ../net/ipv6/seg6.c:252:15: got struct in6_addr [noderef] __rcu *tun_src ../net/ipv6/seg6.c:430:24: warning: incorrect type in assignment (different address spaces) ../net/ipv6/seg6.c:430:24: expected struct in6_addr [noderef] __rcu *tun_src ../net/ipv6/seg6.c:430:24: got void *[assigned] _res ../fs/dlm/lock.c:345:1: warning: context imbalance in 'dlm_refcount_dec_and_write_lock_bh' - wrong count at exit ../fs/dlm/lock.c:366:17: warning: context imbalance in 'put_rsb' - unexpected unlock ../fs/dlm/lock.c:366:17: warning: context imbalance in '__put_lkb' - unexpected unlock ../fs/dlm/lock.c:1885:31: warning: context imbalance in 'remove_from_waiters_ms' - unexpected unlock ../net/ipv6/ip6mr.c:433:13: warning: context imbalance in 'ip6mr_vif_seq_start' - different lock contexts for basic block ../net/ipv6/ip6mr.c: note: in included file (through ../include/linux/mroute6.h): ../include/linux/mroute_base.h:432:31: warning: context imbalance in 'mr_mfc_seq_stop' - unexpected unlock ../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2895: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/atm/lec.c:889:39: warning: context imbalance in 'lec_priv_walk' - unexpected unlock ../net/atm/lec.c:945:39: warning: context imbalance in 'lec_seq_stop' - unexpected unlock ../fs/nfsd/filecache.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/huge_mm.h, ../include/linux/mm.h, ...): ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../net/rds/af_rds.c:245:22: warning: invalid assignment: |= ../net/rds/af_rds.c:245:22: left side has type restricted __poll_t ../net/rds/af_rds.c:245:22: right side has type int ../net/netfilter/nf_tables_api.c:2017:25: warning: cast between address spaces (__percpu -> __rcu) ../net/netfilter/nf_tables_api.c:2017:25: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_tables_api.c:2017:25: struct nft_stats [noderef] __rcu * ../net/netfilter/nf_tables_api.c:2017:25: struct nft_stats [noderef] __percpu * ../net/netfilter/nf_tables_api.c:2219:17: warning: cast between address spaces (__percpu -> __rcu) ../net/netfilter/nf_tables_api.c:2219:17: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_tables_api.c:2219:17: struct nft_stats [noderef] __rcu * ../net/netfilter/nf_tables_api.c:2219:17: struct nft_stats [noderef] __percpu * ../net/netfilter/nf_tables_api.c:2219:17: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_tables_api.c:2219:17: struct nft_stats [noderef] __rcu * ../net/netfilter/nf_tables_api.c:2219:17: struct nft_stats [noderef] __percpu * ../net/netfilter/nf_tables_api.c:2262:21: warning: cast between address spaces (__percpu -> __rcu) ../net/netfilter/nf_tables_api.c:2262:21: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_tables_api.c:2262:21: struct nft_stats [noderef] __rcu * ../net/netfilter/nf_tables_api.c:2262:21: struct nft_stats [noderef] __percpu * ../net/netfilter/nf_tables_api.c:2648:25: warning: cast between address spaces (__percpu -> __rcu) ../net/netfilter/nf_tables_api.c:2648:25: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_tables_api.c:2648:25: struct nft_stats [noderef] __rcu * ../net/netfilter/nf_tables_api.c:2648:25: struct nft_stats [noderef] __percpu * ../net/netfilter/nf_tables_api.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ...): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'nft_netlink_dump_start_rcu' - unexpected unlock ../net/sctp/socket.c:8505:23: warning: context imbalance in 'sctp_get_port_local' - unexpected unlock ../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/sctp/input.c:460:13: warning: context imbalance in 'sctp_err_lookup' - different lock contexts for basic block ../net/sctp/input.c:632:9: warning: context imbalance in 'sctp_v4_err' - unexpected unlock ../net/sctp/input.c:657:17: warning: context imbalance in 'sctp_udp_v4_err' - unexpected unlock ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2620: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=] 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2620:52: note: directive argument in the range [-2147483639, 2147483646] 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2620:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2621 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../net/rds/connection.c:71:31: warning: incorrect type in argument 1 (different base types) ../net/rds/connection.c:71:31: expected restricted __be32 const [usertype] laddr ../net/rds/connection.c:71:31: got unsigned int [assigned] [usertype] lhash ../net/rds/connection.c:71:41: warning: incorrect type in argument 3 (different base types) ../net/rds/connection.c:71:41: expected restricted __be32 const [usertype] faddr ../net/rds/connection.c:71:41: got unsigned int [assigned] [usertype] fhash ../net/bridge/br_multicast.c: note: in included file (through ../include/linux/igmp.h): ../include/uapi/linux/igmp.h:60:32: warning: array of flexible structures ../net/bridge/br_multicast.c: note: in included file: ../include/net/mld.h:32:43: warning: array of flexible structures ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../fs/dlm/debug_fs.c:416:9: warning: context imbalance in 'table_seq_start' - wrong count at exit ../fs/dlm/debug_fs.c:433:13: warning: context imbalance in 'table_seq_stop' - unexpected unlock ../fs/nfsd/nfs4state.c: note: in included file (through ../include/linux/wait.h, ../include/linux/wait_bit.h, ../include/linux/fs.h): ../include/linux/list.h:229:25: warning: context imbalance in 'put_clnt_odstate' - unexpected unlock ../fs/nfsd/nfs4state.c:1203:9: warning: context imbalance in 'nfs4_put_stid' - unexpected unlock ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:222:44: warning: cast to restricted __be32 ../net/rds/send.c:1050:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1050:24: expected unsigned int [usertype] a ../net/rds/send.c:1050:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1052:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1052:24: expected unsigned int [usertype] a ../net/rds/send.c:1052:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1457:30: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1457:30: expected unsigned short [usertype] npaths ../net/rds/send.c:1457:30: got restricted __be16 [usertype] ../net/rds/send.c:1458:34: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1458:34: expected unsigned int [usertype] my_gen_num ../net/rds/send.c:1458:34: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/bridge/br_netfilter_hooks.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2933:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2933:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2933:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2978:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3038:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3038:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3038:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3042:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3042:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3042:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3044:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3044:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3044:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3046:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3046:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3046:36: got int ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 ../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:599:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:33:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:36:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:46:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:49:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:865:16: warning: cast removes address space '__iomem' of expression ../net/netfilter/nf_tables_offload.c:249:24: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_tables_offload.c:249:24: expected restricted __be16 [usertype] proto ../net/netfilter/nf_tables_offload.c:249:24: got int ../net/rds/tcp_listen.c:301:33: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:301:33: expected restricted __be16 [usertype] sin6_port ../net/rds/tcp_listen.c:301:33: got unsigned short [usertype] ../net/rds/tcp_listen.c:308:38: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:308:38: expected restricted __be32 [usertype] s_addr ../net/rds/tcp_listen.c:308:38: got unsigned long ../net/rds/tcp_listen.c:309:31: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:309:31: expected restricted __be16 [usertype] sin_port ../net/rds/tcp_listen.c:309:31: got unsigned short [usertype] ../net/netfilter/nft_set_rbtree.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ../include/linux/module.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../net/netfilter/nft_compat.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ...): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'nfnl_compat_get_rcu' - unexpected unlock ../fs/bcachefs/acl.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/bkey.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/alloc_background.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/gfs2/glock.c: note: in included file: ../fs/gfs2/glock.h:160:36: warning: context imbalance in '__gfs2_glock_put' - unexpected unlock ../fs/gfs2/glock.c:286:17: warning: context imbalance in '__gfs2_glock_put_or_lock' - unexpected unlock ../fs/gfs2/glock.c:320:9: warning: context imbalance in 'gfs2_glock_put_async' - unexpected unlock ../fs/gfs2/glock.c:1062:13: warning: context imbalance in 'glock_work_func' - different lock contexts for basic block ../fs/bcachefs/alloc_foreground.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/backpointers.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/bkey_methods.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/gfs2/glock.c:1260: warning: Function parameter or struct member 'ip' not described in '__gfs2_holder_init' ../fs/gfs2/lops.c:210:22: warning: cast from restricted blk_status_t ../fs/bcachefs/bkey_sort.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/bset.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_cache.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../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:4474:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/vxlan/vxlan_core.c:392:34: warning: incorrect type in argument 2 (different base types) ../drivers/net/vxlan/vxlan_core.c:392:34: expected unsigned int [usertype] b ../drivers/net/vxlan/vxlan_core.c:392:34: got restricted __be32 [usertype] vni ../fs/bcachefs/btree_gc.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_io.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_journal_iter.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_journal_iter.c:384:34: warning: incorrect type in initializer (different address spaces) ../fs/bcachefs/btree_journal_iter.c:384:34: expected struct journal_key_range_overwritten *prev_range ../fs/bcachefs/btree_journal_iter.c:384:34: got struct journal_key_range_overwritten [noderef] __rcu * ../fs/bcachefs/btree_journal_iter.c:386:34: warning: incorrect type in initializer (different address spaces) ../fs/bcachefs/btree_journal_iter.c:386:34: expected struct journal_key_range_overwritten *next_range ../fs/bcachefs/btree_journal_iter.c:386:34: got struct journal_key_range_overwritten [noderef] __rcu * ../fs/bcachefs/btree_journal_iter.c:394:51: warning: incorrect type in assignment (different address spaces) ../fs/bcachefs/btree_journal_iter.c:394:51: expected struct journal_key_range_overwritten [noderef] __rcu *overwritten_range ../fs/bcachefs/btree_journal_iter.c:394:51: got struct journal_key_range_overwritten *prev_range ../fs/bcachefs/btree_journal_iter.c:397:25: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_journal_iter.c:397:25: struct journal_key_range_overwritten [noderef] __rcu * ../fs/bcachefs/btree_journal_iter.c:397:25: struct journal_key_range_overwritten * ../fs/bcachefs/btree_journal_iter.c:670:32: warning: incorrect type in argument 1 (different address spaces) ../fs/bcachefs/btree_journal_iter.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/btree_journal_iter.c:141:9: warning: context imbalance in 'bch2_journal_keys_peek_prev_min' - different lock contexts for basic block ../fs/bcachefs/btree_iter.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_iter.c:1700:9: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_iter.c:1700:9: unsigned long [noderef] __rcu * ../fs/bcachefs/btree_iter.c:1700:9: unsigned long * ../fs/bcachefs/btree_iter.c:1701:9: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_iter.c:1701:9: struct btree_path [noderef] __rcu * ../fs/bcachefs/btree_iter.c:1701:9: struct btree_path * ../fs/bcachefs/btree_iter.c:1702:9: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_iter.c:1702:9: unsigned short [noderef] __rcu * ../fs/bcachefs/btree_iter.c:1702:9: unsigned short [usertype] * ../fs/bcachefs/btree_iter.c:1703:9: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_iter.c:1703:9: struct btree_insert_entry [noderef] __rcu * ../fs/bcachefs/btree_iter.c:1703:9: struct btree_insert_entry * ../fs/bcachefs/btree_iter.c:3558:36: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_iter.c:3558:36: struct btree_path [noderef] __rcu * ../fs/bcachefs/btree_iter.c:3558:36: struct btree_path * ../fs/bcachefs/btree_iter.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:357:9: warning: context imbalance in 'bch2_trans_srcu_unlock' - unexpected unlock ../fs/bcachefs/btree_iter.c:3224:9: warning: context imbalance in 'bch2_trans_srcu_lock' - different lock contexts for basic block ../fs/bcachefs/btree_iter.c:3461:9: warning: context imbalance in 'bch2_trans_put' - different lock contexts for basic block ../fs/bcachefs/btree_key_cache.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_key_cache.c:825:9: warning: dereference of noderef expression ../fs/bcachefs/btree_locking.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_locking.c:316:36: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_locking.c:316:36: struct btree_path [noderef] __rcu * ../fs/bcachefs/btree_locking.c:316:36: struct btree_path * ../fs/bcachefs/btree_node_scan.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_trans_commit.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_trans_commit.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/gfs2/inode.c:1880:14: error: incompatible types in comparison expression (different address spaces): ../fs/gfs2/inode.c:1880:14: struct gfs2_glock [noderef] __rcu * ../fs/gfs2/inode.c:1880:14: struct gfs2_glock * ../fs/gfs2/quota.c: note: in included file (through ../include/linux/dcache.h, ../include/linux/fs.h, ../include/linux/huge_mm.h, ../include/linux/mm.h): ../include/linux/rculist_bl.h:24:33: error: incompatible types in comparison expression (different address spaces): ../include/linux/rculist_bl.h:24:33: struct hlist_bl_node [noderef] __rcu * ../include/linux/rculist_bl.h:24:33: struct hlist_bl_node * ../include/linux/rculist_bl.h:17:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rculist_bl.h:17:9: struct hlist_bl_node [noderef] __rcu * ../include/linux/rculist_bl.h:17:9: struct hlist_bl_node * ../include/linux/rculist_bl.h:17:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rculist_bl.h:17:9: struct hlist_bl_node [noderef] __rcu * ../include/linux/rculist_bl.h:17:9: struct hlist_bl_node * ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1623:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2826:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: got int ../fs/bcachefs/btree_update.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/gfs2/super.c:1547:17: error: incompatible types in comparison expression (different address spaces): ../fs/gfs2/super.c:1547:17: struct gfs2_glock [noderef] __rcu * ../fs/gfs2/super.c:1547:17: struct gfs2_glock * ../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../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/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../fs/bcachefs/btree_write_buffer.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_write_buffer.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/buckets_waiting_for_journal.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/gfs2/super.c:735: warning: Function parameter or struct member 'who' not described in 'gfs2_freeze_super' ../fs/gfs2/super.c:803: warning: Function parameter or struct member 'who' not described in 'gfs2_thaw_super' ../drivers/infiniband/hw/cxgb4/cm.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../fs/bcachefs/btree_update_interior.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/buckets.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/checksum.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../drivers/net/ethernet/sfc/tx.c:495:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/infiniband/hw/cxgb4/cq.c:418:36: warning: context imbalance in 'c4iw_flush_hw_cq' - unexpected unlock ../drivers/infiniband/hw/cxgb4/cq.c:946:9: warning: context imbalance in 'c4iw_poll_cq_one' - different lock contexts for basic block ../fs/bcachefs/chardev.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/chardev.c: note: in included file: ../fs/bcachefs/bcachefs_ioctl.h:290:43: warning: array of flexible structures ../fs/bcachefs/bcachefs_ioctl.h:443:44: warning: array of flexible structures ../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/infiniband/hw/cxgb4/qp.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c:1623:39: warning: context imbalance in '__flush_qp' - different lock contexts for basic block ../drivers/net/ethernet/intel/ice/ice_ptp.c:301:5: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../fs/bcachefs/compress.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/bcachefs/debug.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/disk_groups.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/data_update.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../net/netfilter/nf_flow_table_ip.c: note: in included file (through ../include/linux/if_pppox.h, ../include/net/netfilter/nf_flow_table.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../fs/bcachefs/dirent.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../net/netfilter/nf_flow_table_offload.c:45:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:45:32: expected restricted __be32 [usertype] keyid ../net/netfilter/nf_flow_table_offload.c:45:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:55:44: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:55:44: expected restricted __be32 [usertype] src ../net/netfilter/nf_flow_table_offload.c:55:44: got unsigned int ../net/netfilter/nf_flow_table_offload.c:57:44: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:57:44: expected restricted __be32 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:57:44: got unsigned int ../net/netfilter/nf_flow_table_offload.c:87:25: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:87:25: expected restricted __be16 [usertype] vlan_tpid ../net/netfilter/nf_flow_table_offload.c:87:25: got int ../net/netfilter/nf_flow_table_offload.c:150:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:150:32: expected restricted __be32 [usertype] src ../net/netfilter/nf_flow_table_offload.c:150:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:152:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:152:32: expected restricted __be32 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:152:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:167:29: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:167:29: expected restricted __be16 [usertype] n_proto ../net/netfilter/nf_flow_table_offload.c:167:29: got int ../net/netfilter/nf_flow_table_offload.c:193:30: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:193:30: expected restricted __be16 [usertype] src ../net/netfilter/nf_flow_table_offload.c:193:30: got int ../net/netfilter/nf_flow_table_offload.c:195:30: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:195:30: expected restricted __be16 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:195:30: got int ../net/netfilter/nf_flow_table_offload.c:258:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:258:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:258:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:258:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:258:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:258:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:263:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:263:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:263:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:263:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:263:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:263:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:316:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:316:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:316:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:316:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:316:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:316:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:322:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:322:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:322:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:322:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:322:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:322:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:333:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:333:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:333:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:351:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:351:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:351:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:360:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:360:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:360:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:378:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:378:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:378:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:400:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:400:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:400:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:417:60: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:417:60: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:417:60: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:425:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:425:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:425:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:442:60: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:442:60: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:442:60: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:477:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:477:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:477:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:478:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:478:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:478:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:483:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:483:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:483:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:484:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:484:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:484:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:491:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:491:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:491:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:491:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:491:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:491:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:507:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:507:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:507:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:508:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:508:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:508:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:513:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:513:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:513:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:514:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:514:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:514:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:521:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:521:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:521:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:521:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:521:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:521:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:846:24: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:846:24: expected restricted __be16 [usertype] proto ../net/netfilter/nf_flow_table_offload.c:846:24: got int ../fs/bcachefs/disk_accounting.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../fs/bcachefs/ec.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../net/netfilter/nf_flow_table_inet.c: note: in included file (through ../include/linux/if_pppox.h, ../include/net/netfilter/nf_flow_table.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../fs/bcachefs/error.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/extent_update.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs-common.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/extents.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs.c:304:13: warning: context imbalance in '__wait_on_freeing_inode' - unexpected unlock ../fs/bcachefs/fs.c:320:30: warning: context imbalance in 'bch2_inode_hash_find' - wrong count at exit ../fs/bcachefs/fs-ioctl.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs-io.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs-io-direct.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs-io-buffered.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs-io-pagecache.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/inode.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/inode.c:819:9: warning: cast to restricted __le64 ../fs/bcachefs/inode.c:819:9: warning: cast from restricted __le32 ../fs/bcachefs/inode.c:997:35: warning: cast to restricted __le64 ../fs/bcachefs/inode.c:997:35: warning: cast from restricted __le32 ../fs/bcachefs/io_misc.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fsck.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/io_read.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/io_write.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/journal.c:1131:9: warning: context imbalance in '__bch2_set_nr_journal_buckets' - different lock contexts for basic block ../fs/bcachefs/io_write.c:1608: warning: Function parameter or struct member 'bch2_write' not described in 'CLOSURE_CALLBACK' ../fs/bcachefs/io_write.c:1608: warning: expecting prototype for bch2_write(). Prototype was for CLOSURE_CALLBACK() instead ../fs/bcachefs/journal_reclaim.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal_sb.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal_seq_blacklist.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal_io.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal_io.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/journal_io.c:1459:55: warning: cast to restricted __le64 ../fs/bcachefs/journal_io.c:1554:86: warning: incorrect type in argument 4 (different base types) ../fs/bcachefs/journal_io.c:1554:86: expected unsigned long long [usertype] seq ../fs/bcachefs/journal_io.c:1554:86: got restricted __le64 [usertype] seq ../fs/bcachefs/journal_io.c:2114:9: warning: context imbalance in 'bch2_journal_write' - different lock contexts for basic block ../fs/bcachefs/logged_ops.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../fs/bcachefs/lru.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/nocow_locking.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/migrate.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/opts.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/movinggc.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/move.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/quota.c:117:9: warning: unknown escape sequence: '\%' ../fs/bcachefs/quota.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/rebalance.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/recovery_passes.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/reflink.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/recovery.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/recovery.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:621:38: warning: array of flexible structures ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/replicas.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/replicas.c: note: in included file (through ../fs/bcachefs/disk_accounting_format.h, ../fs/bcachefs/bcachefs_format.h, ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/replicas_format.h:25:45: warning: array of flexible structures ../fs/bcachefs/replicas_format.h:13:45: warning: array of flexible structures ../fs/bcachefs/sb-counters.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/sb-clean.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/sb-clean.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:621:38: warning: array of flexible structures ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/sb-errors.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/sb-downgrade.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/sb-downgrade.c: note: in included file (through ../fs/bcachefs/bcachefs_format.h, ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/sb-downgrade_format.h:14:52: warning: array of flexible structures ../drivers/infiniband/hw/hfi1/tid_rdma.c:2375:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:2376:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:4236:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:4237:9: warning: dubious: !x & y ../fs/bcachefs/sb-members.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/str_hash.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/snapshot.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/subvolume.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/super.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../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 ../fs/bcachefs/tests.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/sysfs.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/super-io.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/super-io.c: note: in included file (through ../fs/bcachefs/bcachefs_format.h, ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/sb-downgrade_format.h:14:52: warning: array of flexible structures ../fs/bcachefs/super-io.c:539:19: warning: cast to restricted __le32 ../fs/bcachefs/super-io.c:538:19: warning: cast to restricted __le64 ../fs/bcachefs/xattr.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/xfs/xfs_icache.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h, ../fs/xfs/xfs_linux.h, ../fs/xfs/xfs.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'xfs_iget_recycle' - unexpected unlock ../fs/xfs/xfs_icache.c:606:28: warning: context imbalance in 'xfs_iget_cache_hit' - different lock contexts for basic block ../fs/bcachefs/trace.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/xfs/xfs_qm.c:459:1: warning: context imbalance in 'xfs_qm_dquot_isolate' - different lock contexts for basic block ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../ipc/util.c:172:29: warning: context imbalance in 'ipc_findkey' - wrong count at exit ../ipc/util.c:278:5: warning: context imbalance in 'ipc_addid' - different lock contexts for basic block ../ipc/util.c:432:27: warning: context imbalance in 'ipcget_public' - unexpected unlock ../ipc/util.c:813:9: warning: context imbalance in 'sysvipc_find_ipc' - wrong count at exit ../ipc/util.c:824:27: warning: context imbalance in 'sysvipc_proc_next' - unexpected unlock ../ipc/util.c:870:27: warning: context imbalance in 'sysvipc_proc_stop' - unexpected unlock ../ipc/msg.c:181:26: warning: context imbalance in 'newque' - unexpected unlock ../ipc/shm.c:131:17: warning: context imbalance in 'do_shm_rmid' - unexpected unlock ../ipc/shm.c:290:17: warning: context imbalance in '__shm_open' - unexpected unlock ../ipc/shm.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'shm_destroy' - unexpected unlock ../ipc/shm.c:391:17: warning: context imbalance in '__shm_close' - unexpected unlock ../ipc/shm.c:409:12: warning: context imbalance in 'shm_try_destroy_orphaned' - wrong count at exit ../ipc/shm.c:446:26: warning: context imbalance in 'exit_shm' - different lock contexts for basic block ../ipc/shm.c: note: in included file (through ../arch/x86/include/asm/preempt.h, ../include/linux/preempt.h, ../include/linux/spinlock.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../arch/x86/include/asm/current.h:47:17: warning: context imbalance in 'newseg' - unexpected unlock ../ipc/shm.c:1034:9: warning: context imbalance in 'shmctl_down' - different lock contexts for basic block ../ipc/shm.c:1678:17: warning: context imbalance in 'do_shmat' - unexpected unlock ../ipc/sem.c:579:9: warning: context imbalance in 'newary' - unexpected unlock ../ipc/sem.c:1186:17: warning: context imbalance in 'freeary' - unexpected unlock ../ipc/sem.c:1647:9: warning: context imbalance in 'semctl_down' - different lock contexts for basic block ../ipc/sem.c:1906:24: warning: context imbalance in 'find_alloc_undo' - wrong count at exit ../ipc/sem.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/uio.h, ../include/linux/socket.h, ../include/linux/compat.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in '__do_semtimedop' - unexpected unlock ../ipc/sem.c:647: warning: expecting prototype for perform_atomic_semop[_slow](). Prototype was for perform_atomic_semop_slow() instead ../net/netfilter/nfnetlink_hook.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'nf_netlink_dump_start_rcu' - unexpected unlock ../net/core/xdp.c:908:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? ../net/core/xdp.c:930:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? ../net/core/xdp.c:963:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? ../net/netlink/af_netlink.c:2611:13: warning: context imbalance in 'netlink_walk_start' - wrong count at exit ../net/netlink/af_netlink.c:2617:13: warning: context imbalance in 'netlink_walk_stop' - unexpected unlock ../net/netlink/af_netlink.c:2667:9: warning: context imbalance in 'netlink_seq_start' - wrong count at exit ../net/sched/cls_api.c:390:22: warning: incorrect type in assignment (different base types) ../net/sched/cls_api.c:390:22: expected restricted __be16 [usertype] protocol ../net/sched/cls_api.c:390:22: got unsigned int [usertype] protocol ../net/sched/cls_api.c:1921:16: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:1921:16: struct tcf_proto * ../net/sched/cls_api.c:1921:16: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2022:20: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:2022:20: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2022:20: struct tcf_proto * ../net/sched/cls_api.c:1983:25: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:1983:25: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:1983:25: struct tcf_proto * ../net/sched/cls_api.c:2003:16: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:2003:16: struct tcf_proto * ../net/sched/cls_api.c:2003:16: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2075:25: warning: restricted __be16 degrades to integer ../net/sched/cls_api.c:2768:50: warning: restricted __be16 degrades to integer ../net/ipv4/ipmr_base.c:147:6: warning: context imbalance in 'mr_mfc_seq_idx' - wrong count at exit ../net/ipv4/ipmr_base.c:200:23: warning: context imbalance in 'mr_mfc_seq_next' - unexpected unlock ../net/ipv6/seg6.c:252:15: warning: incorrect type in assignment (different address spaces) ../net/ipv6/seg6.c:252:15: expected struct in6_addr *t_old ../net/ipv6/seg6.c:252:15: got struct in6_addr [noderef] __rcu *tun_src ../net/ipv6/seg6.c:430:24: warning: incorrect type in assignment (different address spaces) ../net/ipv6/seg6.c:430:24: expected struct in6_addr [noderef] __rcu *tun_src ../net/ipv6/seg6.c:430:24: got void *[assigned] _res ../fs/dlm/lock.c:345:1: warning: context imbalance in 'dlm_refcount_dec_and_write_lock_bh' - wrong count at exit ../fs/dlm/lock.c:366:17: warning: context imbalance in 'put_rsb' - unexpected unlock ../fs/dlm/lock.c:366:17: warning: context imbalance in '__put_lkb' - unexpected unlock ../fs/dlm/lock.c:1885:31: warning: context imbalance in 'remove_from_waiters_ms' - unexpected unlock ../net/xfrm/xfrm_policy.c:4143:43: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_policy.c:4143:43: struct xfrm_policy_afinfo const [noderef] __rcu * ../net/xfrm/xfrm_policy.c:4143:43: struct xfrm_policy_afinfo const * ../net/xfrm/xfrm_policy.c:4229:29: warning: incorrect type in assignment (different address spaces) ../net/xfrm/xfrm_policy.c:4229:29: expected struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4229:29: got struct hlist_head * ../net/xfrm/xfrm_policy.c:4256:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4256:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4256:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4282:17: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4282:17: expected struct hlist_head const *h ../net/xfrm/xfrm_policy.c:4282:17: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4283:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4283:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4283:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:264:9: warning: context imbalance in 'xfrm_policy_get_afinfo' - different lock contexts for basic block ../net/xfrm/xfrm_policy.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in '__xfrm_dst_lookup' - unexpected unlock ../net/xfrm/xfrm_policy.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/rt.c:851:70: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/rt.c:851:70: struct task_struct [noderef] __rcu * ../kernel/sched/rt.c:851:70: struct task_struct * ../kernel/sched/rt.c:2336:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/rt.c:2336:25: struct task_struct * ../kernel/sched/rt.c:2336:25: struct task_struct [noderef] __rcu * ../kernel/sched/rt.c:531:55: warning: incorrect type in initializer (different address spaces) ../kernel/sched/rt.c:531:55: expected struct task_struct *donor ../kernel/sched/rt.c:531:55: got struct task_struct [noderef] __rcu *donor ../kernel/sched/rt.c:991:39: warning: incorrect type in initializer (different address spaces) ../kernel/sched/rt.c:991:39: expected struct task_struct *donor ../kernel/sched/rt.c:991:39: got struct task_struct [noderef] __rcu *donor ../kernel/sched/rt.c:1529:31: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/rt.c:1529:31: expected struct task_struct *p ../kernel/sched/rt.c:1529:31: got struct task_struct [noderef] __rcu *curr ../kernel/sched/rt.c:1849:9: warning: incorrect type in assignment (different address spaces) ../kernel/sched/rt.c:1849:9: expected struct sched_domain *[assigned] sd ../kernel/sched/rt.c:1849:9: got struct sched_domain [noderef] __rcu *parent ../kernel/sched/rt.c:1549:14: warning: incorrect type in assignment (different address spaces) ../kernel/sched/rt.c:1549:14: expected struct task_struct *curr ../kernel/sched/rt.c:1549:14: got struct task_struct [noderef] __rcu * ../kernel/sched/rt.c:1550:15: warning: incorrect type in assignment (different address spaces) ../kernel/sched/rt.c:1550:15: expected struct task_struct *donor ../kernel/sched/rt.c:1550:15: got struct task_struct [noderef] __rcu * ../kernel/sched/rt.c:1611:45: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/rt.c:1611:45: expected struct task_struct *p ../kernel/sched/rt.c:1611:45: got struct task_struct [noderef] __rcu *donor ../kernel/sched/rt.c:1654:39: warning: incorrect type in initializer (different address spaces) ../kernel/sched/rt.c:1654:39: expected struct task_struct *donor ../kernel/sched/rt.c:1654:39: got struct task_struct [noderef] __rcu *donor ../kernel/sched/rt.c:1674:64: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/rt.c:1674:64: expected struct task_struct *tsk ../kernel/sched/rt.c:1674:64: got struct task_struct [noderef] __rcu *curr ../kernel/sched/rt.c:2018:40: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/rt.c:2018:40: expected struct task_struct *task ../kernel/sched/rt.c:2018:40: got struct task_struct [noderef] __rcu *curr ../kernel/sched/rt.c:2041:13: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/rt.c:2041:13: struct task_struct * ../kernel/sched/rt.c:2041:13: struct task_struct [noderef] __rcu * ../kernel/sched/rt.c:2387:54: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/rt.c:2387:54: expected struct task_struct *tsk ../kernel/sched/rt.c:2387:54: got struct task_struct [noderef] __rcu *curr ../kernel/sched/rt.c:2389:40: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/rt.c:2389:40: expected struct task_struct *p ../kernel/sched/rt.c:2389:40: got struct task_struct [noderef] __rcu *donor ../kernel/sched/rt.c:2389:62: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/rt.c:2389:62: expected struct task_struct *p ../kernel/sched/rt.c:2389:62: got struct task_struct [noderef] __rcu *donor ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/deadline.c:2719:23: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:2719:23: expected struct task_struct *p ../kernel/sched/deadline.c:2719:23: got struct task_struct [noderef] __rcu *donor ../kernel/sched/deadline.c:2729:13: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/deadline.c:2729:13: struct task_struct * ../kernel/sched/deadline.c:2729:13: struct task_struct [noderef] __rcu * ../kernel/sched/deadline.c:2835:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/deadline.c:2835:25: struct task_struct * ../kernel/sched/deadline.c:2835:25: struct task_struct [noderef] __rcu * ../kernel/sched/deadline.c:2359:42: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/deadline.c:2359:42: expected struct sched_dl_entity const *b ../kernel/sched/deadline.c:2359:42: got struct sched_dl_entity [noderef] __rcu * ../kernel/sched/deadline.c:2370:38: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:2370:38: expected struct task_struct *tsk ../kernel/sched/deadline.c:2370:38: got struct task_struct [noderef] __rcu *curr ../kernel/sched/deadline.c:1262:39: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:1262:39: expected struct task_struct *p ../kernel/sched/deadline.c:1262:39: got struct task_struct [noderef] __rcu *curr ../kernel/sched/deadline.c:1262:85: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/deadline.c:1262:85: expected struct sched_dl_entity const *b ../kernel/sched/deadline.c:1262:85: got struct sched_dl_entity [noderef] __rcu * ../kernel/sched/deadline.c:1362:23: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:1362:23: expected struct task_struct *p ../kernel/sched/deadline.c:1362:23: got struct task_struct [noderef] __rcu *donor ../kernel/sched/deadline.c:1672:31: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:1672:31: expected struct task_struct *p ../kernel/sched/deadline.c:1672:31: got struct task_struct [noderef] __rcu *curr ../kernel/sched/deadline.c:1672:70: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/deadline.c:1672:70: expected struct sched_dl_entity const *b ../kernel/sched/deadline.c:1672:70: got struct sched_dl_entity [noderef] __rcu * ../kernel/sched/deadline.c:1761:39: warning: incorrect type in initializer (different address spaces) ../kernel/sched/deadline.c:1761:39: expected struct task_struct *donor ../kernel/sched/deadline.c:1761:39: got struct task_struct [noderef] __rcu *donor ../kernel/sched/deadline.c:2580:9: warning: incorrect type in assignment (different address spaces) ../kernel/sched/deadline.c:2580:9: expected struct sched_domain *[assigned] sd ../kernel/sched/deadline.c:2580:9: got struct sched_domain [noderef] __rcu *parent ../kernel/sched/deadline.c:2244:14: warning: incorrect type in assignment (different address spaces) ../kernel/sched/deadline.c:2244:14: expected struct task_struct *curr ../kernel/sched/deadline.c:2244:14: got struct task_struct [noderef] __rcu * ../kernel/sched/deadline.c:2245:15: warning: incorrect type in assignment (different address spaces) ../kernel/sched/deadline.c:2245:15: expected struct task_struct *donor ../kernel/sched/deadline.c:2245:15: got struct task_struct [noderef] __rcu * ../kernel/sched/deadline.c:2320:43: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/deadline.c:2320:43: expected struct task_struct *p ../kernel/sched/deadline.c:2320:43: got struct task_struct [noderef] __rcu *donor ../kernel/sched/deadline.c:2880:38: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:2880:38: expected struct task_struct *tsk ../kernel/sched/deadline.c:2880:38: got struct task_struct [noderef] __rcu *curr ../kernel/sched/deadline.c:2882:23: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/deadline.c:2882:23: expected struct task_struct *p ../kernel/sched/deadline.c:2882:23: got struct task_struct [noderef] __rcu *donor ../kernel/sched/deadline.c:2884:44: warning: incorrect type in argument 2 (different address spaces) ../kernel/sched/deadline.c:2884:44: expected struct sched_dl_entity const *b ../kernel/sched/deadline.c:2884:44: got struct sched_dl_entity [noderef] __rcu * ../kernel/sched/deadline.c:3069:23: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/deadline.c:3069:23: struct task_struct [noderef] __rcu * ../kernel/sched/deadline.c:3069:23: struct task_struct * ../kernel/sched/deadline.c:3118:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/syscalls.c:206:22: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/syscalls.c:206:22: struct task_struct [noderef] __rcu * ../kernel/sched/syscalls.c:206:22: struct task_struct * ../kernel/sched/syscalls.c:253:48: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/syscalls.c:253:48: struct task_struct [noderef] __rcu * ../kernel/sched/syscalls.c:253:48: struct task_struct * ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/sched.h:2288:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2288:25: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2288:25: struct task_struct * ../kernel/sched/sched.h:2288:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2288:25: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2288:25: struct task_struct * ../kernel/sched/sched.h:2299:26: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2299:26: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2299:26: struct task_struct * ../kernel/sched/sched.h:2288:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2288:25: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2288:25: struct task_struct * ../kernel/sched/sched.h:2299:26: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2299:26: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2299:26: struct task_struct * ../kernel/sched/sched.h:2288:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2288:25: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2288:25: struct task_struct * ../kernel/sched/sched.h:2288:25: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2288:25: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2288:25: struct task_struct * ../kernel/sched/sched.h:2299:26: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2299:26: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2299:26: struct task_struct * ../kernel/sched/sched.h:2299:26: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2299:26: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2299:26: struct task_struct * ../kernel/sched/sched.h:2488:9: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2488:9: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2488:9: struct task_struct * ../kernel/sched/sched.h:2299:26: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2299:26: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2299:26: struct task_struct * ../kernel/sched/sched.h:2488:9: error: incompatible types in comparison expression (different address spaces): ../kernel/sched/sched.h:2488:9: struct task_struct [noderef] __rcu * ../kernel/sched/sched.h:2488:9: struct task_struct * ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/syscalls.c:1295:6: warning: context imbalance in 'sched_getaffinity' - different lock contexts for basic block ../kernel/sched/build_policy.c: note: in included file: ../kernel/sched/rt.c:1699:15: warning: dereference of noderef expression ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../fs/dlm/debug_fs.c:416:9: warning: context imbalance in 'table_seq_start' - wrong count at exit ../fs/dlm/debug_fs.c:433:13: warning: context imbalance in 'table_seq_stop' - unexpected unlock ../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../net/atm/lec.c:889:39: warning: context imbalance in 'lec_priv_walk' - unexpected unlock ../net/atm/lec.c:945:39: warning: context imbalance in 'lec_seq_stop' - unexpected unlock ../net/ipv4/ipmr.c:2944:13: warning: context imbalance in 'ipmr_vif_seq_start' - different lock contexts for basic block ../net/ipv4/ipmr.c: note: in included file (through ../include/linux/mroute.h): ../include/linux/mroute_base.h:432:31: warning: context imbalance in 'mr_mfc_seq_stop' - unexpected unlock ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../net/ipv6/ip6mr.c:433:13: warning: context imbalance in 'ip6mr_vif_seq_start' - different lock contexts for basic block ../net/ipv6/ip6mr.c: note: in included file (through ../include/linux/mroute6.h): ../include/linux/mroute_base.h:432:31: warning: context imbalance in 'mr_mfc_seq_stop' - unexpected unlock ../net/rds/af_rds.c:245:22: warning: invalid assignment: |= ../net/rds/af_rds.c:245:22: left side has type restricted __poll_t ../net/rds/af_rds.c:245:22: right side has type int ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2620: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=] 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2620:52: note: directive argument in the range [-2147483639, 2147483646] 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2620:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2621 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../net/sctp/input.c:460:13: warning: context imbalance in 'sctp_err_lookup' - different lock contexts for basic block ../net/sctp/input.c:632:9: warning: context imbalance in 'sctp_v4_err' - unexpected unlock ../net/sctp/input.c:657:17: warning: context imbalance in 'sctp_udp_v4_err' - unexpected unlock ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/rds/connection.c:71:31: warning: incorrect type in argument 1 (different base types) ../net/rds/connection.c:71:31: expected restricted __be32 const [usertype] laddr ../net/rds/connection.c:71:31: got unsigned int [assigned] [usertype] lhash ../net/rds/connection.c:71:41: warning: incorrect type in argument 3 (different base types) ../net/rds/connection.c:71:41: expected restricted __be32 const [usertype] faddr ../net/rds/connection.c:71:41: got unsigned int [assigned] [usertype] fhash ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:222:44: warning: cast to restricted __be32 ../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2895: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/core/filter.c:1423:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1423:39: expected struct sock_filter const *filter ../net/core/filter.c:1423:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1501:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1501:39: expected struct sock_filter const *filter ../net/core/filter.c:1501:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2323:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2323:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2323:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3923:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4655:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5069:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7985:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11956:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11972:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11988:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12009:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12106:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12228:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1931:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1931:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1931:43: got unsigned long long [usertype] to ../net/core/filter.c:1934:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1934:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1934:36: got unsigned long long [usertype] from ../net/core/filter.c:1934:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1934:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1934:42: got unsigned long long [usertype] to ../net/core/filter.c:1937:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1937:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1937:36: got unsigned long long [usertype] from ../net/core/filter.c:1937:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1937:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1937:42: got unsigned long long [usertype] to ../net/core/filter.c:1982:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1982:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1982:59: got unsigned long long [usertype] to ../net/core/filter.c:1985:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1985:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1985:52: got unsigned long long [usertype] from ../net/core/filter.c:1985:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1985:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1985:58: got unsigned long long [usertype] to ../net/core/filter.c:1988:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1988:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1988:52: got unsigned long long [usertype] from ../net/core/filter.c:1988:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1988:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1988:58: got unsigned long long [usertype] to ../net/core/filter.c:2055:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2055:35: expected unsigned long long ../net/core/filter.c:2055:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5905:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5905:17: expected unsigned int [usertype] spi ../net/core/filter.c:5905:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5913:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5913:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5913:33: got restricted __be32 const [usertype] a4 ../net/core/dev.c:3606:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3606:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3606:23: got unsigned int ../net/core/dev.c:3606:23: warning: cast from restricted __wsum ../net/core/dev.c:5570:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4058:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5528:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../fs/nfsd/filecache.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/huge_mm.h, ../include/linux/mm.h, ...): ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../net/sctp/socket.c:8505:23: warning: context imbalance in 'sctp_get_port_local' - unexpected unlock ../net/bridge/br_multicast.c: note: in included file (through ../include/linux/igmp.h): ../include/uapi/linux/igmp.h:60:32: warning: array of flexible structures ../net/bridge/br_multicast.c: note: in included file: ../include/net/mld.h:32:43: warning: array of flexible structures ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 ../net/rds/send.c:1050:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1050:24: expected unsigned int [usertype] a ../net/rds/send.c:1050:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1052:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1052:24: expected unsigned int [usertype] a ../net/rds/send.c:1052:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1457:30: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1457:30: expected unsigned short [usertype] npaths ../net/rds/send.c:1457:30: got restricted __be16 [usertype] ../net/rds/send.c:1458:34: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1458:34: expected unsigned int [usertype] my_gen_num ../net/rds/send.c:1458:34: got restricted __be32 [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/marvell/octeontx2/nic/otx2_common.c:33:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:36:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:46:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:49:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:865:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:599:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: got void [noderef] __iomem * ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2933:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2933:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2933:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2978:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3038:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3038:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3038:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3042:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3042:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3042:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3044:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3044:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3044:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3046:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3046:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3046:36: got int ../net/netfilter/nf_tables_api.c:2017:25: warning: cast between address spaces (__percpu -> __rcu) ../net/netfilter/nf_tables_api.c:2017:25: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_tables_api.c:2017:25: struct nft_stats [noderef] __rcu * ../net/netfilter/nf_tables_api.c:2017:25: struct nft_stats [noderef] __percpu * ../net/netfilter/nf_tables_api.c:2219:17: warning: cast between address spaces (__percpu -> __rcu) ../net/netfilter/nf_tables_api.c:2219:17: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_tables_api.c:2219:17: struct nft_stats [noderef] __rcu * ../net/netfilter/nf_tables_api.c:2219:17: struct nft_stats [noderef] __percpu * ../net/netfilter/nf_tables_api.c:2219:17: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_tables_api.c:2219:17: struct nft_stats [noderef] __rcu * ../net/netfilter/nf_tables_api.c:2219:17: struct nft_stats [noderef] __percpu * ../net/netfilter/nf_tables_api.c:2262:21: warning: cast between address spaces (__percpu -> __rcu) ../net/netfilter/nf_tables_api.c:2262:21: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_tables_api.c:2262:21: struct nft_stats [noderef] __rcu * ../net/netfilter/nf_tables_api.c:2262:21: struct nft_stats [noderef] __percpu * ../net/netfilter/nf_tables_api.c:2648:25: warning: cast between address spaces (__percpu -> __rcu) ../net/netfilter/nf_tables_api.c:2648:25: error: incompatible types in comparison expression (different address spaces): ../net/netfilter/nf_tables_api.c:2648:25: struct nft_stats [noderef] __rcu * ../net/netfilter/nf_tables_api.c:2648:25: struct nft_stats [noderef] __percpu * ../net/netfilter/nf_tables_api.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ...): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'nft_netlink_dump_start_rcu' - unexpected unlock ../net/netfilter/nf_tables_offload.c:249:24: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_tables_offload.c:249:24: expected restricted __be16 [usertype] proto ../net/netfilter/nf_tables_offload.c:249:24: got int ../net/bridge/br_netfilter_hooks.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/rds/tcp_listen.c:301:33: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:301:33: expected restricted __be16 [usertype] sin6_port ../net/rds/tcp_listen.c:301:33: got unsigned short [usertype] ../net/rds/tcp_listen.c:308:38: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:308:38: expected restricted __be32 [usertype] s_addr ../net/rds/tcp_listen.c:308:38: got unsigned long ../net/rds/tcp_listen.c:309:31: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:309:31: expected restricted __be16 [usertype] sin_port ../net/rds/tcp_listen.c:309:31: got unsigned short [usertype] ../net/netfilter/nft_set_rbtree.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ../include/linux/module.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../net/netfilter/nft_compat.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ...): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'nfnl_compat_get_rcu' - unexpected unlock ../fs/nfsd/nfs4state.c: note: in included file (through ../include/linux/wait.h, ../include/linux/wait_bit.h, ../include/linux/fs.h): ../include/linux/list.h:229:25: warning: context imbalance in 'put_clnt_odstate' - unexpected unlock ../fs/nfsd/nfs4state.c:1203:9: warning: context imbalance in 'nfs4_put_stid' - unexpected unlock ../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:4474:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/vxlan/vxlan_core.c:392:34: warning: incorrect type in argument 2 (different base types) ../drivers/net/vxlan/vxlan_core.c:392:34: expected unsigned int [usertype] b ../drivers/net/vxlan/vxlan_core.c:392:34: got restricted __be32 [usertype] vni ../fs/bcachefs/acl.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/bkey_methods.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/bkey_sort.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/bkey.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../drivers/net/ethernet/sfc/tx.c:495:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../fs/bcachefs/alloc_foreground.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/backpointers.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../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 ../fs/gfs2/lops.c:210:22: warning: cast from restricted blk_status_t ../fs/bcachefs/btree_cache.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_gc.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/bset.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/alloc_background.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../drivers/net/ethernet/intel/ice/ice_ptp.c:301:5: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1623:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2826:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: got int ../fs/bcachefs/btree_journal_iter.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_journal_iter.c:384:34: warning: incorrect type in initializer (different address spaces) ../fs/bcachefs/btree_journal_iter.c:384:34: expected struct journal_key_range_overwritten *prev_range ../fs/bcachefs/btree_journal_iter.c:384:34: got struct journal_key_range_overwritten [noderef] __rcu * ../fs/bcachefs/btree_journal_iter.c:386:34: warning: incorrect type in initializer (different address spaces) ../fs/bcachefs/btree_journal_iter.c:386:34: expected struct journal_key_range_overwritten *next_range ../fs/bcachefs/btree_journal_iter.c:386:34: got struct journal_key_range_overwritten [noderef] __rcu * ../fs/bcachefs/btree_journal_iter.c:394:51: warning: incorrect type in assignment (different address spaces) ../fs/bcachefs/btree_journal_iter.c:394:51: expected struct journal_key_range_overwritten [noderef] __rcu *overwritten_range ../fs/bcachefs/btree_journal_iter.c:394:51: got struct journal_key_range_overwritten *prev_range ../fs/bcachefs/btree_journal_iter.c:397:25: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_journal_iter.c:397:25: struct journal_key_range_overwritten [noderef] __rcu * ../fs/bcachefs/btree_journal_iter.c:397:25: struct journal_key_range_overwritten * ../fs/bcachefs/btree_journal_iter.c:670:32: warning: incorrect type in argument 1 (different address spaces) ../fs/bcachefs/btree_journal_iter.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/btree_journal_iter.c:141:9: warning: context imbalance in 'bch2_journal_keys_peek_prev_min' - different lock contexts for basic block ../fs/gfs2/glock.c: note: in included file: ../fs/gfs2/glock.h:160:36: warning: context imbalance in '__gfs2_glock_put' - unexpected unlock ../fs/gfs2/glock.c:286:17: warning: context imbalance in '__gfs2_glock_put_or_lock' - unexpected unlock ../fs/gfs2/glock.c:320:9: warning: context imbalance in 'gfs2_glock_put_async' - unexpected unlock ../fs/gfs2/glock.c:1062:13: warning: context imbalance in 'glock_work_func' - different lock contexts for basic block ../fs/gfs2/glock.c:1260: warning: Function parameter or struct member 'ip' not described in '__gfs2_holder_init' ../fs/bcachefs/btree_io.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../fs/bcachefs/btree_key_cache.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_key_cache.c:825:9: warning: dereference of noderef expression ../fs/bcachefs/btree_node_scan.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/buckets_waiting_for_journal.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_locking.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_locking.c:316:36: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_locking.c:316:36: struct btree_path [noderef] __rcu * ../fs/bcachefs/btree_locking.c:316:36: struct btree_path * ../fs/bcachefs/btree_write_buffer.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_write_buffer.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/btree_update.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/bcachefs/btree_trans_commit.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_trans_commit.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/checksum.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_iter.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_iter.c:1700:9: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_iter.c:1700:9: unsigned long [noderef] __rcu * ../fs/bcachefs/btree_iter.c:1700:9: unsigned long * ../fs/bcachefs/btree_iter.c:1701:9: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_iter.c:1701:9: struct btree_path [noderef] __rcu * ../fs/bcachefs/btree_iter.c:1701:9: struct btree_path * ../fs/bcachefs/btree_iter.c:1702:9: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_iter.c:1702:9: unsigned short [noderef] __rcu * ../fs/bcachefs/btree_iter.c:1702:9: unsigned short [usertype] * ../fs/bcachefs/btree_iter.c:1703:9: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_iter.c:1703:9: struct btree_insert_entry [noderef] __rcu * ../fs/bcachefs/btree_iter.c:1703:9: struct btree_insert_entry * ../fs/bcachefs/btree_iter.c:3558:36: error: incompatible types in comparison expression (different address spaces): ../fs/bcachefs/btree_iter.c:3558:36: struct btree_path [noderef] __rcu * ../fs/bcachefs/btree_iter.c:3558:36: struct btree_path * ../fs/bcachefs/btree_iter.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:357:9: warning: context imbalance in 'bch2_trans_srcu_unlock' - unexpected unlock ../fs/bcachefs/btree_iter.c:3224:9: warning: context imbalance in 'bch2_trans_srcu_lock' - different lock contexts for basic block ../fs/bcachefs/btree_iter.c:3461:9: warning: context imbalance in 'bch2_trans_put' - different lock contexts for basic block ../fs/gfs2/inode.c:1880:14: error: incompatible types in comparison expression (different address spaces): ../fs/gfs2/inode.c:1880:14: struct gfs2_glock [noderef] __rcu * ../fs/gfs2/inode.c:1880:14: struct gfs2_glock * ../fs/gfs2/quota.c: note: in included file (through ../include/linux/dcache.h, ../include/linux/fs.h, ../include/linux/huge_mm.h, ../include/linux/mm.h): ../include/linux/rculist_bl.h:24:33: error: incompatible types in comparison expression (different address spaces): ../include/linux/rculist_bl.h:24:33: struct hlist_bl_node [noderef] __rcu * ../include/linux/rculist_bl.h:24:33: struct hlist_bl_node * ../include/linux/rculist_bl.h:17:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rculist_bl.h:17:9: struct hlist_bl_node [noderef] __rcu * ../include/linux/rculist_bl.h:17:9: struct hlist_bl_node * ../include/linux/rculist_bl.h:17:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rculist_bl.h:17:9: struct hlist_bl_node [noderef] __rcu * ../include/linux/rculist_bl.h:17:9: struct hlist_bl_node * ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../fs/bcachefs/chardev.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/chardev.c: note: in included file: ../fs/bcachefs/bcachefs_ioctl.h:290:43: warning: array of flexible structures ../fs/bcachefs/bcachefs_ioctl.h:443:44: warning: array of flexible structures ../fs/bcachefs/compress.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/buckets.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/btree_update_interior.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/gfs2/super.c:1547:17: error: incompatible types in comparison expression (different address spaces): ../fs/gfs2/super.c:1547:17: struct gfs2_glock [noderef] __rcu * ../fs/gfs2/super.c:1547:17: struct gfs2_glock * ../fs/gfs2/super.c:735: warning: Function parameter or struct member 'who' not described in 'gfs2_freeze_super' ../fs/gfs2/super.c:803: warning: Function parameter or struct member 'who' not described in 'gfs2_thaw_super' ../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/bcachefs/data_update.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../net/netfilter/nf_flow_table_ip.c: note: in included file (through ../include/linux/if_pppox.h, ../include/net/netfilter/nf_flow_table.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../fs/bcachefs/debug.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/disk_groups.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../net/netfilter/nf_flow_table_offload.c:45:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:45:32: expected restricted __be32 [usertype] keyid ../net/netfilter/nf_flow_table_offload.c:45:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:55:44: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:55:44: expected restricted __be32 [usertype] src ../net/netfilter/nf_flow_table_offload.c:55:44: got unsigned int ../net/netfilter/nf_flow_table_offload.c:57:44: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:57:44: expected restricted __be32 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:57:44: got unsigned int ../net/netfilter/nf_flow_table_offload.c:87:25: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:87:25: expected restricted __be16 [usertype] vlan_tpid ../net/netfilter/nf_flow_table_offload.c:87:25: got int ../net/netfilter/nf_flow_table_offload.c:150:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:150:32: expected restricted __be32 [usertype] src ../net/netfilter/nf_flow_table_offload.c:150:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:152:32: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:152:32: expected restricted __be32 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:152:32: got unsigned int ../net/netfilter/nf_flow_table_offload.c:167:29: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:167:29: expected restricted __be16 [usertype] n_proto ../net/netfilter/nf_flow_table_offload.c:167:29: got int ../net/netfilter/nf_flow_table_offload.c:193:30: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:193:30: expected restricted __be16 [usertype] src ../net/netfilter/nf_flow_table_offload.c:193:30: got int ../net/netfilter/nf_flow_table_offload.c:195:30: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:195:30: expected restricted __be16 [usertype] dst ../net/netfilter/nf_flow_table_offload.c:195:30: got int ../net/netfilter/nf_flow_table_offload.c:258:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:258:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:258:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:258:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:258:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:258:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:263:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:263:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:263:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:263:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:263:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:263:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:316:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:316:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:316:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:316:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:316:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:316:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:322:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:322:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:322:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:322:36: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:322:36: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:322:36: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:333:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:333:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:333:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:351:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:351:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:351:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:360:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:360:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:360:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:378:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:378:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:378:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:400:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:400:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:400:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:417:60: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:417:60: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:417:60: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:425:20: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:425:20: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:425:20: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:442:60: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:442:60: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:442:60: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:477:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:477:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:477:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:478:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:478:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:478:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:483:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:483:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:483:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:484:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:484:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:484:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:491:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:491:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:491:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:491:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:491:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:491:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:507:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:507:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:507:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:508:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:508:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:508:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:513:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:513:22: expected unsigned int [assigned] [usertype] port ../net/netfilter/nf_flow_table_offload.c:513:22: got restricted __be32 [usertype] ../net/netfilter/nf_flow_table_offload.c:514:22: warning: incorrect type in assignment (different base types) ../net/netfilter/nf_flow_table_offload.c:514:22: expected unsigned int [usertype] mask ../net/netfilter/nf_flow_table_offload.c:514:22: got restricted __be32 ../net/netfilter/nf_flow_table_offload.c:521:30: warning: incorrect type in argument 4 (different base types) ../net/netfilter/nf_flow_table_offload.c:521:30: expected restricted __be32 const [usertype] *value ../net/netfilter/nf_flow_table_offload.c:521:30: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:521:37: warning: incorrect type in argument 5 (different base types) ../net/netfilter/nf_flow_table_offload.c:521:37: expected restricted __be32 const [usertype] *mask ../net/netfilter/nf_flow_table_offload.c:521:37: got unsigned int * ../net/netfilter/nf_flow_table_offload.c:846:24: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_flow_table_offload.c:846:24: expected restricted __be16 [usertype] proto ../net/netfilter/nf_flow_table_offload.c:846:24: got int ../fs/bcachefs/dirent.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/cq.c:418:36: warning: context imbalance in 'c4iw_flush_hw_cq' - unexpected unlock ../drivers/infiniband/hw/cxgb4/cq.c:946:9: warning: context imbalance in 'c4iw_poll_cq_one' - different lock contexts for basic block ../net/netfilter/nf_flow_table_inet.c: note: in included file (through ../include/linux/if_pppox.h, ../include/net/netfilter/nf_flow_table.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/cm.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../fs/bcachefs/error.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/extent_update.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c:1623:39: warning: context imbalance in '__flush_qp' - different lock contexts for basic block ../fs/bcachefs/disk_accounting.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs-common.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs-ioctl.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/ec.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs-io-direct.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/extents.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../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 ../fs/bcachefs/fs-io.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs-io-buffered.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs-io-pagecache.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/fs.c:304:13: warning: context imbalance in '__wait_on_freeing_inode' - unexpected unlock ../fs/bcachefs/fs.c:320:30: warning: context imbalance in 'bch2_inode_hash_find' - wrong count at exit ../fs/bcachefs/journal_sb.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal_seq_blacklist.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/io_misc.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/logged_ops.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal_reclaim.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/inode.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/inode.c:819:9: warning: cast to restricted __le64 ../fs/bcachefs/inode.c:819:9: warning: cast from restricted __le32 ../fs/bcachefs/inode.c:997:35: warning: cast to restricted __le64 ../fs/bcachefs/inode.c:997:35: warning: cast from restricted __le32 ../fs/bcachefs/lru.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/journal.c:1131:9: warning: context imbalance in '__bch2_set_nr_journal_buckets' - different lock contexts for basic block ../fs/bcachefs/io_write.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/io_read.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/io_write.c:1608: warning: Function parameter or struct member 'bch2_write' not described in 'CLOSURE_CALLBACK' ../fs/bcachefs/io_write.c:1608: warning: expecting prototype for bch2_write(). Prototype was for CLOSURE_CALLBACK() instead ../fs/bcachefs/nocow_locking.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/migrate.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../fs/bcachefs/journal_io.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/journal_io.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/journal_io.c:1459:55: warning: cast to restricted __le64 ../fs/bcachefs/journal_io.c:1554:86: warning: incorrect type in argument 4 (different base types) ../fs/bcachefs/journal_io.c:1554:86: expected unsigned long long [usertype] seq ../fs/bcachefs/journal_io.c:1554:86: got restricted __le64 [usertype] seq ../fs/bcachefs/journal_io.c:2114:9: warning: context imbalance in 'bch2_journal_write' - different lock contexts for basic block ../fs/bcachefs/fsck.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/opts.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/movinggc.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/quota.c:117:9: warning: unknown escape sequence: '\%' ../fs/bcachefs/quota.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/recovery_passes.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/move.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/rebalance.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/sb-counters.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/recovery.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/recovery.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:621:38: warning: array of flexible structures ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/sb-clean.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/sb-clean.c: note: in included file (through ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/bcachefs_format.h:621:38: warning: array of flexible structures ../fs/bcachefs/bcachefs_format.h:1279:38: warning: array of flexible structures ../fs/bcachefs/sb-downgrade.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/sb-downgrade.c: note: in included file (through ../fs/bcachefs/bcachefs_format.h, ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/sb-downgrade_format.h:14:52: warning: array of flexible structures ../fs/bcachefs/sb-errors.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/replicas.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/replicas.c: note: in included file (through ../fs/bcachefs/disk_accounting_format.h, ../fs/bcachefs/bcachefs_format.h, ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/replicas_format.h:25:45: warning: array of flexible structures ../fs/bcachefs/replicas_format.h:13:45: warning: array of flexible structures ../fs/bcachefs/reflink.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/sb-members.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/str_hash.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/xfs/xfs_icache.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h, ../fs/xfs/xfs_linux.h, ../fs/xfs/xfs.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'xfs_iget_recycle' - unexpected unlock ../fs/xfs/xfs_icache.c:606:28: warning: context imbalance in 'xfs_iget_cache_hit' - different lock contexts for basic block ../fs/bcachefs/subvolume.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/tests.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/super-io.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/super-io.c: note: in included file (through ../fs/bcachefs/bcachefs_format.h, ../fs/bcachefs/bcachefs.h): ../fs/bcachefs/sb-downgrade_format.h:14:52: warning: array of flexible structures ../fs/bcachefs/super-io.c:539:19: warning: cast to restricted __le32 ../fs/bcachefs/super-io.c:538:19: warning: cast to restricted __le64 ../fs/bcachefs/xattr.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/super.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/snapshot.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/bcachefs/sysfs.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../drivers/infiniband/hw/hfi1/tid_rdma.c:2375:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:2376:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:4236:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:4237:9: warning: dubious: !x & y ../fs/bcachefs/trace.c: note: in included file: ../fs/bcachefs/bcachefs.h:997:9: warning: array of flexible structures ../fs/xfs/xfs_qm.c:459:1: warning: context imbalance in 'xfs_qm_dquot_isolate' - different lock contexts for basic block ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?