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/Include | |
parent | 3c13938079886e0e49031ab29a4f1ed7a4ceab68 (diff) | |
download | edk2-5a5440d0dcf0f83d17de3bf68498b4a0c1718c52.tar.gz |
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/Include')
-rw-r--r-- | ArmPlatformPkg/Include/Library/ArmPlatformLib.h | 10 | ||||
-rw-r--r-- | ArmPlatformPkg/Include/Library/PL011UartClockLib.h | 10 | ||||
-rw-r--r-- | ArmPlatformPkg/Include/Library/PL011UartLib.h | 10 |
3 files changed, 15 insertions, 15 deletions
diff --git a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h index 225183af2c..81cc90db55 100644 --- a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h +++ b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h @@ -1,9 +1,9 @@ /** @file
-*
-* Copyright (c) 2011-2013, ARM Limited. All rights reserved.
-*
-* SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+ Copyright (c) 2011-2013, ARM Limited. All rights reserved.
+
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
**/
#ifndef _ARMPLATFORMLIB_H_
diff --git a/ArmPlatformPkg/Include/Library/PL011UartClockLib.h b/ArmPlatformPkg/Include/Library/PL011UartClockLib.h index 2770688fb7..5814d960a6 100644 --- a/ArmPlatformPkg/Include/Library/PL011UartClockLib.h +++ b/ArmPlatformPkg/Include/Library/PL011UartClockLib.h @@ -1,9 +1,9 @@ /** @file
-*
-* Copyright 2018 NXP
-*
-* SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+ Copyright 2018 NXP
+
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
**/
#ifndef __PL011UARTCLOCKLIB_H__
diff --git a/ArmPlatformPkg/Include/Library/PL011UartLib.h b/ArmPlatformPkg/Include/Library/PL011UartLib.h index 3bd2e294b0..5446aabc5e 100644 --- a/ArmPlatformPkg/Include/Library/PL011UartLib.h +++ b/ArmPlatformPkg/Include/Library/PL011UartLib.h @@ -1,9 +1,9 @@ /** @file
-*
-* Copyright (c) 2011-2016, ARM Limited. All rights reserved.
-*
-* SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+ Copyright (c) 2011-2016, ARM Limited. All rights reserved.
+
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
**/
#ifndef __PL011_UART_LIB_H__
|