[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1411807958-1522-1-git-send-email-xypron.glpk@gmx.de>
Date: Sat, 27 Sep 2014 10:52:37 +0200
From: Heinrich Schuchardt <xypron.glpk@....de>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Colin Cross <ccross@...roid.com>
Cc: John Stultz <john.stultz@...aro.org>,
Daniel Vetter <daniel@...ll.ch>,
Sumit Semwal <sumit.semwal@...aro.org>,
Masanari Iida <standby24x7@...il.com>,
Daeseok Youn <daeseok.youn@...il.com>,
Maarten Lankhorst <maarten.lankhorst@...onical.com>,
Heinrich Schuchardt <xypron.glpk@....de>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Yann Droneaud <ydroneaud@...eya.com>
Subject: [PATCH 1/1] 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@....de>
---
drivers/staging/android/sync.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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);
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists