Re: [RFC PATCH 02/15] fdtdump: Remove dtb version check
From: David Gibson
Date: Fri Feb 13 2026 - 21:17:47 EST
On Tue, Feb 10, 2026 at 06:33:30PM +0100, Herve Codina wrote:
> fdtdump checks the dtb version and simply failed if the dtb version is
> newer than the last version supported by fdtdump.
>
> This check is not needed and too restrictive. Indeed, fdtdump does
> read-only operations on the dtb provided and should rely only the
> last_comp_version header field to know whether or not it can read the
> dtb.
>
> The current check also avoid the use of fdtdump in tests checking for
> the libfdt behavior when an new (future) dtb version is used.
>
> Relax fdtdump checks removing the check of the dtb version header field.
>
> Signed-off-by: Herve Codina <herve.codina@xxxxxxxxxxx>
Applied, thanks.
--
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