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 CC250D80186 for ; Thu, 7 Sep 2023 01:43:08 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=QjYDvwrKSS933S30KMUrsiA9euoLcgUQ1gc/BH0cy/w=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1694050987; v=1; b=DoxnmTXWjDptuCGkHyZ5bEGosROY8GyVNBkWTscil2LUZpOv3cryUN39sS4jzM6/Wdfq1qCj o0Zomod9lNdMfjJgBr/yvfIsO49jmttNdj+RX9hLjGI+53xd+KqiVk9A/xPzw0VH9/WO8+W5HIS nS8PKX3MFYxMYu335n4afRjg= X-Received: by 127.0.0.2 with SMTP id ifGrYY7687511x6aDWn6ZVLl; Wed, 06 Sep 2023 18:43:07 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.4168.1694050986789557890 for ; Wed, 06 Sep 2023 18:43:06 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="367454268" X-IronPort-AV: E=Sophos;i="6.02,233,1688454000"; d="scan'208";a="367454268" X-Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 18:43:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="988535243" X-IronPort-AV: E=Sophos;i="6.02,233,1688454000"; d="scan'208";a="988535243" X-Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga006.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 06 Sep 2023 18:43:02 -0700 X-Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Wed, 6 Sep 2023 18:43:02 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 6 Sep 2023 18:43:01 -0700 X-Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Wed, 6 Sep 2023 18:43:01 -0700 X-Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.177) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Wed, 6 Sep 2023 18:43:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TF3nKjFwXMBt++Mgr2B9iKq3AR6+fIObwY5RYIH1zlL0ugeyKbwxjUACpdP900OtBO61t8X7D7fWeVpdrjsbecLs8QKIJngIqHITrFCtk4mjS3/bzHb1AnnndaaIAUdxjyNWCCwwXmM7RqyWlXCYzUvo64sd5aw+ok1Eazj+OoDeIjwGH2aah3jG60utDD1csAAkcsKfP6bJXe/NyhnTgisP0cDIqh0wD1AGwzan/jpY7BaV53EIr9hzRh8QSqmUbJiqJkZXqVexh/ZpiZehClMk3InwaxK5z+u4Bxq3IeemDe0LzK3hyp7GynArG6/JbqM4dj2+wFuYhuoqaSOt8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fedmfQFbeMkynN6jAcqwF5wDqpM2nERsyxvI2/dsjjE=; b=mPbw/MVK/LmU1+wojSgGPc6gKX6hfBFTbx1PFBcfnfwUJcuY6qAX4Sj8CIwOEkvSsAWoF6VEfofkNK0OnEtFdenYcFEx89Dw6tAPQMa9A4PG2AA2WmUmp9zxOAq9OfYaqG4vUAVWNJGzlDCiBffPCrjISnRhOUAkJJhLaoa7eXqHR40EGl1L6/cEOF5IekhGh0iWRsK1v43IpC9J0/o1btOSVmyiopZ98jjuX5Sr01op/xzo8Fhg6TudaT2qjpEtrxscQEwxeWlq2mdx4C1hhBO9S2smr01G05k44k8fZ8aVG59RZHdad7EJ4+HcE/toBIZUvBJgtBH5W1R8+b/cEA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by SN7PR11MB6851.namprd11.prod.outlook.com (2603:10b6:806:2a3::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.27; Thu, 7 Sep 2023 01:42:59 +0000 X-Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::fdf8:dc0e:db69:f35b]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::fdf8:dc0e:db69:f35b%4]) with mapi id 15.20.6745.034; Thu, 7 Sep 2023 01:42:59 +0000 From: "Yao, Jiewen" To: "mikuback@linux.microsoft.com" , "devel@edk2.groups.io" CC: "Wang, Jian J" Subject: Re: [edk2-devel] [PATCH v1 3/7] SecurityPkg.ci.yaml: Add debug macro exception Thread-Topic: [PATCH v1 3/7] SecurityPkg.ci.yaml: Add debug macro exception Thread-Index: AQHZzvEEg3uBJ207n0e3G/8zGb3Ke7AOu1LQ Date: Thu, 7 Sep 2023 01:42:59 +0000 Message-ID: References: <20230814204859.257-1-mikuback@linux.microsoft.com> <20230814204859.257-4-mikuback@linux.microsoft.com> In-Reply-To: <20230814204859.257-4-mikuback@linux.microsoft.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5872:EE_|SN7PR11MB6851:EE_ x-ms-office365-filtering-correlation-id: 89293dd0-d0e9-4683-7fc0-08dbaf43c478 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: MtfaPj6ATb5xPfK4TC4HtHGG4k+csrmq+FlndeTGSQYNHa7ISBVK5Lba6rwgxj1FZzkERnM39/xeP3yrjUebFzU/jYbnPylWJ8+CUmDS0oClmNPffhKdiwzZMHxs6+NTLxTFw63Z+DDMQB1S9a4Da9bIMDuZz4BpDd5BJ5P0M/rtVkNo2sOgwjJHm6xVz6/VtpYMB7cB90rof+G5Bal4AR11pQ7rKecCcxiKwYN7+6Ny4M/vB3E9XF7WDMsynfxZs+j6Mf3gkG66FSPjVw9cmwcw6RmRC6+WErr82VRR9QaztBV7lzMMo3OtheeTdH8LKF9vLgoXeG0c4FaFN3RR5I8serMUr4csXKuEWUfhU1Jk5qNv4LGmc11SDMT3lKY+rbf9vWDvno82K1YcCOYYqb0x5Wihe4+MS882mfoUhF1aRGYPNNySu+4zKXAud0lCdJzmcV2/b2lSOa3X5jL4HKcdIF8k+EojonOC8Kq6kLURo2LDVS4twyRG605vyZNROlnwyVgim/TGZJpcwtjfBwO/uhfE1ogddNoxj4e4TdOaaFMv9EycYRMk1ndGoYAxEUPc7D3kSRSyMxAaN7+Vz0B/pPKj9YV3H/t+7kO7dcZV0ac11ioCr2EUZ5NVLRY7 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xZDqSiC+0Ai49VajOTWf5JYJWTfX+TvV3U+ghfkhRX6/CoGGBt1ybhFJfEkz?= =?us-ascii?Q?1woIkPATF82gW9c3wBimJsN8wHshK1OxFWjFEpqPp2o7OB5wWGNJIiY6dSHS?= =?us-ascii?Q?2/G+qcTZkUP9pXH3KXnaRrp1uW3OLAUHtZPghcbGwpKlslrfG/9cDNb4JasN?= =?us-ascii?Q?XbXpgD8vnsqrHHrnrJILbTRUgQUInsefk1C+MExJQh0+mXFBao2Jd/mjTGOG?= =?us-ascii?Q?tabULVpcf6EEmj8/Se36VKXUMg5nYviGNFvueyH3ubWuGoC36zeIrzjBZqud?= =?us-ascii?Q?I7zuT+yA7sONerd1mtPb1bvHpUHtgsAF30lWNQTxgArcn1L/FzbHFwBMIik6?= =?us-ascii?Q?tbmt7SkhsMzbBdJOMybXgZdi4LNILwE5xBeMv9RaK6S3kgl83yRCEiBFBeML?= =?us-ascii?Q?e6a2P1tH4UxfpMrA8KOM903sKFm6DBo61op9t3hFD5VLJtUQN9owDcsxBlHc?= =?us-ascii?Q?mdFypKDxFsvCGBeaNkcnl4Uxd/lJ3TrzPBp8GF6KqfPju90O8EoHNR2x0uOs?= =?us-ascii?Q?cykUnXmOBddyEPyrUzDqzwIjKx27c7ZG0FIUVmpxGC9VLES9IwaL4w85mYOZ?= =?us-ascii?Q?lGrAs72G4fJ+GuigFZDKrnJ4jaIe1d84arrja5p8BWvmaiOwXqTZtfoSZrz4?= =?us-ascii?Q?LD7L9od6mJ9sTiB8mjGJU+88OmFpWbJEATmCju4chHheh9TqjELQ6rHQWkeR?= =?us-ascii?Q?JpiwWye4uzv63X6qqQfWvEKImeDtsQgseCAXH7AexlN/lUQEmkN9vDDiKgSG?= =?us-ascii?Q?iQGdMkyG5lIsk6Avgc9JYMLyQN0lLwWa9QxE2p+IumZKYOpIwJLdcxcyuK+U?= =?us-ascii?Q?1KcnvQFDQWCCB7bLky9P3lW/Zu3AW79gZDvcg/Ek5FC978FbAal9gbT5KjzR?= =?us-ascii?Q?MkXPj6DnUmHqcLZVRMwbHo7/PIDxmjPCdkNadE/wvdm66SzLLmiDTpCqVXYL?= =?us-ascii?Q?yPyXDLMHWSD5z40qnmBmjDrbYT5/Z6oCnawhqi3uOGpvtP/u6VfQuN4i67/u?= =?us-ascii?Q?DJb36sBJdv9Zi5v2gt943keeqqPyo9LnpR3boaHOmCQXH0fDvDCceaMXRXLJ?= =?us-ascii?Q?2HrVHmqNekVbBUYNDe9UcZ0iB1/IS1tetvV4EqVza2gDmTIkD+8E4P3dJx7k?= =?us-ascii?Q?i7rDEt3jVVEDRuc13YLpSsvwu+dMiC48f88Xu6oapnenyx0vvbbBtP6obj1E?= =?us-ascii?Q?sd1RSSJkTX7sBaFyRkT/7Ew4q/zKWfJUYqkcoemAgMU29UkIRbgaDFIucW6A?= =?us-ascii?Q?gRE0k3AlmNtAwZpLGwRsCUFpA/ahraujPMYJqzh1/pVAAUEbbry6X+XkL4Sy?= =?us-ascii?Q?dNcvh+C68bvIL7Ti2HhAMFzPQsMT/giauR2qCs/Y3/P8n/KAE3ReudAVo0D+?= =?us-ascii?Q?t4IH6ACpqogjdc5f5cl2+hwMf5jdq7pf6vfSdpnIKWW8O2wKXxYPE+stodcw?= =?us-ascii?Q?dkaDlo3XSCC5E9STGzc1G/6NKvDaBTu7YDd5+/DsPwhHG3A5mdMYY44y3NiR?= =?us-ascii?Q?Pyxiy/GJ3Ijfa34YMeGzLC4b/nDEiVvxBbM2LWN3zeIqsms2b+eLdEeD+K2m?= =?us-ascii?Q?gvQfvkNY6bzumDmFOYku3126h6AbUg4VKAPlBhls?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89293dd0-d0e9-4683-7fc0-08dbaf43c478 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Sep 2023 01:42:59.6643 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: b2gg2KsrCLbKGyihplSq1PZnbB6CcyLGysB1NlOsso7fTCjbPo1RfkCKVeDkBAVHGQjfc/rhFA+LH3dWAV18ZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB6851 X-OriginatorOrg: intel.com 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,jiewen.yao@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: NWqhqKlVbr48VsSOODBHsfggx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" 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=DoxnmTXW; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Reviewed-by: Jiewen Yao > -----Original Message----- > From: mikuback@linux.microsoft.com > Sent: Tuesday, August 15, 2023 4:49 AM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Wang, Jian J > Subject: [PATCH v1 3/7] SecurityPkg.ci.yaml: Add debug macro exception >=20 > From: Michael Kubacki >=20 > Adds a CI YAML entry to acknowledge a case where a single argument > is matched to a format specifier with a ternary operator. >=20 > Cc: Jiewen Yao > Cc: Jian J Wang > Signed-off-by: Michael Kubacki > --- > SecurityPkg/SecurityPkg.ci.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) >=20 > 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" > + } > } > } > -- > 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 (#108351): https://edk2.groups.io/g/devel/message/108351 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-