diff options
author | Pierre Gondois <Pierre.Gondois@arm.com> | 2021-02-25 16:37:35 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-04-15 19:24:14 +0000 |
commit | 5a5440d0dcf0f83d17de3bf68498b4a0c1718c52 (patch) | |
tree | 6a944525cb07812e5102923c65b6e8ef067745ab /ArmPlatformPkg/Drivers/PL061GpioDxe | |
parent | 3c13938079886e0e49031ab29a4f1ed7a4ceab68 (diff) | |
download | edk2-5a5440d0dcf0f83d17de3bf68498b4a0c1718c52.tar.gz edk2-5a5440d0dcf0f83d17de3bf68498b4a0c1718c52.tar.bz2 edk2-5a5440d0dcf0f83d17de3bf68498b4a0c1718c52.zip |
ArmPlatformPkg: Fix Ecc error 8001
This patch fixes the following Ecc reported error:
File header doesn't exist File header comment missing
the ""Copyright""
Even though a copyright is present in the header file,
the leading '*' char prevents the Ecc tool from detecting it.
According to the edk2 coding specifcation, section 5.2.3
"File Heading", there should not be leading '*' char.
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'ArmPlatformPkg/Drivers/PL061GpioDxe')
-rw-r--r-- | ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c | 12 | ||||
-rw-r--r-- | ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c b/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c index be0e1c0963..3ecce23344 100644 --- a/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c +++ b/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c @@ -1,10 +1,10 @@ /** @file
-*
-* Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>
-* Copyright (c) 2016, Linaro Limited. All rights reserved.
-*
-* SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+ Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>
+ Copyright (c) 2016, Linaro Limited. All rights reserved.
+
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
**/
diff --git a/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h b/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h index 92ddf64b9b..57f56f7d37 100644 --- a/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h +++ b/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h @@ -1,9 +1,9 @@ /** @file
-*
-* Copyright (c) 2011-2012, ARM Limited. All rights reserved.
-*
-* SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+ Copyright (c) 2011-2012, ARM Limited. All rights reserved.
+
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
**/
|