[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1440485632-17242-6-git-send-email-sironhide0null@gmail.com>
Date: Tue, 25 Aug 2015 14:53:51 +0800
From: Peng Sun <sironhide0null@...il.com>
To: gregkh@...uxfoundation.org, arve@...roid.com, riandrews@...roid.com
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Peng Sun <sironhide0null@...il.com>
Subject: [PATCH 5/6] fix android/sync.h several coding style issues
Corrections based on checkpatch.pl with --strict
1) spinlock_t definition without comment
2) Alignment should match open parenthesis
Signed-off-by: Peng Sun <sironhide0null@...il.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..87358d2 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; /* protect 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
--
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