summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunmi Ha <yunmi.ha@samsung.com>2021-03-12 11:36:06 +0900
committerYunmi Ha <yunmi.ha@samsung.com>2021-03-12 11:36:06 +0900
commit43d33f52dbf1210982df0c859a8489eb256c392a (patch)
treefbecba65ccf4ea249746a75a5d997a51b039a924
parent301a5752596cd6d2beb71b75dd7190969442abed (diff)
downloaddevice-rpi-43d33f52dbf1210982df0c859a8489eb256c392a.tar.gz
device-rpi-43d33f52dbf1210982df0c859a8489eb256c392a.tar.bz2
device-rpi-43d33f52dbf1210982df0c859a8489eb256c392a.zip
memory: change return value when node is not supported
Change-Id: Ifb5ed73626186e5d250fc5141217c44423100edd Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
-rw-r--r--hw/memory/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/memory/memory.c b/hw/memory/memory.c
index ff9668e..90157ab 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)