Re: [PATCH v3 1/2] regulator: anatop-regulator: Fix the errorhandling on probe

From: Dmitry Torokhov
Date: Fri Jan 03 2014 - 19:02:25 EST

On Tue, Dec 24, 2013 at 01:03:57PM +0000, Mark Brown wrote:
> On Mon, Dec 23, 2013 at 12:44:40PM -0200, Fabio Estevam wrote:
> > From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
> >
> > Currently when of_get_parent() or syscon_node_to_regmap() fail
> > 'kfree(sreg->name)' is not called, which is incorrect.
> Applied both, thanks.

Sorry for being too later, but why are we making copy to begin with? It
is not like DT data will disappear later on.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at