]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Fix Ecc error 5005 in CpuDxe
authorPierre Gondois <Pierre.Gondois@arm.com>
Thu, 10 Dec 2020 10:54:12 +0000 (10:54 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 6 Jan 2021 16:22:54 +0000 (16:22 +0000)
This patch fixes the following Ecc reported error:
The body of a function should be contained by open
and close braces that must be in the first column

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
ArmPkg/Drivers/CpuDxe/Exception.c

index 50ed50ebb04616008586a26821b8c5d396e1d0a4..503c882a3ff20aae24de747d360eb4432689781e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-  Portions Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>\r
+  Portions Copyright (c) 2011 - 2021, Arm Limited. All rights reserved.<BR>\r
 \r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
@@ -14,7 +14,8 @@
 EFI_STATUS\r
 InitializeExceptions (\r
   IN EFI_CPU_ARCH_PROTOCOL    *Cpu\r
-  ) {\r
+  )\r
+{\r
   EFI_STATUS                      Status;\r
   EFI_VECTOR_HANDOFF_INFO         *VectorInfoList;\r
   EFI_VECTOR_HANDOFF_INFO         *VectorInfo;\r
@@ -92,7 +93,8 @@ EFI_STATUS
 RegisterInterruptHandler(\r
   IN EFI_EXCEPTION_TYPE             InterruptType,\r
   IN EFI_CPU_INTERRUPT_HANDLER      InterruptHandler\r
-  ) {\r
+  )\r
+{\r
   // pass down to CpuExceptionHandlerLib\r
   return (EFI_STATUS)RegisterCpuInterruptHandler(InterruptType, InterruptHandler);\r
 }\r