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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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)

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux