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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Bingwu Zhang <xtexchooser@xxxxxxxx>

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
-- 
2.47.0





[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux