[edk2-devel] [PATCH v2 5/7] DynamicTablesPkg.ci.yaml: Add debug macro exception

Michael Kubacki mikuback at linux.microsoft.com
Mon Sep 18 19:27:02 UTC 2023


Thanks Sami, that's correct.

On 9/14/2023 5:22 AM, Sami Mujawar wrote:
> Hi Michael,
> 
> Apologies, I initially misunderstood what this patch was trying to do.
> As I understand this is an exception for one of the special cases to be handled differently by the plugin.
> 
> Acked-by: Sami Mujawar <sami.mujawar at arm.com>
> 
> Regards,
> 
> Sami Mujawar
> 
> On 14/09/2023, 09:42, "devel at edk2.groups.io <mailto:devel at edk2.groups.io> on behalf of Sami Mujawar via groups.io" <devel at edk2.groups.io <mailto:devel at edk2.groups.io> on behalf of sami.mujawar=arm.com at groups.io <mailto:arm.com at groups.io>> wrote:
> 
> 
> Hi Michael,
> 
> 
> I would prefer to have the debug macro checks enabled in DynamicTablesPkg to catch any issues.
> 
> 
> Please do not disable this feature for this package.
> 
> 
> Regards,
> 
> 
> Sami Mujawar
> 
> 
> On 13/09/2023, 18:08, "mikuback at linux.microsoft.com <mailto:mikuback at linux.microsoft.com> <mailto:mikuback at linux.microsoft.com <mailto:mikuback at linux.microsoft.com>>" <mikuback at linux.microsoft.com <mailto:mikuback at linux.microsoft.com> <mailto:mikuback at linux.microsoft.com <mailto:mikuback at linux.microsoft.com>>> wrote:
> 
> 
> 
> 
> From: Michael Kubacki <michael.kubacki at microsoft.com <mailto:michael.kubacki at microsoft.com> <mailto:michael.kubacki at microsoft.com <mailto:michael.kubacki at microsoft.com>>>
> 
> 
> 
> 
> Adds a CI YAML entry to acknowledge a case where custom strings
> contain print specifiers for a single debug macro.
> 
> 
> 
> 
> Cc: Sami Mujawar <Sami.Mujawar at arm.com <mailto:Sami.Mujawar at arm.com> <mailto:Sami.Mujawar at arm.com <mailto:Sami.Mujawar at arm.com>>>
> Cc: Alexei Fedorov <Alexei.Fedorov at arm.com <mailto:Alexei.Fedorov at arm.com> <mailto:Alexei.Fedorov at arm.com <mailto:Alexei.Fedorov at arm.com>>>
> Cc: Pierre Gondois <pierre.gondois at arm.com <mailto:pierre.gondois at arm.com> <mailto:pierre.gondois at arm.com <mailto:pierre.gondois at arm.com>>>
> Signed-off-by: Michael Kubacki <michael.kubacki at microsoft.com <mailto:michael.kubacki at microsoft.com> <mailto:michael.kubacki at microsoft.com <mailto:michael.kubacki at microsoft.com>>>
> ---
> DynamicTablesPkg/DynamicTablesPkg.ci.yaml | 8 ++++++++
> 1 file changed, 8 insertions(+)
> 
> 
> 
> 
> diff --git a/DynamicTablesPkg/DynamicTablesPkg.ci.yaml b/DynamicTablesPkg/DynamicTablesPkg.ci.yaml
> index 5addf8626841..1d41d44bbf33 100644
> --- a/DynamicTablesPkg/DynamicTablesPkg.ci.yaml
> +++ b/DynamicTablesPkg/DynamicTablesPkg.ci.yaml
> @@ -130,5 +130,13 @@
> # should be ignore
> "AdditionalIncludePaths": [] # Additional paths to spell check
> # (wildcards supported)
> + },
> +
> + "DebugMacroCheck": {
> + "StringSubstitutions": {
> + # DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
> + # Reason: Debug format strings are dynamically set.
> + "Parser[Index].Format": "%d"
> + }
> }
> }


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108805): https://edk2.groups.io/g/devel/message/108805
Mute This Topic: https://groups.io/mt/101341656/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list