Re: [RFC PATCH v2 04/74] libfdt: Introduce fdt_get_structured_tag_data()
From: Herve Codina
Date: Mon Oct 19 2026 - 09:34:12 EST
Hi David,
On Mon, 19 Oct 2026 11:24:17 +1100
David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, Aug 26, 2026 at 11:48:33AM +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.
> >
> > To avoid code duplication, introduce fdt_get_structured_tag_data() which
> > purpose is to get the tag data part and its length based on the tag
> > value.
>
> I'd prefer to see this folded into the series introducing structured
> tags: the final result is no more complex than it started, so folding
> th patches reduces churn and makes it easier to review.
>
Ok, will be moved.
Best regards,
Hervé