diff options
author | Kun Qin <kun.q@outlook.com> | 2021-01-14 12:25:13 -0800 |
---|---|---|
committer | Kun Qin <kun.q@outlook.com> | 2021-02-01 10:01:02 -0800 |
commit | 4bae4f02f319a5874f19480733138c9eff460157 (patch) | |
tree | bc90bcb7fa4b6205e00f259752fa2ed1973075e8 /BaseTools/Source/Python/Ecc | |
parent | ea56ebf67dd55483105aa9f9996a48213e78337e (diff) | |
download | edk2-4bae4f02f319a5874f19480733138c9eff460157.tar.gz edk2-4bae4f02f319a5874f19480733138c9eff460157.tar.bz2 edk2-4bae4f02f319a5874f19480733138c9eff460157.zip |
BaseTools: Ecc/exception: Added _ModuleEntryPoint into exception list
Function '_ModuleEntryPoint' is a pre-defined interface for various EFI
module types and should not be caught violating EFI coding style. This
change added '_ModuleEntryPoint' into exception list to fix EFI coding
style error 8006 during CI build.
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Kun Qin <kun.q@outlook.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc')
-rw-r--r-- | BaseTools/Source/Python/Ecc/exception.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Ecc/exception.xml b/BaseTools/Source/Python/Ecc/exception.xml index 8133904fbc..f2334aab8e 100644 --- a/BaseTools/Source/Python/Ecc/exception.xml +++ b/BaseTools/Source/Python/Ecc/exception.xml @@ -297,6 +297,10 @@ <ErrorID>8006</ErrorID>
</Exception>
<Exception>
+ <KeyWord>_ModuleEntryPoint</KeyWord>
+ <ErrorID>8006</ErrorID>
+ </Exception>
+ <Exception>
<KeyWord>ASSERT</KeyWord>
<ErrorID>10015</ErrorID>
</Exception>
|