From 738c9b5fd5fda684d155c2364e4e59177321cb1a Mon Sep 17 00:00:00 2001 From: Yunmi Ha Date: Fri, 12 Mar 2021 11:26:43 +0900 Subject: [PATCH] memory: change return value when node is not supported Change-Id: I83bf621952132df06ccd64a3e50bcba2000184b3 Signed-off-by: Yunmi Ha --- hw/memory/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/memory/memory.c b/hw/memory/memory.c index 1f2eb5d..129071a 100644 --- a/hw/memory/memory.c +++ b/hw/memory/memory.c @@ -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) -- 2.7.4