staging: android: ion: Set query return value
This never got set in the ioctl. Properly set a return value of 0 on success. Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
15c6098cfe
Коммит
804ca94a98
|
@ -498,6 +498,7 @@ int ion_query_heaps(struct ion_heap_query *query)
|
|||
}
|
||||
|
||||
query->cnt = cnt;
|
||||
ret = 0;
|
||||
out:
|
||||
up_read(&dev->lock);
|
||||
return ret;
|
||||
|
|
Загрузка…
Ссылка в новой задаче