2014-07-28 21:07:52

by Adrian Remonda

[permalink] [raw]
Subject: [PATCH] Staging: android: Missing a blank line after declarations in sw_sync.c This is a patch to the sw_sync.c file that fixes up a missing a blank warning found by the checkpatch.pl tool

From: Adrian Remonda <[email protected]>


Signed-off-by: Adrian Remonda <[email protected]>
---
drivers/staging/android/sw_sync.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c
index a76db3ff87cb..863d4b17387a 100644
--- a/drivers/staging/android/sw_sync.c
+++ b/drivers/staging/android/sw_sync.c
@@ -97,6 +97,7 @@ static void sw_sync_pt_value_str(struct sync_pt *sync_pt,
char *str, int size)
{
struct sw_sync_pt *pt = (struct sw_sync_pt *)sync_pt;
+
snprintf(str, size, "%d", pt->value);
}

@@ -156,6 +157,7 @@ static int sw_sync_open(struct inode *inode, struct file *file)
static int sw_sync_release(struct inode *inode, struct file *file)
{
struct sw_sync_timeline *obj = file->private_data;
+
sync_timeline_destroy(&obj->obj);
return 0;
}
--
1.7.10.4


2014-07-30 23:27:33

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] Staging: android: Missing a blank line after declarations in sw_sync.c This is a patch to the sw_sync.c file that fixes up a missing a blank warning found by the checkpatch.pl tool

On Mon, Jul 28, 2014 at 11:07:40PM +0200, [email protected] wrote:
> From: Adrian Remonda <[email protected]>
>

Your changelog text is up there in the subject, not down here in the
body of the email :(