mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ksourav <sourav.kir@gmail.com>
To: gregkh@linuxfoundation.org, arve@android.com, riandrews@android.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	ksourav <sourav.kir@gmail.com>
Subject: [PATCH] Staging:android: fix alignment match open paranthesis
Date: Mon,  1 Aug 2016 20:50:27 +0530	[thread overview]
Message-ID: <1470064827-14707-1-git-send-email-sourav.kir@gmail.com> (raw)

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)

             reply	other threads:[~2016-08-01 15:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01 15:20 ksourav [this message]
2016-08-15 14:53 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470064827-14707-1-git-send-email-sourav.kir@gmail.com \
    --to=sourav.kir@gmail.com \
    --cc=arve@android.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riandrews@android.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®