Re: [RFC PATCH 02/15] fdtdump: Remove dtb version check
David Gibson <[email protected]> Sat, 14 Feb 2026 13:12:08 +1100
| Newsgroups | org.kernel.vger.devicetree-spec,org.kernel.vger.devicetree-compiler,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <aY_Z-EDbUwCoxWT8@zatzit> |
--BeDI6Qa22isVpmj7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 > The current check also avoid the use of fdtdump in tests checking for > the libfdt behavior when an new (future) dtb version is used. >=20 > Relax fdtdump checks removing the check of the dtb version header field. >=20 > Signed-off-by: Herve Codina <[email protected]> Applied, thanks. --=20 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 --BeDI6Qa22isVpmj7 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmmP2e0ACgkQzQJF27ox 2GeNSA/9GHl2lAtcp7tCHpGk+wKK/SbowX46X7KN+rhw6Lq4ZtbSo5AvDljMit9i tyr3/7ZWGnZJG+zx2ieUURsDj/FHNSXeQ4nbkQyzXzLYKLoXn5378p/p/6H9Ibza UyIRab27ZtjX/TAy5Pr+7BoGVCbEoiC5X9Vpq6Y5NdHP20G9WTr8v7YLiPEWEMvC 7zndyXO5lXuKkL07Jb7ova5oFU26y9HdLHIqGjhsHoqpYNPmK7oI/RE62iK+ZXXk dIGVotL6zhF/S+hDXWrMHhd6H5d0Z69utjwrsCfNh9D7U8PaQxEeFH2ABzsMFS9N yoIwSZoefqfoZg/pxlFFSFG1KH37tUIMWz/8hzfSNJLnkpDIxfGv2zLSHgriaiOO BZIPW4YxeButgUDf1zLfwzV/SPu3vFbPXqs//Xlu665YJK+RDpBCr9ITnzkWf/CA 6uwOO3k0UMkRGHg1MeNxpUKGgO3Y0krbzQE5QmzNc+WnKb0vQYZJfuBA2W1Td9UD kxzkMHnOPyPnkPx62PvI9IJ4WvpVcyLlFJoPbDuBDGhx4AznLOMAh21y6ERv5Jdz UPVmqe865sHn1JTanf0rV2qeaQec6oTcDMAWJ4Xbc3TKZNwsUPlEMBkE4k2yufnw YWoIcIl8J0OQWnwEeYyK0ZQo0ymu162Vw8FTGkCI+jtW2aZHS6w= =Jnv2 -----END PGP SIGNATURE----- --BeDI6Qa22isVpmj7--