Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1328649 > unrolled thread

Re: [PATCH] Staging: android: Fix brace coding style warning in sync_debug.c

Started byGreg KH <gregkh@linuxfoundation.org>
First post2016-02-08 00:00 +0100
Last post2016-02-08 00:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] Staging: android: Fix brace coding style warning in  sync_debug.c Greg KH <gregkh@linuxfoundation.org> - 2016-02-08 00:00 +0100

#1328649 — Re: [PATCH] Staging: android: Fix brace coding style warning in sync_debug.c

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-02-08 00:00 +0100
SubjectRe: [PATCH] Staging: android: Fix brace coding style warning in sync_debug.c
Message-ID<qZGtc-4zn-13@gated-at.bofh.it>
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 :(

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web