memory: change return value when node is not supported
authorYunmi Ha <yunmi.ha@samsung.com>
Fri, 12 Mar 2021 02:26:43 +0000 (11:26 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Fri, 12 Mar 2021 02:26:43 +0000 (11:26 +0900)
Change-Id: I83bf621952132df06ccd64a3e50bcba2000184b3
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
hw/memory/memory.c

index 1f2eb5d..129071a 100644 (file)
@@ -28,7 +28,7 @@
 
 static int memory_get_gpu_info(const int pid, struct gpu_info *info)
 {
-       return -EINVAL;
+       return -ENODEV;
 }
 
 static int memory_get_gem_info(const int pid, struct gem_info *info)