From 13dcf62877a4cedba049d0e23f15131b06ec9340 Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Thu, 10 Dec 2020 10:54:12 +0000 Subject: ArmPkg: Fix Ecc error 5005 in CpuDxe 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 Reviewed-by: Ard Biesheuvel --- ArmPkg/Drivers/CpuDxe/Exception.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ArmPkg/Drivers/CpuDxe/Exception.c b/ArmPkg/Drivers/CpuDxe/Exception.c index 50ed50ebb0..503c882a3f 100644 --- a/ArmPkg/Drivers/CpuDxe/Exception.c +++ b/ArmPkg/Drivers/CpuDxe/Exception.c @@ -1,7 +1,7 @@ /** @file Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
- Portions Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.
+ Portions Copyright (c) 2011 - 2021, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -14,7 +14,8 @@ EFI_STATUS InitializeExceptions ( IN EFI_CPU_ARCH_PROTOCOL *Cpu - ) { + ) +{ EFI_STATUS Status; EFI_VECTOR_HANDOFF_INFO *VectorInfoList; EFI_VECTOR_HANDOFF_INFO *VectorInfo; @@ -92,7 +93,8 @@ EFI_STATUS RegisterInterruptHandler( IN EFI_EXCEPTION_TYPE InterruptType, IN EFI_CPU_INTERRUPT_HANDLER InterruptHandler - ) { + ) +{ // pass down to CpuExceptionHandlerLib return (EFI_STATUS)RegisterCpuInterruptHandler(InterruptType, InterruptHandler); } -- cgit v1.2.3