From: Yunmi Ha Date: Fri, 12 Mar 2021 02:30:47 +0000 (+0900) Subject: memory: change return value when node is not supported X-Git-Tag: submit/tizen/20210607.045509~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc31b1568c11062a825ebae62466081a57e641cd;p=platform%2Fhal%2Fbackend%2Femulator%2Fdevice-emulator.git memory: change return value when node is not supported Change-Id: I9522448ace6d46f80ffe4099314c133c41a1657d Signed-off-by: Yunmi Ha --- 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)