On Tue, Jun 07, 2022 at 11:20:57PM +0300, Andy Shevchenko wrote: > There are several places in the kernel where this kind of functionality is > being used. Provide a generic helper for such cases. This feels really wrong/broken. There should not be any specific ordering of children in the tree. What subsystem relies on this such that they require this? thanks, greg k-h