libhsakmt: fix typo in error message
When fail to get CPU dirs from //sys/devices/system/node/nodeX directory,
the error message should print node_dir, not path.
Change-Id: If76a51918c8dd55fa6605a62f3d29f9efc6fadb3
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
[ROCm/ROCR-Runtime commit: 5a09880620]
Этот коммит содержится в:
@@ -1193,7 +1193,7 @@ static int topology_create_temp_cpu_cache_list(int node,
|
||||
/* Other than cpuY folders, this dir also has cpulist and cpumap */
|
||||
max_cpus = num_subdirs(node_dir, "cpu");
|
||||
if (max_cpus <= 0) {
|
||||
pr_err("Fail to get cpu* dirs under %s\n", path);
|
||||
pr_err("Fail to get cpu* dirs under %s\n", node_dir);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user