summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/XenIoPvhDxe
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2021-12-05 14:54:09 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-07 17:24:28 +0000
commitac0a286f4d747a4c6c603a7b225917293cbe1e9f (patch)
tree32654f2b35755afc961e2c97296b2dec5762da75 /OvmfPkg/XenIoPvhDxe
parentd1050b9dff1cace252aff86630bfdb59dff5f507 (diff)
downloadedk2-ac0a286f4d747a4c6c603a7b225917293cbe1e9f.tar.gz
OvmfPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the OvmfPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Andrew Fish <afish@apple.com>
Diffstat (limited to 'OvmfPkg/XenIoPvhDxe')
-rw-r--r--OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.c b/OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.c
index 9264a85df1..f76564b2f2 100644
--- a/OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.c
+++ b/OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.c
@@ -18,15 +18,15 @@
EFI_STATUS
EFIAPI
InitializeXenIoPvhDxe (
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
+ IN EFI_HANDLE ImageHandle,
+ IN EFI_SYSTEM_TABLE *SystemTable
)
{
- VOID *Allocation;
- EFI_STATUS Status;
- EFI_HANDLE XenIoHandle;
+ VOID *Allocation;
+ EFI_STATUS Status;
+ EFI_HANDLE XenIoHandle;
- Allocation = NULL;
+ Allocation = NULL;
XenIoHandle = NULL;
if (!XenPvhDetected ()) {
@@ -39,7 +39,7 @@ InitializeXenIoPvhDxe (
goto Error;
}
- Status = XenIoMmioInstall (&XenIoHandle, (UINTN) Allocation);
+ Status = XenIoMmioInstall (&XenIoHandle, (UINTN)Allocation);
if (EFI_ERROR (Status)) {
goto Error;
}
@@ -50,5 +50,6 @@ Error:
if (Allocation != NULL) {
FreePages (Allocation, FixedPcdGet32 (PcdXenGrantFrames));
}
+
return Status;
}