Re: [PATCH 1/3] libfdt: libfdt_internal.h correct final comment in ASSUME block

David Gibson <[email protected]> Wed, 10 Dec 2025 17:42:45 +1100
Newsgroups org.kernel.vger.devicetree-compiler
Message-ID <aTkWZSbWyXnF2ukY@zatzit>
On Tue, Dec 09, 2025 at 03:50:51PM -0600, Tom Rini wrote:
> The value "ASSUME_SANE" was never used in the project here, only
> ASSUME_PERFECT was used. Update the comment to reflect the correct name.
> 
> Fixes: 464962489dcc ("Add a way to control the level of checks in the code")
> Signed-off-by: Tom Rini <[email protected]>

Appplied, thanks.


> ---
>  libfdt/libfdt_internal.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libfdt/libfdt_internal.h b/libfdt/libfdt_internal.h
> index b60b5456f596..9eb32394eb79 100644
> --- a/libfdt/libfdt_internal.h
> +++ b/libfdt/libfdt_internal.h
> @@ -92,7 +92,7 @@ static inline uint64_t fdt64_ld_(const fdt64_t *p)
>   * signature or hash check before using libfdt.
>   *
>   * For situations where security is not a concern it may be safe to enable
> - * ASSUME_SANE.
> + * ASSUME_PERFECT.
>   */
>  enum {
>  	/*
> -- 
> 2.43.0
> 
> 

-- 
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmk5FlYACgkQzQJF27ox
2Gcmiw//cSnM0AbrhQ1vpzU522ko7m0uo8DLPPYz8XV35tzroN7tDw+h+GbqaM0p
O3sIO17T6aI0wJo8tZMA0OwsDoe4P0ZUgZurHbAYntAnHi54UySKFOZvEWfUI94B
VrgDz2shQseSQOpHvTsyRrA316Dz3w8UOG9Dw+P2uKdh9OnhQKpZGXq0Nq7lz2MT
tGrhs4ziGLCvrjwNCTx8P8g5S6LgPvYG1bvH+VW5RXHY7B60UjJBxaixHmdt045A
sVj1ZrnfW328gvz9AR345WGtkGSJ9RWoV57OdC9h1TeEUJWGEZjZrhtBpF1GBDKJ
2Jm82Ui95VwdL/oKUSEBzwdYc2dPJ44OLwitJddQk46hvqIgNpgcAVL89ek9H5/o
bMqCXAtBPtsqC5Xt7LkyM6Xxs1CniYLqHwANg8/KkcEcz8RjK/egDEN8dqpMNOEd
odCv6hbNf6eX1hszPoZZ3DcMyJYGAO2FZmFFVcM1Ugkoiakz+FugzeyFSnwEghti
GEbRzUwUnoSqu9197ky542lc6VoWkGBVuM7N4GZwIQhdljwfrmW3243iClAOa3I7
TcnfN8YYKz4u7wfON2YhX93/+qic4BH3CFr9cLBNHxvawWISIZs7KJ/a6kRW+Jp+
k1WWcxSwvCAuDPCHP9P88At30NpMvRqMmjWockQtENJHhRpLKAM=
=0c58
-----END PGP SIGNATURE-----