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


Groups > linux.kernel > #1310183 > unrolled thread

[RFC 03/29] staging/android: rename sync_fence_release

Started byGustavo Padovan <gustavo@padovan.org>
First post2016-01-15 16:00 +0100
Last post2016-01-15 16:00 +0100
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

  [RFC 03/29] staging/android: rename sync_fence_release Gustavo Padovan <gustavo@padovan.org> - 2016-01-15 16:00 +0100

#1310183 — [RFC 03/29] staging/android: rename sync_fence_release

FromGustavo Padovan <gustavo@padovan.org>
Date2016-01-15 16:00 +0100
Subject[RFC 03/29] staging/android: rename sync_fence_release
Message-ID<qRe15-7zo-31@gated-at.bofh.it>
From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>

To avoid collision with an upcoming rename change the name of
sync_fence_release() to sync_fence_release_file()

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
---
 drivers/staging/android/sync.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c
index ed43796..4926bb0 100644
--- a/drivers/staging/android/sync.c
+++ b/drivers/staging/android/sync.c
@@ -534,7 +534,7 @@ static void sync_fence_free(struct kref *kref)
 	kfree(fence);
 }
 
-static int sync_fence_release(struct inode *inode, struct file *file)
+static int sync_fence_file_release(struct inode *inode, struct file *file)
 {
 	struct sync_fence *fence = file->private_data;
 
@@ -724,7 +724,7 @@ static long sync_fence_ioctl(struct file *file, unsigned int cmd,
 }
 
 static const struct file_operations sync_fence_fops = {
-	.release = sync_fence_release,
+	.release = sync_fence_file_release,
 	.poll = sync_fence_poll,
 	.unlocked_ioctl = sync_fence_ioctl,
 	.compat_ioctl = sync_fence_ioctl,
-- 
2.5.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web