Commit 804ca94a authored by Laura Abbott's avatar Laura Abbott Committed by Greg Kroah-Hartman

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: default avatarLaura Abbott <labbott@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 15c6098c
...@@ -498,6 +498,7 @@ int ion_query_heaps(struct ion_heap_query *query) ...@@ -498,6 +498,7 @@ int ion_query_heaps(struct ion_heap_query *query)
} }
query->cnt = cnt; query->cnt = cnt;
ret = 0;
out: out:
up_read(&dev->lock); up_read(&dev->lock);
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment