diff --git a/net/qrtr/mhi.c b/net/qrtr/mhi.c index ae9c3e0f3fc3..c9377d28d890 100644 --- a/net/qrtr/mhi.c +++ b/net/qrtr/mhi.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. */ +/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. */ #include #include diff --git a/net/qrtr/ns.c b/net/qrtr/ns.c index 28516cdeffb4..845f21c8e1d0 100644 --- a/net/qrtr/ns.c +++ b/net/qrtr/ns.c @@ -104,7 +104,7 @@ unsigned int qrtr_get_service_id(unsigned int node_id, unsigned int port_id) struct qrtr_node *node; unsigned long index; - node = xa_load(&nodes, node_id); + node = node_get(node_id); if (!node) return 0;