summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorKun Qin <kun.q@outlook.com>2021-01-14 12:25:13 -0800
committerKun Qin <kun.q@outlook.com>2021-02-01 10:01:02 -0800
commit4bae4f02f319a5874f19480733138c9eff460157 (patch)
treebc90bcb7fa4b6205e00f259752fa2ed1973075e8 /BaseTools
parentea56ebf67dd55483105aa9f9996a48213e78337e (diff)
downloadedk2-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')
-rw-r--r--BaseTools/Source/Python/Ecc/exception.xml4
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>