Re: [PATCH] software node: Allow node addition to already existing device

2021-04-14 Thread Heikki Krogerus
On Wed, Apr 14, 2021 at 11:17:55AM +0200, Greg Kroah-Hartman wrote: > On Wed, Apr 14, 2021 at 12:13:35PM +0300, Heikki Krogerus wrote: > > +Greg > > > > Sorry about that. Should I resend this? > > No worries, I can pick it up, thanks > > `b4` really is nice to use :) Yes, it's a really nice too

Re: [PATCH] software node: Allow node addition to already existing device

2021-04-14 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 12:13:35PM +0300, Heikki Krogerus wrote: > +Greg > > Sorry about that. Should I resend this? No worries, I can pick it up, thanks `b4` really is nice to use :) greg k-h

Re: [PATCH] software node: Allow node addition to already existing device

2021-04-14 Thread Heikki Krogerus
+Greg Sorry about that. Should I resend this? On Wed, Apr 14, 2021 at 10:54:38AM +0300, Heikki Krogerus wrote: > If the node is added to an already exiting device, the node > needs to be also linked to the device separately. > > This will make sure the reference count is kept in balance > also w

[PATCH] software node: Allow node addition to already existing device

2021-04-14 Thread Heikki Krogerus
If the node is added to an already exiting device, the node needs to be also linked to the device separately. This will make sure the reference count is kept in balance also when the node is injected to a device afterwards. Reported-by: Pierre-Louis Bossart Fixes: e68d0119e328 ("software node: I