Re: [PATCH v3 01/10] software node: Get reference to parent swnode in get_parent op

2019-09-02 Thread Sakari Ailus
On Fri, Aug 30, 2019 at 03:22:37PM +0300, Andy Shevchenko wrote: > On Thu, Aug 29, 2019 at 01:10:34PM +0300, Sakari Ailus wrote: > > The software_node_get_parent() returned a pointer to the parent swnode, > > but did not take a reference to it, leading the caller to put a reference > > that was

Re: [PATCH v3 01/10] software node: Get reference to parent swnode in get_parent op

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:34PM +0300, Sakari Ailus wrote: > The software_node_get_parent() returned a pointer to the parent swnode, > but did not take a reference to it, leading the caller to put a reference > that was not taken. Take that reference now. > > Fixes: 59abd83672f7 ("drivers:

Re: [PATCH v3 01/10] software node: Get reference to parent swnode in get_parent op

2019-08-30 Thread Heikki Krogerus
On Thu, Aug 29, 2019 at 01:10:34PM +0300, Sakari Ailus wrote: > The software_node_get_parent() returned a pointer to the parent swnode, > but did not take a reference to it, leading the caller to put a reference > that was not taken. Take that reference now. > > Fixes: 59abd83672f7 ("drivers:

Re: [PATCH v3 01/10] software node: Get reference to parent swnode in get_parent op

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:34PM +0300, Sakari Ailus wrote: > The software_node_get_parent() returned a pointer to the parent swnode, > but did not take a reference to it, leading the caller to put a reference > that was not taken. Take that reference now. > > Fixes: 59abd83672f7 ("drivers:

[PATCH v3 01/10] software node: Get reference to parent swnode in get_parent op

2019-08-29 Thread Sakari Ailus
The software_node_get_parent() returned a pointer to the parent swnode, but did not take a reference to it, leading the caller to put a reference that was not taken. Take that reference now. Fixes: 59abd83672f7 ("drivers: base: Introducing software nodes to the firmware node