public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Cc: Marek Vasut <marek.vasut+renesas@mailbox.org>, u-boot@lists.denx.de
Subject: Re: [PATCH 1/1] scripts/dtc: avoid discarded qualifiers in overlay_fixup_phandle
Date: Sat, 18 Apr 2026 13:09:21 -0600	[thread overview]
Message-ID: <20260418190921.GS41863@bill-the-cat> (raw)
In-Reply-To: <20260418181510.51490-1-heinrich.schuchardt@canonical.com>

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

On Sat, Apr 18, 2026 at 08:15:10PM +0200, Heinrich Schuchardt wrote:

> When building with GCC 15.2 the following warning show up:
> 
>     scripts/dtc/libfdt/fdt_overlay.c:422:21: warning:
>     assignment discards ‘const’ qualifier from pointer target type
>     [-Wdiscarded-qualifiers]
>       422 |                 sep = memchr(fixup_str, ':', fixup_len);
>           |                     ^
>     scripts/dtc/libfdt/fdt_overlay.c:432:21: warning:
>     assignment discards ‘const’ qualifier from pointer target type
>     [-Wdiscarded-qualifiers]
>       432 |                 sep = memchr(name, ':', fixup_len);
>           |                     ^
> 
> Define sep as const char *.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
>  scripts/dtc/libfdt/fdt_overlay.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Is this something already fixed in upstream dtc?

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-04-18 19:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-18 18:15 [PATCH 1/1] scripts/dtc: avoid discarded qualifiers in overlay_fixup_phandle Heinrich Schuchardt
2026-04-18 19:09 ` Tom Rini [this message]
2026-04-18 19:46   ` Heinrich Schuchardt
2026-04-18 19:49     ` Tom Rini
2026-04-18 20:01       ` Heinrich Schuchardt
2026-04-18 22:52         ` Tom Rini

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=20260418190921.GS41863@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=heinrich.schuchardt@canonical.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=u-boot@lists.denx.de \
    /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