diff options
| author | Heinrich Schuchardt <[email protected]> | 2026-04-18 20:15:10 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-04-24 11:28:20 -0600 |
| commit | c6faf583c4c2b237c42b7797794d00424248ea0d (patch) | |
| tree | b9a54598ffcb3283d53703010a9bd9bcd6979ffa /scripts/Makefile.lib | |
| parent | b67267c6211528747faf0552b82e2170aede5045 (diff) | |
scripts/dtc: avoid discarded qualifiers in overlay_fixup_phandle
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 <[email protected]>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions
