summaryrefslogtreecommitdiffstats
path: root/drivers/staging/android
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2014-09-27 10:52:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-28 22:03:57 -0400
commitae66475289d13ef724cd5a523a4a5ce42e81582b (patch)
tree0094b42d40e0907a36af9d89ab10976217606462 /drivers/staging/android
parent20187a7b69b22729d7ff300c24d14cf3e0a22c0f (diff)
downloadop-kernel-dev-ae66475289d13ef724cd5a523a4a5ce42e81582b.zip
op-kernel-dev-ae66475289d13ef724cd5a523a4a5ce42e81582b.tar.gz
staging : android : sync : get_unused_fd
sync.h recommends to use get_unused_fd which does not set O_CLOEXEC while the rest of the android tree uses get_unused_fd_flags and sets O_CLOEXEC. The patch adjust the comment. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r--drivers/staging/android/sync.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/android/sync.h b/drivers/staging/android/sync.h
index 66b0f43..a21b79f 100644
--- a/drivers/staging/android/sync.h
+++ b/drivers/staging/android/sync.h
@@ -293,7 +293,8 @@ void sync_fence_put(struct sync_fence *fence);
* @fence: fence to install
* @fd: file descriptor in which to install the fence
*
- * Installs @fence into @fd. @fd's should be acquired through get_unused_fd().
+ * Installs @fence into @fd. @fd's should be acquired through
+ * get_unused_fd_flags(O_CLOEXEC).
*/
void sync_fence_install(struct sync_fence *fence, int fd);
OpenPOWER on IntegriCloud