[PATCH 0/5] Fix inclusion guards

Andre Przywara andre.przywara at arm.com
Mon May 15 15:52:09 CEST 2023


A patch by Sam [1] reminded me to check for misspelled inclusion guards.
I wrote some crude tool, with a high false positive rate, and was able
to find some other occurences where the "#ifndef" and "#define" parts
were not matching.

Those patches fix those preprocessor symbols. One header wasn't actually
used anymore, so just remove that whole file.

Cheers,
Andre

[1] https://lore.kernel.org/u-boot/20230512212214.130908-1-CFSworks@gmail.com/

Andre Przywara (5):
  imx: fix header inclusion guards
  arm: uniphier: fix header inclusion guard
  freescale: fix header inclusion guard
  exynos: fix header inclusion guard
  faraday: remove orphaned header file

 arch/arm/include/asm/arch-imx8m/sys_proto.h   |  2 +-
 arch/arm/include/asm/arch-imx8ulp/sys_proto.h |  2 +-
 arch/arm/include/asm/arch-imx9/sys_proto.h    |  2 +-
 arch/arm/mach-uniphier/dram/ddrphy-init.h     |  2 +-
 board/freescale/common/vsc3316_3308.h         |  2 +-
 drivers/pinctrl/exynos/pinctrl-exynos.h       |  2 +-
 include/faraday/ftahbc020s.h                  | 46 -------------------
 include/imx_sip.h                             |  2 +-
 8 files changed, 7 insertions(+), 53 deletions(-)
 delete mode 100644 include/faraday/ftahbc020s.h

-- 
2.25.1



More information about the U-Boot mailing list