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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 7 Jul 2015 13:38:38 +0100
From:	Mark Brown <broonie@...nel.org>
To:	"Suzuki K. Poulose" <suzuki.poulose@....com>
Cc:	sfr@...b.auug.org.au, linux-next@...r.kernel.org,
	linux-kernel@...r.kernel.org, paul@...an.com, treding@...dia.com,
	Liam Girdwood <lgirdwood@...il.com>
Subject: Re: [PATCH] regulators: Add missing dummy definition for
 regulator_list_voltage

On Fri, Jun 26, 2015 at 12:06:50PM +0100, Suzuki K. Poulose wrote:

> +static inline int regulator_list_voltage(struct regulator *regulator, unsigned selector)
> +{
> +	return 0;
> +}

I'd expect this stub to return -EINVAL since the voltage count should be
zero for !REGULATOR (since we obviously can't count the number of
voltages).

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