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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1469295673.14838.4.camel@sysprog.at>
Date:	Sat, 23 Jul 2016 19:41:13 +0200
From:	Bernd Petrovitsch <bernd@...prog.at>
To:	Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>,
	lee.jones@...aro.org
Cc:	patches@...nsource.wolfsonmicro.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: arizona: Remove pointless switch case

Hi all!

On Fri, 2016-07-22 at 16:58 +0100, Charles Keepax wrote:
[...]
>  		case IRQF_TRIGGER_RISING:
>  		case IRQF_TRIGGER_FALLING:
>  			break;
> -
> -		case IRQ_TYPE_NONE:
>  		default:

Don't know about the kernels coding rule in that case but personally, I
use that style to explicit list all enum/#define values so that it is
obvious that none was forgotten.
For the compiler output, it shouldn't matter anyways ...

MfG,
	Bernd
-- 
mobile: +43 664 4416156              http://www.sysprog.at/
    Linux Software Development, Consulting and Services


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ