Re: [RFC PATCH v2 03/74] fdtdump: Introduce get_structured_tag_data()

From: Herve Codina

Date: Mon Oct 19 2026 - 09:19:06 EST


Hi David,

On Fri, 16 Oct 2026 19:30:57 +1100
David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, Aug 26, 2026 at 11:48:32AM +0200, Herve Codina wrote:
> > With structured tag, data len can be encoded in the tag itself (no data,
> > 1 cell data, 2 cells) or with a dedicated cell (varlen) added between
> > the tag and the data.
> >
> > In multiple places, getting the data related to the tag will be needed.
> >
> > In order to avoid code duplication, introduce get_structured_tag_data()
> > which purpose is to get the tag data part and its length based on the
> > tag value.
> >
> > Signed-off-by: Herve Codina <herve.codina@xxxxxxxxxxx>
>
> This might as well be folded into the initial implementation of
> structured tags in the earlier series.

Ok, will be moved.

Best regards,
Hervé