From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.9525.1614086075397823834 for ; Tue, 23 Feb 2021 05:14:35 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 07D8431B; Tue, 23 Feb 2021 05:14:35 -0800 (PST) Received: from e120189.arm.com (unknown [10.57.9.161]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 013A93F70D; Tue, 23 Feb 2021 05:14:33 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io, ardb+tianocore@kernel.org, leif@nuviainc.com, sami.mujawar@arm.com Subject: [PATCH v3 12/26] ArmPkg: Fix Ecc error 5003 in ArmExceptionLib Date: Tue, 23 Feb 2021 13:13:52 +0000 Message-Id: <20210223131406.3484-13-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210223131406.3484-1-Pierre.Gondois@arm.com> References: <20210223131406.3484-1-Pierre.Gondois@arm.com> From: Pierre Gondois This patch fixes the following Ecc reported error: Function name should be left justified, followed by the beginning of the parameter list, with the closing parenthesis on its own line, indented two spaces Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar --- The changes can be seen at: https://github.com/PierreARM/edk2/tree/1552_Ecc_ArmPkg_BIS_v3 ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c | 4 +++- ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c b/ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c index 514f80a2d47a..fcf3dd16443e 100644 --- a/ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c +++ b/ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c @@ -2,6 +2,7 @@ * Exception Handling support specific for AArch64 * * Copyright (c) 2016 HP Development Company, L.P. +* Copyright (c) 2021, Arm Limited. All rights reserved.
* * SPDX-License-Identifier: BSD-2-Clause-Patent * @@ -27,7 +28,8 @@ RegisterEl0Stack ( IN VOID *Stack ); -RETURN_STATUS ArchVectorConfig( +RETURN_STATUS +ArchVectorConfig ( IN UINTN VectorBaseAddress ) { diff --git a/ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c b/ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c index 36c9f3f92616..40857c7f1faf 100644 --- a/ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c +++ b/ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c @@ -2,7 +2,7 @@ * Exception handling support specific for ARM * * Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
-* Copyright (c) 2014, ARM Limited. All rights reserved.
+* Copyright (c) 2014 - 2021, Arm Limited. All rights reserved.
* Copyright (c) 2016 HP Development Company, L.P.
* * SPDX-License-Identifier: BSD-2-Clause-Patent @@ -26,7 +26,8 @@ PHYSICAL_ADDRESS gExceptionVectorAlignmentMask = ARM_VECTOR_TABLE_ALIGNME // NOTE: This code assumes vectors are ARM and not Thumb code UINTN gDebuggerNoHandlerValue = 0xEAFFFFFE; -RETURN_STATUS ArchVectorConfig( +RETURN_STATUS +ArchVectorConfig ( IN UINTN VectorBaseAddress ) { -- 2.17.1