summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Gondois <Pierre.Gondois@arm.com>2020-12-10 10:55:34 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-01-06 16:22:54 +0000
commit8b8b52ff0ca6123fff514381cd8766c11024460d (patch)
tree18a346ff775418689aee00dc93bfe38c17d37b1f
parent13dcf62877a4cedba049d0e23f15131b06ec9340 (diff)
downloadedk2-8b8b52ff0ca6123fff514381cd8766c11024460d.zip
edk2-8b8b52ff0ca6123fff514381cd8766c11024460d.tar.gz
edk2-8b8b52ff0ca6123fff514381cd8766c11024460d.tar.bz2
ArmPkg: Fix Ecc error 5005 in ArmExceptionLib
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>
-rw-r--r--ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.c b/ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.c
index 1ff90de..6edda81 100644
--- a/ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.c
+++ b/ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.c
@@ -2,7 +2,7 @@
* Main file supporting the SEC Phase for Versatile Express
*
* Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
-* Copyright (c) 2011-2014, ARM Limited. All rights reserved.
+* Copyright (c) 2011-2021, Arm Limited. All rights reserved.<BR>
* Copyright (c) 2016 HP Development Company, L.P.
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -253,7 +253,8 @@ RETURN_STATUS
RegisterCpuInterruptHandler(
IN EFI_EXCEPTION_TYPE ExceptionType,
IN EFI_CPU_INTERRUPT_HANDLER ExceptionHandler
- ) {
+ )
+{
if (ExceptionType > gMaxExceptionNumber) {
return RETURN_UNSUPPORTED;
}