========== build_allmodconfig_warn - FAILED ../net/bpf/test_run.c:521:17: warning: symbol 'bpf_fentry_test1' was not declared. Should it be static? ../net/bpf/test_run.c:527:14: warning: symbol 'bpf_fentry_test2' was not declared. Should it be static? ../net/bpf/test_run.c:532:14: warning: symbol 'bpf_fentry_test3' was not declared. Should it be static? ../net/bpf/test_run.c:537:14: warning: symbol 'bpf_fentry_test4' was not declared. Should it be static? ../net/bpf/test_run.c:542:14: warning: symbol 'bpf_fentry_test5' was not declared. Should it be static? ../net/bpf/test_run.c:547:14: warning: symbol 'bpf_fentry_test6' was not declared. Should it be static? ../net/bpf/test_run.c:556:14: warning: symbol 'bpf_fentry_test7' was not declared. Should it be static? ../net/bpf/test_run.c:562:14: warning: symbol 'bpf_fentry_test8' was not declared. Should it be static? ../net/bpf/test_run.c:567:17: warning: symbol 'bpf_fentry_test9' was not declared. Should it be static? ../net/bpf/test_run.c:572:14: warning: symbol 'bpf_fentry_test10' was not declared. Should it be static? ../net/bpf/test_run.c:577:15: warning: symbol 'bpf_fentry_test_sinfo' was not declared. Should it be static? ../net/bpf/test_run.c:581:17: warning: symbol 'bpf_modify_return_test' was not declared. Should it be static? ../net/bpf/test_run.c:587:17: warning: symbol 'bpf_modify_return_test2' was not declared. Should it be static? ../net/bpf/test_run.c:594:17: warning: symbol 'bpf_modify_return_test_tp' was not declared. Should it be static? ../net/bpf/test_run.c:601:14: warning: symbol 'bpf_fentry_shadow_test' was not declared. Should it be static? ../net/bpf/test_run.c:623:18: warning: symbol 'bpf_kfunc_call_test_release' was not declared. Should it be static? ../net/bpf/test_run.c:628:18: warning: symbol 'bpf_kfunc_call_test_release_dtor' was not declared. Should it be static? ../net/bpf/test_run.c:634:18: warning: symbol 'bpf_kfunc_call_memb_release' was not declared. Should it be static? ../net/bpf/test_run.c:638:18: warning: symbol 'bpf_kfunc_call_memb_release_dtor' was not declared. Should it be static? ../net/core/dev.c:5730:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4158:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5688:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../net/bluetooth/af_bluetooth.c:248:25: warning: context imbalance in 'bt_accept_enqueue' - different lock contexts for basic block ../net/core/netdev-genl.c: In function ‘netdev_nl_bind_queue_doit’: ../net/core/netdev-genl.c:1125:1: error: control reaches end of non-void function [-Werror=return-type] 1125 | } | ^ cc1: some warnings being treated as errors make[5]: *** [../scripts/Makefile.build:287: net/core/netdev-genl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../net/core/netpoll.c:354:25: warning: context imbalance in '__netpoll_send_skb' - different lock contexts for basic block ../net/sunrpc/xprt.c:1710:9: warning: context imbalance in 'xprt_dynamic_alloc_slot' - unexpected unlock ../net/can/j1939/main.c: note: in included file (through ../include/linux/can/can-ml.h): ../include/linux/netdevice.h:2693:20: warning: context imbalance in '__j1939_rx_release' - wrong count at exit ../net/phonet/socket.c:726:21: warning: context imbalance in 'pn_res_seq_start' - wrong count at exit ../net/phonet/socket.c:741:13: warning: context imbalance in 'pn_res_seq_stop' - wrong count at exit ../net/sunrpc/clnt.c:3340:9: warning: cast removes address space '__rcu' of expression ../net/bluetooth/hci_core.c:85:9: warning: context imbalance in '__hci_dev_get' - different lock contexts for basic block ../net/bluetooth/hci_core.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:373:9: warning: context imbalance in 'hci_dev_put_srcu' - unexpected unlock ../net/rxrpc/conn_service.c:56:9: warning: context imbalance in 'rxrpc_find_service_conn_rcu' - different lock contexts for basic block ../net/rxrpc/conn_service.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 * ../net/sunrpc/auth.c:628:34: warning: incorrect type in initializer (different address spaces) ../net/sunrpc/auth.c:628:34: expected struct cred const *cred ../net/sunrpc/auth.c:628:34: got struct cred const [noderef] __rcu *extern [addressable] [toplevel] cred ../net/caif/cfmuxl.c:127:14: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:127:14: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:127:14: struct cflayer * ../net/caif/cfmuxl.c:131:17: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:131:17: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:131:17: struct cflayer * ../net/caif/cfmuxl.c:111:9: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:111:9: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:111:9: struct cflayer * ../net/caif/cfmuxl.c:141:14: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:141:14: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:141:14: struct cflayer * ../net/caif/cfmuxl.c:145:17: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:145:17: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:145:17: struct cflayer * ../net/caif/cfmuxl.c:167:9: error: incompatible types in comparison expression (different address spaces): ../net/caif/cfmuxl.c:167:9: struct cflayer [noderef] __rcu * ../net/caif/cfmuxl.c:167:9: struct cflayer * ../net/caif/cffrml.c:92:15: warning: cast to restricted __le16 ../net/caif/cffrml.c:110:27: warning: cast to restricted __le16 ../net/sctp/sm_make_chunk.c:3077:48: warning: incorrect type in argument 2 (different base types) ../net/sctp/sm_make_chunk.c:3077:48: expected int optname ../net/sctp/sm_make_chunk.c:3077:48: got restricted __be16 ../net/sctp/sm_make_chunk.c:3149:48: warning: incorrect type in argument 2 (different base types) ../net/sctp/sm_make_chunk.c:3149:48: expected int optname ../net/sctp/sm_make_chunk.c:3149:48: got restricted __be16 ../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): ../include/net/bluetooth/hci.h:2657:47: warning: array of flexible structures ../include/net/bluetooth/hci.h:2743:43: warning: array of flexible structures ../net/caif/caif_usb.c:110:32: warning: restricted __be16 degrades to integer ../net/caif/caif_usb.c:111:33: warning: restricted __be16 degrades to integer make[4]: *** [../scripts/Makefile.build:556: net/core] Error 2 make[4]: *** Waiting for unfinished jobs.... ../net/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:153:35: warning: array of flexible structures ../net/sunrpc/sysfs.c:405:9: error: incompatible types in comparison expression (different address spaces): ../net/sunrpc/sysfs.c:405:9: char const [noderef] __rcu * ../net/sunrpc/sysfs.c:405:9: char const * ../net/atm/lec.c:895:39: warning: context imbalance in 'lec_priv_walk' - unexpected unlock ../net/atm/lec.c:951:39: warning: context imbalance in 'lec_seq_stop' - unexpected unlock ../net/atm/mpc.c:123:20: warning: symbol 'mpcs' was not declared. Should it be static? ../net/sunrpc/debugfs.c:78:21: warning: cast removes address space '__rcu' of expression ../net/sctp/input.c:460:13: warning: context imbalance in 'sctp_err_lookup' - different lock contexts for basic block ../net/sctp/input.c:632:9: warning: context imbalance in 'sctp_v4_err' - unexpected unlock ../net/sctp/input.c:657:17: warning: context imbalance in 'sctp_udp_v4_err' - unexpected unlock ../net/bluetooth/sco.c: note: in included file: ../include/net/bluetooth/hci_core.h:153:35: warning: array of flexible structures ../net/nfc/nci/core.c: note: in included file: ../include/net/nfc/nci.h:263:56: warning: array of flexible structures ../net/sctp/socket.c:8493:23: warning: context imbalance in 'sctp_get_port_local' - unexpected unlock make[3]: *** [../scripts/Makefile.build:556: net] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2011: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../net/core/netdev-genl.c: In function ‘netdev_nl_bind_queue_doit’: ../net/core/netdev-genl.c:1125:1: error: control reaches end of non-void function [-Werror=return-type] 1125 | } | ^ cc1: some warnings being treated as errors make[5]: *** [../scripts/Makefile.build:287: net/core/netdev-genl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../net/core/lwtunnel.c:217:60: warning: incorrect type in initializer (different address spaces) ../net/core/lwtunnel.c:217:60: expected struct lwtunnel_encap_ops const *ops ../net/core/lwtunnel.c:217:60: got struct lwtunnel_encap_ops const [noderef] __rcu * ../net/bpf/test_run.c:521:17: warning: symbol 'bpf_fentry_test1' was not declared. Should it be static? ../net/bpf/test_run.c:527:14: warning: symbol 'bpf_fentry_test2' was not declared. Should it be static? ../net/bpf/test_run.c:532:14: warning: symbol 'bpf_fentry_test3' was not declared. Should it be static? ../net/bpf/test_run.c:537:14: warning: symbol 'bpf_fentry_test4' was not declared. Should it be static? ../net/bpf/test_run.c:542:14: warning: symbol 'bpf_fentry_test5' was not declared. Should it be static? ../net/bpf/test_run.c:547:14: warning: symbol 'bpf_fentry_test6' was not declared. Should it be static? ../net/bpf/test_run.c:556:14: warning: symbol 'bpf_fentry_test7' was not declared. Should it be static? ../net/bpf/test_run.c:562:14: warning: symbol 'bpf_fentry_test8' was not declared. Should it be static? ../net/bpf/test_run.c:567:17: warning: symbol 'bpf_fentry_test9' was not declared. Should it be static? ../net/bpf/test_run.c:572:14: warning: symbol 'bpf_fentry_test10' was not declared. Should it be static? ../net/bpf/test_run.c:577:15: warning: symbol 'bpf_fentry_test_sinfo' was not declared. Should it be static? ../net/bpf/test_run.c:581:17: warning: symbol 'bpf_modify_return_test' was not declared. Should it be static? ../net/bpf/test_run.c:587:17: warning: symbol 'bpf_modify_return_test2' was not declared. Should it be static? ../net/bpf/test_run.c:594:17: warning: symbol 'bpf_modify_return_test_tp' was not declared. Should it be static? ../net/bpf/test_run.c:601:14: warning: symbol 'bpf_fentry_shadow_test' was not declared. Should it be static? ../net/bpf/test_run.c:623:18: warning: symbol 'bpf_kfunc_call_test_release' was not declared. Should it be static? ../net/bpf/test_run.c:628:18: warning: symbol 'bpf_kfunc_call_test_release_dtor' was not declared. Should it be static? ../net/bpf/test_run.c:634:18: warning: symbol 'bpf_kfunc_call_memb_release' was not declared. Should it be static? ../net/bpf/test_run.c:638:18: warning: symbol 'bpf_kfunc_call_memb_release_dtor' was not declared. Should it be static? ../net/core/bpf_sk_storage.c:338:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/bpf_sk_storage.c:695:38: warning: context imbalance in 'bpf_sk_storage_map_seq_find_next' - different lock contexts for basic block ../net/core/bpf_sk_storage.c:824:9: warning: context imbalance in 'bpf_sk_storage_map_seq_stop' - different lock contexts for basic block ../net/qrtr/af_qrtr.c:181:27: error: incompatible types in comparison expression (different base types): ../net/qrtr/af_qrtr.c:181:27: void [noderef] __rcu * ../net/qrtr/af_qrtr.c:181:27: struct qrtr_node * ../net/qrtr/af_qrtr.c:368:25: warning: incorrect type in assignment (different base types) ../net/qrtr/af_qrtr.c:639:27: error: incompatible types in comparison expression (different base types): ../net/qrtr/af_qrtr.c:639:27: void [noderef] __rcu * ../net/qrtr/af_qrtr.c:639:27: struct qrtr_node * ../net/core/dev.c:5730:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4158:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5688:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block make[4]: *** [../scripts/Makefile.build:556: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:556: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2011: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2