diff options
author | Pierre Gondois <Pierre.Gondois@arm.com> | 2020-12-10 10:54:12 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-01-06 16:22:54 +0000 |
commit | 13dcf62877a4cedba049d0e23f15131b06ec9340 (patch) | |
tree | fa645ca5692804f0545f7802a2573ff410b394da /ArmPkg/Drivers | |
parent | 17ad8ce7b38b52e9a0db2eb193fe89667feeb2fb (diff) | |
download | edk2-13dcf62877a4cedba049d0e23f15131b06ec9340.tar.gz edk2-13dcf62877a4cedba049d0e23f15131b06ec9340.tar.bz2 edk2-13dcf62877a4cedba049d0e23f15131b06ec9340.zip |
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 <Pierre.Gondois@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Diffstat (limited to 'ArmPkg/Drivers')
-rw-r--r-- | ArmPkg/Drivers/CpuDxe/Exception.c | 8 |
1 files 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.<BR>
- Portions Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>
+ Portions Copyright (c) 2011 - 2021, Arm Limited. All rights reserved.<BR>
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);
}
|