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:	Thu, 26 Jul 2012 12:22:37 +0100
From:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
To:	"ABRAHAM, KISHON VIJAY" <kishon@...com>
Cc:	lrg@...com, balbi@...com, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH] drivers: regulator: add error checks for exported
 APIs

On Thu, Jul 26, 2012 at 04:49:21PM +0530, ABRAHAM, KISHON VIJAY wrote:
> On Thu, Jul 26, 2012 at 4:40 PM, Mark Brown

> > Also NULL is a valid regulator (though we don't use it right now).

> I see a lot of dereferencing *regulator*. How is it supposed to work
> when *regulator* is NULL?

Like I say we don't use this now but the spec in the API is that
anything except an error pointer is valid.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ