lkml.org 
[lkml]   [2015]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/6] fix android/sync.h some coding style CHECK issues
Date
Signed-off-by: Peng Sun <sironhide0null@gmail.com>
---
drivers/staging/android/sync.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/android/sync.h b/drivers/staging/android/sync.h
index 61f8a3a..71fb800 100644
--- a/drivers/staging/android/sync.h
+++ b/drivers/staging/android/sync.h
@@ -94,12 +94,11 @@ struct sync_timeline {
const struct sync_timeline_ops *ops;
char name[32];

- /* protected by child_list_lock */
bool destroyed;
int context, value;

struct list_head child_list_head;
- spinlock_t child_list_lock;
+ spinlock_t child_list_lock; /* protected destroyed */

struct list_head active_list_head;

@@ -351,6 +350,6 @@ void sync_dump(void);
# define sync_dump()
#endif
int sync_fence_wake_up_wq(wait_queue_t *curr, unsigned mode,
- int wake_flags, void *key);
+ int wake_flags, void *key);

#endif /* _LINUX_SYNC_H */
--
1.9.1


\
 
 \ /
  Last update: 2015-08-21 08:41    [W:0.060 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site