diff options
author | Yunmi Ha <yunmi.ha@samsung.com> | 2021-03-12 11:30:47 +0900 |
---|---|---|
committer | Yunmi Ha <yunmi.ha@samsung.com> | 2021-03-12 11:30:47 +0900 |
commit | dc31b1568c11062a825ebae62466081a57e641cd (patch) | |
tree | 4a4cae97fc32f0f67809a0b148fc0841bdda51e6 | |
parent | 3cca1823e9abcec8d43cac400347afd075a6d128 (diff) | |
download | device-emulator-dc31b1568c11062a825ebae62466081a57e641cd.tar.gz device-emulator-dc31b1568c11062a825ebae62466081a57e641cd.tar.bz2 device-emulator-dc31b1568c11062a825ebae62466081a57e641cd.zip |
memory: change return value when node is not supported
Change-Id: I9522448ace6d46f80ffe4099314c133c41a1657d
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
-rw-r--r-- | hw/memory/memory.c | 4 |
1 files 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) |