projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d1311b
)
Staging: android: sw_sync.c: Fixed coding style issue.
author
Yee Chin, Chiam
<
[email protected]
>
Wed, 6 Aug 2014 21:47:34 +0000
(17:47 -0400)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 16 Aug 2014 19:23:05 +0000
(12:23 -0700)
Fixed coding style issue where blank line is missing after declaration.
Signed-off-by: Yee Chin, Chiam <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/android/sw_sync.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/sw_sync.c
b/drivers/staging/android/sw_sync.c
index a76db3ff87cbb0d9a0e4a615fbc8d25dcfa4bbe3..863d4b17387a8d0288795e3e23305bd8e7018596 100644
(file)
--- 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;
}