[PATCH 1/2] staging: android: Fixed coding style issue reported by checkpatch
From: Saiyam Doshi
Date: Tue Mar 08 2016 - 13:45:04 EST
Alignment should match open parenthesis
Signed-off-by: Saiyam Doshi <saiyamdoshi.in@xxxxxxxxx>
---
drivers/staging/android/sync.c | 6 +++---
drivers/staging/android/sync.h | 2 +-
drivers/staging/android/sync_debug.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c
index 3a8f210..4a64bdd 100644
--- a/drivers/staging/android/sync.c
+++ b/drivers/staging/android/sync.c
@@ -430,7 +430,7 @@ static unsigned int sync_file_poll(struct file *file, poll_table *wait)
}
static long sync_file_ioctl_merge(struct sync_file *sync_file,
- unsigned long arg)
+ unsigned long arg)
{
int fd = get_unused_fd_flags(O_CLOEXEC);
int err;
@@ -500,7 +500,7 @@ static int sync_fill_fence_info(struct fence *fence, void *data, int size)
}
static long sync_file_ioctl_fence_info(struct sync_file *sync_file,
- unsigned long arg)
+ unsigned long arg)
{
struct sync_file_info *info;
__u32 size;
@@ -552,7 +552,7 @@ out:
}
static long sync_file_ioctl(struct file *file, unsigned int cmd,
- unsigned long arg)
+ unsigned long arg)
{
struct sync_file *sync_file = file->private_data;
diff --git a/drivers/staging/android/sync.h b/drivers/staging/android/sync.h
index d2a1734..625814b 100644
--- a/drivers/staging/android/sync.h
+++ b/drivers/staging/android/sync.h
@@ -192,7 +192,7 @@ struct sync_file *sync_file_create(const char *name, struct fence *fence);
* new merged sync_file or NULL in case of error.
*/
struct sync_file *sync_file_merge(const char *name,
- struct sync_file *a, struct sync_file *b);
+ struct sync_file *a, struct sync_file *b);
/**
* sync_file_fdget() - get a sync_file from an fd
diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/android/sync_debug.c
index 5a7ec58..3327a34 100644
--- a/drivers/staging/android/sync_debug.c
+++ b/drivers/staging/android/sync_debug.c
@@ -105,7 +105,7 @@ static void sync_print_fence(struct seq_file *s, struct fence *fence, bool show)
}
if ((!fence || fence->ops->timeline_value_str) &&
- fence->ops->fence_value_str) {
+ fence->ops->fence_value_str) {
char value[64];
bool success;
@@ -153,7 +153,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;
--
1.9.1
--GLp9dJVi+aaipsRk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline; filename="0002-staging-android-Fixed-coding-style-issue-reported-by.patch"