Re: [PATCH] software node: only let the owner release a managed node

From: Johan Hovold

Date: Mon Nov 09 2026 - 10:56:28 EST


On Mon, Nov 09, 2026 at 04:17:33PM +0100, Danilo Krummrich wrote:
> On Mon Nov 9, 2026 at 3:59 PM CET, Johan Hovold wrote:

> > So I think we can just go ahead and fix this in driver core directly.
>
> Ok, then I agree it is fine as is. :)

Good. :)

I've updated the commit with the missing Reviewed-by and Fixes tag. I
also decided to drop the reordering of releasing the swnode references
as that is arguable an unrelated change and the current code expects
users to hold a reference unless it's a managed node.

End-result is here:

https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git/commit/?h=driver-core-linus&id=f8623ce596492d2e96ca57eeec992938d3d79f00

Johan