From nobody Mon Sep 16 19:03:37 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+108603+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+108603+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1694624869; cv=none; d=zohomail.com; s=zohoarc; b=huwhgI16aPn5Ryh/ubloMaGNlnMihZIOVhgtdx21IVFtk443JrVNpvKkxqIj5eJMPGSBoUBjWj60sOlIPVXYiy3+n5Ie6WBF9Se/vtLjWJaPNKh1XfprTcdyj1zy3fE5kJCPjTmBErOgxUZh7fRAt5FzOz/5GJhgdaxGVZVlO6k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694624869; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=sPyHeQikK8erP5PZo5jAJYZ+dWItK/SqVeDXy6PDF2A=; b=bB9uDB9mq9mnL0QwLtE8L7bpA29jfZJePOXKu3o//tHzrnZNOEPjT19Z6QnG/FFn8EiFk+JQ2idrr+O0htv6wNPXWlWqGYB4qHqMFKsH0o37FyxOVjYPQ4QK1s1DAL9rNDNUSB8pqSss9BVNYddsJ0HqRDDDeL90bj6nXIvf6XI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+108603+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1694624869387444.95528679256256; Wed, 13 Sep 2023 10:07:49 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=ofakjYfWsPBmJFMqoB6IxfCyfa4azDa/opDufixZtM0=; 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=eqKCB9enWzndTg0WSK7nGUdmq7WBRCC9qlzGZnv045CaxaSSMzWmvIPs4/jyFhN1ybwXb86T mWbe/a+5GW6dl7GfM5dDhnyENU4WRmlyaHW0syN2aHTnzi5rOITr25599W8ddJ7yT3v3YLo0SkY Mhez3rcp/JGuMFC+3/FnAZTM= X-Received: by 127.0.0.2 with SMTP id iF7JYY1788612xQFwLcwd99z; 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: ApMK9hlF9qIbE4kgYoVaVUzxx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1694624871335100003 Content-Type: text/plain; charset="utf-8" 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.y= aml 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 w= ith one argument + # Replace ternary operator in debug string with single s= pecifier + 'Index =3D=3D COLUME_SIZE/2 ? " | %02x" : " %02x"': "%d" + } } } --=20 2.42.0.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- 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/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-