[edk2-devel] [PATCH 1/4] ArmPkg: Apply Uncrustify to Non-Compliant Files
Taylor Beebe
t at taylorbeebe.com
Thu Jun 29 16:17:55 UTC 2023
From: Taylor Beebe <tabeebe at microsoft.com>
This patch applies Uncrustify to the following files:
ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
ArmPkg/Include/IndustryStandard/ArmStdSmc.h
Cc: Leif Lindholm <quic_llindhol at quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
Signed-off-by: Taylor Beebe <t at taylorbeebe.com>
---
ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c | 6 +++---
ArmPkg/Include/IndustryStandard/ArmStdSmc.h | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c b/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
index 5dbe99fc3134..ccb182668d6a 100644
--- a/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
+++ b/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
@@ -159,8 +159,8 @@ MmCommunicationPeim (
}
CopyMem (CommBuffer, CommunicateHeader, BufferSize);
- *CommSize = BufferSize;
- Status = EFI_SUCCESS;
+ *CommSize = BufferSize;
+ Status = EFI_SUCCESS;
break;
case ARM_SMC_MM_RET_INVALID_PARAMS:
@@ -197,7 +197,7 @@ STATIC CONST EFI_PEI_MM_COMMUNICATION_PPI mPeiMmCommunication = {
STATIC CONST EFI_PEI_PPI_DESCRIPTOR mPeiMmCommunicationPpi = {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gEfiPeiMmCommunicationPpiGuid,
- (VOID*)&mPeiMmCommunication
+ (VOID *)&mPeiMmCommunication
};
/**
diff --git a/ArmPkg/Include/IndustryStandard/ArmStdSmc.h b/ArmPkg/Include/IndustryStandard/ArmStdSmc.h
index 616c650d07c8..f3d78d8e789b 100644
--- a/ArmPkg/Include/IndustryStandard/ArmStdSmc.h
+++ b/ArmPkg/Include/IndustryStandard/ArmStdSmc.h
@@ -248,9 +248,9 @@
* SMC64 SiP Service Calls
*/
-#define SMC_FASTCALL 0x80000000
-#define SMC64_FUNCTION (SMC_FASTCALL | 0x40000000)
-#define SMC_SIP_FUNCTION (SMC64_FUNCTION | 0x02000000)
-#define SMC_SIP_FUNCTION_ID(n) (SMC_SIP_FUNCTION | (n))
+#define SMC_FASTCALL 0x80000000
+#define SMC64_FUNCTION (SMC_FASTCALL | 0x40000000)
+#define SMC_SIP_FUNCTION (SMC64_FUNCTION | 0x02000000)
+#define SMC_SIP_FUNCTION_ID(n) (SMC_SIP_FUNCTION | (n))
#endif // ARM_STD_SMC_H_
--
2.41.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#106518): https://edk2.groups.io/g/devel/message/106518
Mute This Topic: https://groups.io/mt/99854261/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list