[PATCH 1/1] scripts/dtc: avoid discarded qualifiers in overlay_fixup_phandle

Tom Rini trini at konsulko.com
Fri Apr 24 20:50:54 CEST 2026


On Sat, 18 Apr 2026 20:15:10 +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);
>           |                     ^
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] scripts/dtc: avoid discarded qualifiers in overlay_fixup_phandle
      commit: c6faf583c4c2b237c42b7797794d00424248ea0d
-- 
Tom




More information about the U-Boot mailing list