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] [day] [month] [year] [list]
Message-ID: <20160310031012.GH3898@sirena.org.uk>
Date:	Thu, 10 Mar 2016 10:10:12 +0700
From:	Mark Brown <broonie@...nel.org>
To:	Mihai Mihalache <mihai.d.mihalache@...el.com>
Cc:	linux-kernel@...r.kernel.org, lgirdwood@...il.com,
	hans.holmberg@...el.com, yousaf.kaukab@...el.com
Subject: Re: [PATCH] regulator: gpio: check return value of of_get_named_gpio

On Wed, Mar 09, 2016 at 05:50:42AM -0800, Mihai Mihalache wrote:

>  	config->enable_gpio = of_get_named_gpio(np, "enable-gpio", 0);
> +	if(IS_ERR_VALUE(config->enable_gpio))
> +		return ERR_PTR(config->enable_gpio);

Please follow the kernel coding style - if(.

Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ