Re: [RFC PATCH v2 06/74] dtc: Move fill_fullpaths() into build_dt_info()
From: David Gibson
Date: Sun Oct 18 2026 - 22:17:46 EST
On Wed, Aug 26, 2026 at 11:48:35AM +0200, Herve Codina wrote:
> fill_fullpaths() is called unconditionally after parsing to set the full
> path of each node in the parsed device tree.
>
> There is no reason to call it outside build_dt_info().
>
> Furthermore, future metadata support will need post-parsing operations
> in build_dt_info() to produce a fully consistent dt_info. Those future
> operations will need the full paths filled by fill_fullpaths().
>
> Move the fill_fullpaths() call into build_dt_info() in preparation.
> No functional change expected.
This seems like a good idea, independent of the rest of the series.
Applied.
--
David Gibson (he or they) | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you, not the other way
| around.
http://www.ozlabs.org/~dgibson
Attachment:
signature.asc
Description: PGP signature