lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sun, 7 Feb 2016 14:56:43 -0800
From:	Greg KH <gregkh@...uxfoundation.org>
To:	Robin Krahl <robin.krahl@...as.org>
Cc:	devel@...verdev.osuosl.org,
	Arve Hjønnevåg <arve@...roid.com>,
	Riley Andrews <riandrews@...roid.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] staging: android: sync_debug.c: remove
 unnecessary braces

On Tue, Jan 19, 2016 at 12:29:41PM +0100, Robin Krahl wrote:
> Remove unnecessary braces {} around a single statement within a for loop.
> Indicated by checkpatch.
> 
> Signed-off-by: Robin Krahl <robin.krahl@...as.org>
> ---
>  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.5.0
> 


Someone sent a fixed up patch before this one :(

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ