Skip to contentSkip to conversation

Arm/platforms: fix build with gcc15

PATCH In review Jan Beulich 2 participants 2 messages Aug 25, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Arm/platforms: fix build with gcc15

For two of the headers gcc15 complains "header guard ... followed by '#define' of a different macro". Misra certainly wouldn't have liked this either, if these headers were covered by a scan.

xen/arch/arm/include/asm/platforms/midway.h +1 -1
@@ -1,5 +1,5 @@
 #ifndef __ASM_ARM_PLATFORMS_MIDWAY_H
-#define __ASM_ASM_PLATFORMS_MIDWAY_H
+#define __ASM_ARM_PLATFORMS_MIDWAY_H
 
 /* addresses of SREG registers for resetting the SoC */
 #define MW_SREG_PWR_REQ             0xfff3cf00
xen/arch/arm/include/asm/platforms/omap5.h +1 -1
@@ -1,5 +1,5 @@
 #ifndef __ASM_ARM_PLATFORMS_OMAP5_H
-#define __ASM_ASM_PLATFORMS_OMAP5_H
+#define __ASM_ARM_PLATFORMS_OMAP5_H
 
 #define REALTIME_COUNTER_BASE                   0x48243200
 #define INCREMENTER_NUMERATOR_OFFSET            0x10