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

index 2defae7..bb84acb 100644 (file)
@@ -30,7 +30,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)