From: David Gibson <david@gibson.dropbear.id.au>
To: Tom Rini <trini@konsulko.com>
Cc: devicetree-compiler@vger.kernel.org
Subject: Re: [PATCH 1/3] libfdt: libfdt_internal.h correct final comment in ASSUME block
Date: Wed, 10 Dec 2025 17:42:45 +1100 [thread overview]
Message-ID: <aTkWZSbWyXnF2ukY@zatzit> (raw)
In-Reply-To: <20251210022002.3004223-2-trini@konsulko.com>
[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]
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 <trini@konsulko.com>
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-12-10 6:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-09 21:50 [PATCH 0/3] libfdt: A few more size improvements Tom Rini
2025-12-09 21:50 ` [PATCH 1/3] libfdt: libfdt_internal.h correct final comment in ASSUME block Tom Rini
2025-12-10 6:42 ` David Gibson [this message]
2025-12-09 21:50 ` [PATCH 2/3] libfdt: Improve size savings in FDT_RO_PROBE slightly Tom Rini
2025-12-10 6:46 ` David Gibson
2025-12-09 21:50 ` [PATCH 3/3] libfdt: fdt_get_name: Add can_assume(VALID_DTB) check Tom Rini
2025-12-10 6:47 ` David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aTkWZSbWyXnF2ukY@zatzit \
--to=david@gibson.dropbear.id.au \
--cc=devicetree-compiler@vger.kernel.org \
--cc=trini@konsulko.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).