From 8b8b52ff0ca6123fff514381cd8766c11024460d Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Thu, 10 Dec 2020 10:55:34 +0000 Subject: 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 Reviewed-by: Ard Biesheuvel --- ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ArmPkg/Library') 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.
-* Copyright (c) 2011-2014, ARM Limited. All rights reserved. +* Copyright (c) 2011-2021, Arm Limited. All rights reserved.
* 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; } -- cgit v1.1