On Thu, 27 Aug 2026 at 20:45, Daniel Henrique Barboza
<[email protected]> wrote:
>
>
>
> On 8/26/2026 7:05 PM, Joel Stanley wrote:
> > The machine state carries around the FDT size which isn't used by
> > anything.
>
> AFAIK no RISC-V boards are doing anything with the fdt_size return value
> from create_fdt() at this moment.  Maybe they were doing it in the past and
> we just kept it around.
>
> Probably something we could clean up in other boards too.

I noticed the same. It's dead code with the variable not checked, and
in some code paths the size is not even modified by libfdt.

It was at this point in development that I found myself making
tree-wide changes and writing coccinelle scripts. I backed down for
the moment, but watch this space.

Reply via email to