From: Yunmi Ha Date: Fri, 12 Mar 2021 02:26:43 +0000 (+0900) Subject: memory: change return value when node is not supported X-Git-Tag: submit/tizen/20210315.042850^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fadaptation%2Ftw3%2Fdevice-manager-plugin-tw3.git memory: change return value when node is not supported Change-Id: I83bf621952132df06ccd64a3e50bcba2000184b3 Signed-off-by: Yunmi Ha --- 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)