Skip to content

libfdt: Fix -Wextra -Wpedantic warnings

Bingwu Zhang devicetree-compiler linux-devicetree 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2libfdt: Suppress a unused parameter warning in overlay_fixup_one_phandlelibfdt/fdt_overlay.c+1 -03 replies
2/2libfdt: Remove extra semi-colons outside functionslibfdt/fdt_overlay.c libfdt/libfdt.h+11 -111 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] libfdt: Fix -Wextra -Wpedantic warnings

From: Bingwu Zhang <[email protected]>

This fixes several warning when compiling with CFLAGS='-Wall -Wextra
-Wpedantic'. When using together with '-Werror' flag, these warnings becomes fatal errors that fails the build.

Both of the original errors and fixes for them are tested with GCC 13
and clang 18.

Bingwu Zhang (2):
libfdt: Suppress a unused parameter warning in
overlay_fixup_one_phandle
libfdt: Remove extra semi-colons outside functions

 libfdt/fdt_overlay.c |  3 ++-
 libfdt/libfdt.h      | 20 ++++++++++----------
 2 files changed, 12 insertions(+), 11 deletions(-)

base-commit: 2d10aa2afe35527728db30b35ec491ecb6959e5c

Signature · 1 line
2.47.0