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 EB708780091 for ; Mon, 14 Aug 2023 20:49:52 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=CPmpMcYWuSnbBfKdArjmWGkbrQWnIBMrkwKm7Glmo/c=; 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=1692046191; v=1; b=A+rW8nePfGQ1hzgoryUhAaM8nbWkxXppxDMpF3Q9uSW5MlWbzfuAigiW8/XO/v7IdXttDaR3 xeqCFQzmOTSTPcHD7eh+xOCW3KhT0s9AFB7bGmDLzEw98mwDfS88We4SK11tgLNnN4FLJyFj5sE 9ZyrU7wr+8HuhDkpimRwLts0= X-Received: by 127.0.0.2 with SMTP id JVoBYY7687511x9FO06iuFSj; Mon, 14 Aug 2023 13:49:51 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.118949.1692046190994230908 for ; Mon, 14 Aug 2023 13:49:51 -0700 X-Received: from localhost.localdomain (unknown [47.201.241.95]) by linux.microsoft.com (Postfix) with ESMTPSA id 389C32109429; Mon, 14 Aug 2023 13:49:50 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 389C32109429 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang Subject: [edk2-devel] [PATCH v1 3/7] SecurityPkg.ci.yaml: Add debug macro exception Date: Mon, 14 Aug 2023 16:48:54 -0400 Message-ID: <20230814204859.257-4-mikuback@linux.microsoft.com> In-Reply-To: <20230814204859.257-1-mikuback@linux.microsoft.com> References: <20230814204859.257-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: JIObORthQUgnYsVf4bkR4dVXx7686176AA= 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=A+rW8neP; 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 --- 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.41.0.windows.3 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107738): https://edk2.groups.io/g/devel/message/107738 Mute This Topic: https://groups.io/mt/100745703/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-