]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Fix Ecc error 5003 in ArmExceptionLib
authorPierre Gondois <Pierre.Gondois@arm.com>
Tue, 22 Dec 2020 12:21:04 +0000 (12:21 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 15 Apr 2021 19:53:39 +0000 (19:53 +0000)
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 <Pierre.Gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c
ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c

index 514f80a2d47afa0686395c597b398df0b98e7d39..fcf3dd16443eadf23736ea2172831b8440bbb6b8 100644 (file)
@@ -2,6 +2,7 @@
 *  Exception Handling support specific for AArch64\r
 *\r
 *  Copyright (c) 2016 HP Development Company, L.P.\r
+*  Copyright (c) 2021, Arm Limited. All rights reserved.<BR>\r
 *\r
 *  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 *\r
@@ -27,7 +28,8 @@ RegisterEl0Stack (
   IN  VOID    *Stack\r
   );\r
 \r
-RETURN_STATUS ArchVectorConfig(\r
+RETURN_STATUS\r
+ArchVectorConfig (\r
   IN  UINTN       VectorBaseAddress\r
   )\r
 {\r
index 36c9f3f92616def46472d25c5d21430d274280fe..40857c7f1fafec48fe2529f474bdf919bd6a3245 100644 (file)
@@ -2,7 +2,7 @@
 *  Exception handling support specific for ARM\r
 *\r
 * Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-* Copyright (c) 2014, ARM Limited. All rights reserved.<BR>\r
+* Copyright (c) 2014 - 2021, Arm Limited. All rights reserved.<BR>\r
 * Copyright (c) 2016 HP Development Company, L.P.<BR>\r
 *\r
 *  SPDX-License-Identifier: BSD-2-Clause-Patent\r
@@ -26,7 +26,8 @@ PHYSICAL_ADDRESS        gExceptionVectorAlignmentMask = ARM_VECTOR_TABLE_ALIGNME
 // NOTE: This code assumes vectors are ARM and not Thumb code\r
 UINTN                   gDebuggerNoHandlerValue = 0xEAFFFFFE;\r
 \r
-RETURN_STATUS ArchVectorConfig(\r
+RETURN_STATUS\r
+ArchVectorConfig (\r
   IN  UINTN       VectorBaseAddress\r
   )\r
 {\r