Re: [PATCH 04/29] regulator: fix devm_regulator_put() to call regulator_put() explicitly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 18, 2012 at 10:54:26AM +0200, Guennadi Liakhovetski wrote:

> > > +	regulator_put(regulator);
> > >  	rc = devres_destroy(regulator->dev, devm_regulator_release,
> > >  			    devm_regulator_match, regulator);

> So, shall we rather use your new devres_release() here?

Yes, I already have a patch queued for 3.6 after things propagate
through in the merge window and have a fix based on the current API in
the regulator tree for 3.5 that doesn't have the double free issue.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux