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:	Fri, 18 Apr 2014 18:23:58 +0100
From:	Mark Brown <broonie@...nel.org>
To:	Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
Cc:	lgirdwood@...il.com, linux-kernel@...r.kernel.org,
	patches@...nsource.wolfsonmicro.com
Subject: Re: [PATCH] regulator: core: Use devres for releasing
 of_regulator_match of_nodes

On Tue, Apr 15, 2014 at 01:34:36PM +0100, Charles Keepax wrote:
> Rather than requiring individual drivers to put the of_nodes returned
> from of_regulator_match use devres to put them. This also has the
> benefit it makes the life-time of the of_nodes match the lifetime of
> the init data also contained in the of_regulator_match structure, which
> seems more consistent.

Applied, thanks.  It'd have been good to have explained that we were
already using managed allocations - allocating things without an explict
method for freeing if required is normally bad form, though it's
harmless and like I say already done here.

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