Arm/platforms: fix build with gcc15
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.
Signed-off-by Jan Beulich <[email protected]>
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
Quoted 5 lines · Jan Beulich
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.
Signed-off-by Jan Beulich <[email protected]>
Acked-by Michal Orzel <[email protected]>
~Michal