From nobody Thu Nov 14 07:00:29 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+107738+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+107738+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1692046191; cv=none; d=zohomail.com; s=zohoarc; b=gPf5SnihxV0cwsjjKEYeVddIG5ACsau4OaDzUknbGaYsaL8zmvlVCY5jcvg6poICUYOeOFGBNJffMtQm+r0HqjXaY+Ao05O613J7P3L33VpuxXTH4e1iPbK6e+a4SVAcMqnxKrqkyp9QMCOALNq3ooeqsvssgs5LrhAtfHp57fY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692046191; 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=wTgcxlVLB4XAYOl33qOwS+pK6bTVEoR9CeriiWjX5VU=; b=KNpBF2c1bgKJTopwCqZCgFtps4NP6ZBMPDSuyTP+p2flxoSrvJ6lCnDrv3lViXOfby6OPlkz4HJGLGMNIZKW2A9sviYzFbJBRTvhVKkhYgLR6mpb6b3BAW3DNgZGpsB0P+cB9nY1q6P+Svn+G/W2WfXNxvnDWR7GT/bZbaroKT0= 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+107738+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 1692046191812567.4219765653559; Mon, 14 Aug 2023 13:49:51 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=W1pICgjAoVCR9xyphTKBHTvMjdJkZ3owfh/yMr6L2mk=; 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=Nuj+IrgmyewuDX+Fdl2OKTX4BiJ0FQcbJIvukQjYxfPX5SXu0Vc3nDg8qlQc4Y9Ea/TqPnzo rD+Xxj4meDEkk+des7ljgjlr92hUS3+JG2RAt09/0QY7xRZvdejBkVuplgTtyTa18v7m3aL176u AGrUjrSdyiCxCuzMNQh9vQJM= X-Received: by 127.0.0.2 with SMTP id QoDoYY1788612xvHxQZa0vMm; 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: z8UO1m2sZ4S5xmyYwcrNk66Px1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1692046192308100001 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.41.0.windows.3 -=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 (#107738): https://edk2.groups.io/g/devel/message/107738 Mute This Topic: https://groups.io/mt/100745703/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-