diff options
author | Pierre Gondois <Pierre.Gondois@arm.com> | 2021-04-20 12:00:23 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-04-28 12:03:51 +0000 |
commit | cc15a619a6fe527b6a00cbea3a0359a9c9c8602b (patch) | |
tree | fc81e8d7e68c87b6a89d1a82fd783f2a2d471e71 /ArmPkg/Include/Guid | |
parent | 5b90b8abb4049e2d98040f548ad23b6ab22d5d19 (diff) | |
download | edk2-cc15a619a6fe527b6a00cbea3a0359a9c9c8602b.tar.gz edk2-cc15a619a6fe527b6a00cbea3a0359a9c9c8602b.tar.bz2 edk2-cc15a619a6fe527b6a00cbea3a0359a9c9c8602b.zip |
ArmPkg: Fix Ecc error 8003
This patch fixes the following Ecc reported error:
The #ifndef at the start of an include file should have
one postfix underscore, and no prefix underscore character
Some include guards have been modified to match the name of the
header file. Some comments have also been added on the closing
'#endif'.
Cc: Bret Barkelew <bret.barkelew@microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'ArmPkg/Include/Guid')
-rw-r--r-- | ArmPkg/Include/Guid/ArmMpCoreInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ArmPkg/Include/Guid/ArmMpCoreInfo.h b/ArmPkg/Include/Guid/ArmMpCoreInfo.h index 3f9d17bb72..b810767879 100644 --- a/ArmPkg/Include/Guid/ArmMpCoreInfo.h +++ b/ArmPkg/Include/Guid/ArmMpCoreInfo.h @@ -6,8 +6,8 @@ *
**/
-#ifndef __ARM_MP_CORE_INFO_GUID_H_
-#define __ARM_MP_CORE_INFO_GUID_H_
+#ifndef ARM_MP_CORE_INFO_GUID_H_
+#define ARM_MP_CORE_INFO_GUID_H_
#define MAX_CPUS_PER_MPCORE_SYSTEM 0x04
#define SCU_CONFIG_REG_OFFSET 0x04
@@ -57,4 +57,4 @@ typedef struct { extern EFI_GUID gArmMpCoreInfoGuid;
-#endif /* MPCOREINFO_H_ */
+#endif /* ARM_MP_CORE_INFO_GUID_H_ */
|