Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1625516 > unrolled thread

[PATCHv4 11/12] staging: android: ion: Set query return value

Started byLaura Abbott <labbott@redhat.com>
First post2017-04-18 20:30 +0200
Last post2017-04-18 20:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCHv4 11/12] staging: android: ion: Set query return value Laura Abbott <labbott@redhat.com> - 2017-04-18 20:30 +0200

#1625516 — [PATCHv4 11/12] staging: android: ion: Set query return value

FromLaura Abbott <labbott@redhat.com>
Date2017-04-18 20:30 +0200
Subject[PATCHv4 11/12] staging: android: ion: Set query return value
Message-ID<txG31-10r-25@gated-at.bofh.it>
This never got set in the ioctl. Properly set a return value of 0 on
success.

Signed-off-by: Laura Abbott <labbott@redhat.com>
---
 drivers/staging/android/ion/ion.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index 9eeb06f..d6fd350 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;
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web