回复: [edk2-devel] [Patch 07/12] MdePkg: Update YAML to ignore specific ECC files/errors


gaoliming
 

Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

-----邮件原件-----
发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Michael D
Kinney
发送时间: 2021年11月24日 5:21
收件人: devel@edk2.groups.io
抄送: Liming Gao <gaoliming@byosoft.com.cn>; Zhiguang Liu
<zhiguang.liu@intel.com>; Sean Brogan <sean.brogan@microsoft.com>; Bret
Barkelew <Bret.Barkelew@microsoft.com>; Michael Kubacki
<michael.kubacki@microsoft.com>
主题: [edk2-devel] [Patch 07/12] MdePkg: Update YAML to ignore specific
ECC files/errors

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3749

Update package YAML files to ignore ECC errors that are
already present. These issues must be fixed in the future,
but should not block source code changes for these known
issues.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
---
MdePkg/MdePkg.ci.yaml | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/MdePkg/MdePkg.ci.yaml b/MdePkg/MdePkg.ci.yaml
index 3ea8eec33152..054233ebc7bd 100644
--- a/MdePkg/MdePkg.ci.yaml
+++ b/MdePkg/MdePkg.ci.yaml
@@ -17,10 +17,42 @@
## "<ErrorID>", "<KeyWord>"
## ]
"ExceptionList": [
+ "9005", "@VDD",
+ "8005", "gST",
+ "8005", "gBS",
+ "8005", "gDS",
+ "8005", "gDS",
+ "8002", "va_list",
+ "8005",
"EFI_BLUETOOTH_LE_SCAN_CALLBACK_INFORMATION.RSSI",
+ "8005", "void",
+ "8005", "va_list.__ap",
+ "8005", "__stack_chk_guard",
+ "8001", "MSG_IPv6_DP",
+ "8001", "MSG_IPv4_DP",
+ "8001", "DEFAULT_ToS",
+ "8001", "EFI_SERIAL_IO_PROTOCOL_REVISION1p1",
+ "8001", "EFI_ABS_AltActive",
+ "8001", "EFI_ABSP_SupportsAltActive",
+ "8001", "_ReadWriteBarrier",
+ "8001", "__va_copy",
+ "8003", "__va_copy",
+ "7007", "_EFI_LEGACY_SPI_CONTROLLER_PROTOCOL",
+ "7007", "_EFI_LEGACY_SPI_FLASH_PROTOCOL",
+ "7007", "_EFI_SPI_NOR_FLASH_PROTOCOL",
+ "7007", "_EFI_SPI_HC_PROTOCOL",
+ "8002", "aligned (",
+ "4002", "_ReturnAddress"
],
## Both file path and directory path are accepted.
"IgnoreFiles": [
- "Include/IndustryStandard/Acpi64.h"
+ "Include/IndustryStandard/Acpi64.h",
+ "Include/IndustryStandard/Tpm12.h",
+ "Include/IndustryStandard/Tpm20.h",
+ "Include/IndustryStandard/IoRemappingTable.h",
+ "Include/IndustryStandard/UefiTcgPlatform.h",
+ "Include/Library/PcdLib.h",
+ "Include/Library/SafeIntLib.h",
+ "Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLib.c"
]
},
## options defined ci/Plugin/CompilerPlugin
--
2.32.0.windows.1