* [PATCH] staging: android: sw_sync.c: fix new line style issues
@ 2014-08-25 19:35 Koray Gulcu
2014-08-30 21:06 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Koray Gulcu @ 2014-08-25 19:35 UTC (permalink / raw)
To: open list:STAGING SUBSYSTEM, open list; +Cc: Koray Gulcu
Add two new lines that are missing after declerations as detected by checkpatch.pl
Signed-off-by: Koray Gulcu <koray.gulcu@ozu.edu.tr>
---
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 a76db3f..863d4b1 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 related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: android: sw_sync.c: fix new line style issues
2014-08-25 19:35 [PATCH] staging: android: sw_sync.c: fix new line style issues Koray Gulcu
@ 2014-08-30 21:06 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2014-08-30 21:06 UTC (permalink / raw)
To: Koray Gulcu; +Cc: open list:STAGING SUBSYSTEM, open list
On Mon, Aug 25, 2014 at 08:35:31PM +0100, Koray Gulcu wrote:
> Add two new lines that are missing after declerations as detected by checkpatch.pl
>
> Signed-off-by: Koray Gulcu <koray.gulcu@ozu.edu.tr>
> ---
> drivers/staging/android/sw_sync.c | 2 ++
> 1 file changed, 2 insertions(+)
2 other people sent this same patch before you did :(
sorry,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-30 21:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-25 19:35 [PATCH] staging: android: sw_sync.c: fix new line style issues Koray Gulcu
2014-08-30 21:06 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox