From 19add2ea6da8525bafb8fb2747965cbb55dbea75 Mon Sep 17 00:00:00 2001
From: Wenkai Lin <linwenkai6@hisilicon.com>
Date: Thu, 30 Dec 2021 12:07:29 +0800
Subject: [PATCH 17/28] uadk: fix wd_get_config_numa info

wd_get_config_numa is used to get config numa
by node id, not set a numa dev.

Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
---
 wd_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wd_util.c b/wd_util.c
index 3a1def5..faaf821 100644
--- a/wd_util.c
+++ b/wd_util.c
@@ -391,7 +391,7 @@ static void wd_set_numa_dev(struct uacce_dev_list *head,
 	while (list) {
 		config_numa = wd_get_config_numa(config, list->dev->numa_id);
 		if (!config_numa) {
-			WD_ERR("set numa dev err!\n");
+			WD_ERR("%s got wrong numa node!\n", __func__);
 			break;
 		}
 
-- 
2.31.1

