From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 66DD1740040 for ; Wed, 13 Sep 2023 17:07:50 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=es6lmHcz2+I8AINRTsTZXrTKip6cyPzILl0jw1CTbm8=; c=relaxed/simple; d=groups.io; h=DKIM-Filter:From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1694624869; v=1; b=p4vCkXJO5IKEil5yJPis0hCnIIj48NXKNE73qwXwTrEuDCeUqcMtoYO+gcncQif+oxypgFo8 qpoRbcaymucIDJUHZxVDcIGwBKDzVKyySwdcUVMg8snkYgKyRHQ8J8fRrGujI4maRfdh0WEYoAL iG/MKX/izKupaB7x792gRjKc= X-Received: by 127.0.0.2 with SMTP id zuwzYY7687511x9dAojwj7po; Wed, 13 Sep 2023 10:07:49 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.2522.1694624868507534817 for ; Wed, 13 Sep 2023 10:07:48 -0700 X-Received: from gem-name-lb-02.localdomain (unknown [47.201.241.95]) by linux.microsoft.com (Postfix) with ESMTPSA id 73878212BC1B; Wed, 13 Sep 2023 10:07:47 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 73878212BC1B From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Jiewen Yao Subject: [edk2-devel] [PATCH v2 3/7] SecurityPkg.ci.yaml: Add debug macro exception Date: Wed, 13 Sep 2023 13:06:11 -0400 Message-ID: <20230913170617.429-4-mikuback@linux.microsoft.com> In-Reply-To: <20230913170617.429-1-mikuback@linux.microsoft.com> References: <20230913170617.429-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mikuback@linux.microsoft.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: Vj4Ttt4EUCM76ggPmoEUR7U9x7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=p4vCkXJO; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linux.microsoft.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io From: Michael Kubacki Adds a CI YAML entry to acknowledge a case where a single argument is matched to a format specifier with a ternary operator. Cc: Jiewen Yao Cc: Jian J Wang Signed-off-by: Michael Kubacki Reviewed-by: Jiewen Yao --- SecurityPkg/SecurityPkg.ci.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/SecurityPkg/SecurityPkg.ci.yaml b/SecurityPkg/SecurityPkg.ci= .yaml index 2138b0a5e21b..3f03762bd6f9 100644 --- a/SecurityPkg/SecurityPkg.ci.yaml +++ b/SecurityPkg/SecurityPkg.ci.yaml @@ -106,5 +106,14 @@ =20 "Defines": { "BLD_*_CONTINUOUS_INTEGRATION": "TRUE", + }, + + "DebugMacroCheck": { + "StringSubstitutions": { + # SecurityPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c + # Reason: Acknowledging use of two format specifiers in string= with one argument + # Replace ternary operator in debug string with single= specifier + 'Index =3D=3D COLUME_SIZE/2 ? " | %02x" : " %02x"': "%d" + } } } --=20 2.42.0.windows.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108603): https://edk2.groups.io/g/devel/message/108603 Mute This Topic: https://groups.io/mt/101341651/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-