From dc31b1568c11062a825ebae62466081a57e641cd Mon Sep 17 00:00:00 2001 From: Yunmi Ha Date: Fri, 12 Mar 2021 11:30:47 +0900 Subject: [PATCH] memory: change return value when node is not supported Change-Id: I9522448ace6d46f80ffe4099314c133c41a1657d Signed-off-by: Yunmi Ha --- hw/memory/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/memory/memory.c b/hw/memory/memory.c index 908907a..c817047 100644 --- a/hw/memory/memory.c +++ b/hw/memory/memory.c @@ -25,12 +25,12 @@ 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) { - return -EINVAL; + return -ENODEV; } static int memory_init(void **data) -- 2.34.1