From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755426AbcBGW50 (ORCPT ); Sun, 7 Feb 2016 17:57:26 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:59383 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754917AbcBGW5Z (ORCPT ); Sun, 7 Feb 2016 17:57:25 -0500 Date: Sun, 7 Feb 2016 14:57:24 -0800 From: Greg KH To: Bopamo Osaisai Cc: arve@android.com, riandrews@android.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: android: Fix brace coding style warning in sync_debug.c Message-ID: <20160207225724.GD8463@kroah.com> References: <1453858293-4634-1-git-send-email-bopamo@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1453858293-4634-1-git-send-email-bopamo@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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 :(