* [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
@ 2014-07-28 21:07 adrianremonda
2014-07-30 23:27 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: adrianremonda @ 2014-07-28 21:07 UTC (permalink / raw)
To: gregkh
Cc: daniel, waydi1, sumit.semwal, ydroneaud, adrianremonda,
maarten.lankhorst, devel, linux-kernel
From: Adrian Remonda <adrianremonda@gmail.com>
Signed-off-by: Adrian Remonda <adrianremonda@gmail.com>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* 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
2014-07-28 21:07 [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 adrianremonda
@ 2014-07-30 23:27 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2014-07-30 23:27 UTC (permalink / raw)
To: adrianremonda
Cc: daniel, waydi1, sumit.semwal, ydroneaud, maarten.lankhorst,
devel, linux-kernel
On Mon, Jul 28, 2014 at 11:07:40PM +0200, adrianremonda@gmail.com wrote:
> From: Adrian Remonda <adrianremonda@gmail.com>
>
Your changelog text is up there in the subject, not down here in the
body of the email :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-30 23:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-28 21:07 [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 adrianremonda
2014-07-30 23:27 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome