Re: [PATCH 0/2] device property: fix for couple of bugs
From: Heikki Krogerus
Date: Fri Feb 26 2016 - 03:03:01 EST
On Wed, Feb 24, 2016 at 12:37:43AM +0100, Rafael J. Wysocki wrote:
> On Monday, February 22, 2016 04:50:39 PM Heikki Krogerus wrote:
> > Hi,
> > The fwnode->secondary is causing problems when a property_set is
> > providing the primary fwnode.
> > Both of these fixes are a bit clumsy looking IMO, but I didn't have
> > better ideas. I think the second one fixing the use-after-free bug
> > should ideally be taken care of in set_secondary_fwnode() instead of
> > device_remove_property_set(), but I didn't have any ideas how to do
> > that.
> Can you please CC device property framework patches to linux-acpi?
> They are somewhat easier to handle this way.