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


Groups > linux.kernel > #1453272 > unrolled thread

[PATCH] Staging:android: fix alignment match open paranthesis

Started byksourav <sourav.kir@gmail.com>
First post2016-08-01 17:30 +0200
Last post2016-08-01 17:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] Staging:android: fix alignment match open paranthesis ksourav <sourav.kir@gmail.com> - 2016-08-01 17:30 +0200

#1453272 — [PATCH] Staging:android: fix alignment match open paranthesis

Fromksourav <sourav.kir@gmail.com>
Date2016-08-01 17:30 +0200
Subject[PATCH] Staging:android: fix alignment match open paranthesis
Message-ID<s1nke-834-5@gated-at.bofh.it>
This is a patch to fix alignment should match open paranthesis
warning given by checkpatch.pl in files sw_sync.c and sync_debug.c

Signed-off-by: ksourav <sourav.kir@gmail.com>
---
 drivers/staging/android/sw_sync.c    | 6 +++---
 drivers/staging/android/sync_debug.c | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c
index 115c917..ce3f3ec 100644
--- a/drivers/staging/android/sw_sync.c
+++ b/drivers/staging/android/sw_sync.c
@@ -134,7 +134,7 @@ static void sync_timeline_signal(struct sync_timeline *obj, unsigned int inc)
  * NULL in case of error.
  */
 static struct sync_pt *sync_pt_create(struct sync_timeline *obj, int size,
-			     unsigned int value)
+				      unsigned int value)
 {
 	unsigned long flags;
 	struct sync_pt *pt;
@@ -204,13 +204,13 @@ static bool timeline_fence_enable_signaling(struct fence *fence)
 }
 
 static void timeline_fence_value_str(struct fence *fence,
-				    char *str, int size)
+				     char *str, int size)
 {
 	snprintf(str, size, "%d", fence->seqno);
 }
 
 static void timeline_fence_timeline_value_str(struct fence *fence,
-					     char *str, int size)
+					      char *str, int size)
 {
 	struct sync_timeline *parent = fence_parent(fence);
 
diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/android/sync_debug.c
index 4c5a855..eaa79b9 100644
--- a/drivers/staging/android/sync_debug.c
+++ b/drivers/staging/android/sync_debug.c
@@ -92,7 +92,7 @@ static void sync_print_fence(struct seq_file *s, struct fence *fence, bool show)
 	}
 
 	if (fence->ops->timeline_value_str &&
-		fence->ops->fence_value_str) {
+	    fence->ops->fence_value_str) {
 		char value[64];
 		bool success;
 
@@ -103,7 +103,7 @@ static void sync_print_fence(struct seq_file *s, struct fence *fence, bool show)
 			seq_printf(s, ": %s", value);
 
 			fence->ops->timeline_value_str(fence, value,
-						       sizeof(value));
+					sizeof(value));
 
 			if (strlen(value))
 				seq_printf(s, " / %s", value);
@@ -130,7 +130,7 @@ static void sync_print_obj(struct seq_file *s, struct sync_timeline *obj)
 }
 
 static void sync_print_sync_file(struct seq_file *s,
-				  struct sync_file *sync_file)
+				 struct sync_file *sync_file)
 {
 	int i;
 
-- 
2.7.4 (Apple Git-66)

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web