Thread (6 messages) 6 messages, 3 authors, 2026-01-13

Re: [PATCH 2/2] net: axienet: Fix resource release ordering

From: Sean Anderson <sean.anderson@linux.dev>
Date: 2026-01-12 14:53:54
Also in: linux-arm-kernel, linux-clk, lkml

On 1/10/26 14:53, Jakub Kicinski wrote:
On Fri, 9 Jan 2026 12:40:51 +0530 Suraj Gupta wrote:
quoted
Device-managed resources are released after manually-managed resources.
Therefore, once any manually-managed resource is acquired, all further
resources must be manually-managed too.
only for resources which have dependencies. Please include in the commit
message what exactly is going wrong in this driver. The commit under
Fixes seems to be running ioremap, I don't see how that matters vs
netdev allocation for example..
In the series I originally submitted this in, I wanted to add a devm
resources (mdio bus etc.) at the end of probe that required the clocks
to be running. But as a standalone patch this is more of a cleanup.
quoted
Convert all resources before the MDIO bus is created into device-managed
resources. In all cases but one there are already devm variants available.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help