Skip to contentSkip to conversation

Staging: android: sw_sync: fixed a coding style issues

PATCH In review Mike Roocroft 2 participants 2 messages Sep 25, 2014 – Sep 27, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 Staging: android: sw_sync: fixed a coding style issues

---
 drivers/staging/android/sw_sync.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/staging/android/sw_sync.c +2 -0
index a76db3f..863d4b1 100644
@@ -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;
 }
Signature · 1 line
2.1.0
#1 lore raw

On Fri, Sep 26, 2014 at 12:11:56AM +0100, Mike Roocroft wrote:

you forgot to write the commit message and also mention there what kind of warning you have fixed.

thanks
sudip

Quoted 33 lines
---
 drivers/staging/android/sw_sync.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/staging/android/sw_sync.c +2 -0
index a76db3f..863d4b1 100644
@@ -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;
 }
Signature · 7 lines
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/