Skip to content

Fix inclusion guards

Andre Przywara u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5imx: fix header inclusion guardsarch/arm/include/asm/arch-imx8m/sys_proto.h arch/arm/include/asm/arch-imx8ulp/sys_proto.h arch/arm/include/asm/arch-imx9/sys_proto.h +1 more+4 -41 reply
2/5arm: uniphier: fix header inclusion guardarch/arm/mach-uniphier/dram/ddrphy-init.h+1 -11 reply
3/5freescale: fix header inclusion guardboard/freescale/common/vsc3316_3308.h+1 -14 replies
4/5exynos: fix header inclusion guarddrivers/pinctrl/exynos/pinctrl-exynos.h+1 -12 replies
5/5faraday: remove orphaned header fileinclude/faraday/ftahbc020s.h+0 -462 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchTom Rini
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Fix inclusion guards

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/[email protected]/

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
Signature · 1 line
2.25.1