summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunmi Ha <yunmi.ha@samsung.com>2021-03-12 11:37:18 +0900
committerYunmi Ha <yunmi.ha@samsung.com>2021-03-12 11:37:18 +0900
commit14688219cfdb084ba2a94258b04410a3b8fc8385 (patch)
treeaf49309d31448add09290bba8ffc98e3935d9820
parentd622c5cbda2ced53b58e5c92de062d7cb9ac1a88 (diff)
downloaddevice-artik-14688219cfdb084ba2a94258b04410a3b8fc8385.tar.gz
device-artik-14688219cfdb084ba2a94258b04410a3b8fc8385.tar.bz2
device-artik-14688219cfdb084ba2a94258b04410a3b8fc8385.zip
memory: change return value when node is not supported
Change-Id: I4f4c4acc1b19c9b74f211c96205b24c1ddda129e Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
-rw-r--r--hw/memory/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/memory/memory.c b/hw/memory/memory.c
index 0bfc995..6113824 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)