diff options
author | Laura Abbott <labbott@redhat.com> | 2017-04-18 21:27:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-18 21:43:14 +0300 |
commit | 804ca94a98237e12ad8fabf7cdc566f14b05b7df (patch) | |
tree | 70c70595f1c7d4cbccdc9ceefb76c51ed91bc77d /drivers/staging/android | |
parent | 15c6098cfec543687164a05faeb859f8e4f7480b (diff) | |
download | linux-804ca94a98237e12ad8fabf7cdc566f14b05b7df.tar.xz |
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>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r-- | drivers/staging/android/ion/ion.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 9eeb06f71d7c..d6fd3507e0e0 100644 --- a/drivers/staging/android/ion/ion.c +++ b/drivers/staging/android/ion/ion.c @@ -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; |