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.f...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Yuwei Chen <yuwei.c...@intel.com> Signed-off-by: Kun Qin <ku...@outlook.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Bob Feng <bob.c.f...@intel.com> --- Notes: v4: - Added reviewed-by tags [Bob] - Added reviewed-by tags [Liming] v3: - Newly added to fix CI build on changing '_ModuleEntryPoint' BaseTools/Source/Python/Ecc/exception.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BaseTools/Source/Python/Ecc/exception.xml b/BaseTools/Source/Python/Ecc/exception.xml index 8133904fbc7f..f2334aab8e52 100644 --- a/BaseTools/Source/Python/Ecc/exception.xml +++ b/BaseTools/Source/Python/Ecc/exception.xml @@ -296,6 +296,10 @@ <KeyWord>_DriverUnloadHandler</KeyWord> <ErrorID>8006</ErrorID> </Exception> + <Exception> + <KeyWord>_ModuleEntryPoint</KeyWord> + <ErrorID>8006</ErrorID> + </Exception> <Exception> <KeyWord>ASSERT</KeyWord> <ErrorID>10015</ErrorID> -- 2.30.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#70787): https://edk2.groups.io/g/devel/message/70787 Mute This Topic: https://groups.io/mt/80139691/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-