Re: [RFC PATCH 02/15] fdtdump: Remove dtb version check

David Gibson
2026-02-14T02:17:24Z

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]

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@bootlin.com>

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]