../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/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/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/bluetooth/af_bluetooth.c:248:25: warning: context imbalance in 'bt_accept_enqueue' - different lock contexts for basic block ../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/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/clnt.c:3340:9: warning: cast removes address space '__rcu' of expression ../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/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/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:153:35: warning: array of flexible structures ../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/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/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/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/atm/mpc.c:123:20: warning: symbol 'mpcs' was not declared. Should it be static? make[4]: *** [../scripts/Makefile.build:556: net/core] Error 2 make[4]: *** Waiting for unfinished jobs.... ../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 ../net/bluetooth/sco.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/sunrpc/debugfs.c:78:21: warning: cast removes address space '__rcu' of expression ../net/nfc/nci/core.c: note: in included file: ../include/net/nfc/nci.h:263:56: warning: array of flexible structures ../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/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/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 * ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?