All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: android: Fix brace coding style warning in sync_debug.c
@ 2016-01-27  1:31 Bopamo Osaisai
  2016-02-07 22:57 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Bopamo Osaisai @ 2016-01-27  1:31 UTC (permalink / raw)
  To: gregkh, arve, riandrews; +Cc: devel, linux-kernel, Bopamo Osaisai

This is a patch to the sync_debug.c file that rectifies a brace warning
that was found with the checkpatch.pl tool

Signed-off-by: Bopamo Osaisai <bopamo@gmail.com>
---
 drivers/staging/android/sync_debug.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/android/sync_debug.c
index f45d13c..02a1649 100644
--- a/drivers/staging/android/sync_debug.c
+++ b/drivers/staging/android/sync_debug.c
@@ -158,9 +158,8 @@ static void sync_print_fence(struct seq_file *s, struct sync_fence *fence)
 	seq_printf(s, "[%p] %s: %s\n", fence, fence->name,
 		   sync_status_str(atomic_read(&fence->status)));
 
-	for (i = 0; i < fence->num_fences; ++i) {
+	for (i = 0; i < fence->num_fences; ++i)
 		sync_print_pt(s, fence->cbs[i].sync_pt, true);
-	}
 
 	spin_lock_irqsave(&fence->wq.lock, flags);
 	list_for_each_entry(pos, &fence->wq.task_list, task_list) {
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Staging: android: Fix brace coding style warning in sync_debug.c
  2016-01-27  1:31 [PATCH] Staging: android: Fix brace coding style warning in sync_debug.c Bopamo Osaisai
@ 2016-02-07 22:57 ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2016-02-07 22:57 UTC (permalink / raw)
  To: Bopamo Osaisai; +Cc: arve, riandrews, devel, linux-kernel

On Tue, Jan 26, 2016 at 05:31:33PM -0800, Bopamo Osaisai wrote:
> This is a patch to the sync_debug.c file that rectifies a brace warning
> that was found with the checkpatch.pl tool
> 
> Signed-off-by: Bopamo Osaisai <bopamo@gmail.com>
> ---
>  drivers/staging/android/sync_debug.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/android/sync_debug.c
> index f45d13c..02a1649 100644
> --- a/drivers/staging/android/sync_debug.c
> +++ b/drivers/staging/android/sync_debug.c
> @@ -158,9 +158,8 @@ static void sync_print_fence(struct seq_file *s, struct sync_fence *fence)
>  	seq_printf(s, "[%p] %s: %s\n", fence, fence->name,
>  		   sync_status_str(atomic_read(&fence->status)));
>  
> -	for (i = 0; i < fence->num_fences; ++i) {
> +	for (i = 0; i < fence->num_fences; ++i)
>  		sync_print_pt(s, fence->cbs[i].sync_pt, true);
> -	}
>  
>  	spin_lock_irqsave(&fence->wq.lock, flags);
>  	list_for_each_entry(pos, &fence->wq.task_list, task_list) {
> -- 
> 2.7.0

Someone else already sent this in before you :(

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] Staging: android: Fix brace coding style warning in sync_debug.c
@ 2016-01-08 17:15 Bopamo Osaisai
  0 siblings, 0 replies; 3+ messages in thread
From: Bopamo Osaisai @ 2016-01-08 17:15 UTC (permalink / raw)
  To: gregkh, arve, riandrews; +Cc: devel, linux-kernel, Bopamo Osaisai

This is a patch to the sync_debug.c file that rectifies a brace warning
that was found with the checkpatch.pl tool

Signed-off-by: Bopamo Osaisai <bopamo@gmail.com>
---
 drivers/staging/android/sync_debug.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/android/sync_debug.c
index f45d13c..02a1649 100644
--- a/drivers/staging/android/sync_debug.c
+++ b/drivers/staging/android/sync_debug.c
@@ -158,9 +158,8 @@ static void sync_print_fence(struct seq_file *s, struct sync_fence *fence)
 	seq_printf(s, "[%p] %s: %s\n", fence, fence->name,
 		   sync_status_str(atomic_read(&fence->status)));
 
-	for (i = 0; i < fence->num_fences; ++i) {
+	for (i = 0; i < fence->num_fences; ++i)
 		sync_print_pt(s, fence->cbs[i].sync_pt, true);
-	}
 
 	spin_lock_irqsave(&fence->wq.lock, flags);
 	list_for_each_entry(pos, &fence->wq.task_list, task_list) {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-07 22:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-27  1:31 [PATCH] Staging: android: Fix brace coding style warning in sync_debug.c Bopamo Osaisai
2016-02-07 22:57 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2016-01-08 17:15 Bopamo Osaisai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.