[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1470064827-14707-1-git-send-email-sourav.kir@gmail.com>
Date: Mon, 1 Aug 2016 20:50:27 +0530
From: ksourav <sourav.kir@...il.com>
To: gregkh@...uxfoundation.org, arve@...roid.com, riandrews@...roid.com
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
ksourav <sourav.kir@...il.com>
Subject: [PATCH] Staging:android: fix alignment match open paranthesis
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@...il.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)
Powered by blists - more mailing lists