From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web10.3790.1650425986027605032 for ; Tue, 19 Apr 2022 20:39:46 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=FmfzQhiI; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: jiewen.yao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650425986; x=1681961986; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=C28utw4T0610fxjIXys8KzHDgEqAt8KP+ztajII/Opw=; b=FmfzQhiIQUrXXGlSkG7COE0+zIThYuhkq3edJy9UYPJvSxmKUZWS1Fkb kZp2mPbMqqMEq7YkgeDstl9j1cnrYNd5Z3CcH7wSNF6qp743mqtYaVnhY qctKq47HFJnQQYxfzaNKxvggTZWctRTtPAetV0Hgsc5UrLBWaqQ7cse9G bvDK63TelxJQGE1UCCLIDnfgJRFZPt2RgNrM5vo2ol72nagRy7mm1AYaW bz52A6v2VQXYxjyQyx05BevUnzwkwiSccBpEtvk+KdQ5Rnx6+2iNkVvk5 dvQrMdfvJhwQ28eTxZ052FbxGLDFgzKPkwKeCgGgbX+Kr54cDpAKpd3zu Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10322"; a="263392700" X-IronPort-AV: E=Sophos;i="5.90,274,1643702400"; d="scan'208";a="263392700" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2022 20:39:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,274,1643702400"; d="scan'208";a="702488311" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga001.fm.intel.com with ESMTP; 19 Apr 2022 20:39:45 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 19 Apr 2022 20:39:44 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 19 Apr 2022 20:39:44 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Tue, 19 Apr 2022 20:39:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SFVFTT9sKc/e27jMDdtiJnOi5bfyjIEnsv+t84oX3Hnkw3RKJqKzeOxBX6TJhzCcRpM3wCHCAK939blrv5sOZLQuudxuRUpBeiKZgEWia/YJxYQjwSOKSlYEWkjmfwk9L2YHhAfrBqaLjIJbhGE8aqWA4z8NmWy7+KM38zW1nFG1QYRgvQodcYWuC8lU5E8JED3imh13Hy8dbwHm+xi/rL2Y8fqFfF8g1FGLUNTy4tWeQLGFeCKe8ycraYWZf8NWCbQGmYxD53FlpbpuKQBFxWXso9GokjZKRUpyFmiVHWuybjXbHxqsNF393iEQYYf7xvZwx22t1NJ973hlsiH6nw== 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=INX9F1rkTNf+fJ8PF+khvbgl/9OEilbq9lYmBokOPwQ=; b=aIOQ3010JA6PDWd8gUTL/PRyDt0pnswTgwh9346bIJfwXlIiqFnl0P+Bv86OKq5+tFA/tM80+u/+CUjPKr72ArAGrKDtkz+SL2cwuJLnaNwfNCplg4/ype/LdREoBBu8mpoi916CCWQ7PdMrL/AGs1yfYBr6tN+DZ9o6Wudp3zw2PLHQCQiRrZBTfKcUbxldDQR5AlOqKMICNbyqTj/5MzPDXdrIDSxxowigAjbPQRpfWenuf8USz7YcqMVMCAqCo31GsPQGl6sFheKXre+2Q5PIwWvfnFd2HdBAcBItEsQjMzOa3nRW+G7vBGvLRVm1G6odTeTZMMV+uESV2KrghQ== 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 Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by BYAPR11MB2856.namprd11.prod.outlook.com (2603:10b6:a02:bd::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Wed, 20 Apr 2022 03:39:42 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::d55d:28c1:bfab:3dd]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::d55d:28c1:bfab:3dd%5]) with mapi id 15.20.5186.013; Wed, 20 Apr 2022 03:39:42 +0000 From: "Yao, Jiewen" To: "Tan, Dun" , "devel@edk2.groups.io" CC: "Wang, Jian J" , "Lu, Xiaoyu1" , "Jiang, Guomin" Subject: Re: [PATCH] CryptoPkg: Fix the build failure in CryptoPkg Thread-Topic: [PATCH] CryptoPkg: Fix the build failure in CryptoPkg Thread-Index: AQHYVGfWhyNrULlc9kOtD+q8pJmWSqz4J6FA Date: Wed, 20 Apr 2022 03:39:42 +0000 Message-ID: References: <20220420033527.752-1-dun.tan@intel.com> In-Reply-To: <20220420033527.752-1-dun.tan@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.401.20 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 93d5b848-eb61-4520-13c0-08da227f67db x-ms-traffictypediagnostic: BYAPR11MB2856:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MZaRjuuHzyWqANwiRtViq3JpQhEC+BUief8RrG8Wqs8+RPHDZPDZj7DD2IxYL9IU/0ktP6GLdYGAjAZGgduVzYC8TxzczL6vNy23GCbpLCVB5FGRSbcBXCT1RHxFxf0OmOZCZ68tRxhQWBkQ/3PehAhHdREYepcdW3zeWN4yQYerjA1IIqih4RpgHuG4Uy4wu4zgZH9QlsPfUpkEYS7eSWc8EyHMsftVO4g15G9jZLh9fgVgSnFoOyRNZtDWxviNa9dkICxB2pLcaOTWnuQ6sQ7ouJm0dk4517eREJF5tQW0HAjJ7IRiSo8EAc6qocZ/fynhxNcGxoXQsP9JmlEHfP7TaZ8uP4QU0UjqaTUwNZLlKpJpg0nH1haCAnWkzTAAS6reyhqi0xeZXYIXtKvq/iyxfb9UegANRYRojwlkJqdbh6uoBy1jatlk8lGPrS9/v+u1t23PMppgvLQnGmG1xUjKTOg42ajzf/4N+ZuAMKwUi+z9sHGRFg+79jIfLzk3XvvQSRKAMC+UVit2j8NmnOZwcFchf7IePzDjQtsugZ8Tppa/mVYpQHqVbP2MJDm9s0bIyE2y+rAIyxZ19QcDhdvsP5EwhsizqR62bp6Hlllk1pMYT0Oxh3tSeH2o1lSnART5NJMLbSeTp0OSgiMvE8+ecNvXPlPaHiObD+ZdzVb90bOQf99CAScsRNau40LA051ITmGVw2P/A9BPQFzmg0Fj2D0YR3U4WIodQmk6dP/CP/o9zeXqWPAIcc6+pOiXHHu3QimSFSLlprT4pTSKo1HcFqJSzXFAuEMjOAtQjbc= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5872.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(26005)(966005)(107886003)(186003)(38100700002)(122000001)(7696005)(83380400001)(66946007)(52536014)(110136005)(86362001)(5660300002)(66556008)(71200400001)(38070700005)(4326008)(8676002)(76116006)(66476007)(64756008)(66446008)(508600001)(54906003)(316002)(6506007)(55016003)(82960400001)(9686003)(53546011)(8936002)(33656002)(2906002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?EH5RV6hvi66oB+NwekSX8nYkSZJW8N371xdFgL3Wy7VoxM0gg/nA+ysZVr9C?= =?us-ascii?Q?JHQ+5Cig0NAEqNg3BLcTtlrRaez+cey7DdsDrIqAwe1dhNxuO+cGCP97c+3Q?= =?us-ascii?Q?jeFDHpFbzFIIZew90bTQa/sch1yqsEca8fpfoZpjSGiYSxvBnAoiLX4rQA5u?= =?us-ascii?Q?71O7MAAd89WQQ+F1x50ZfjnbkmmwFu+YblMmUR3vJkDJHLgPApxWG+ReOd8B?= =?us-ascii?Q?RO6VlozHj8Aq65URysJj8VbLZSaRv7sAJcz9ELiI5Jb9zzaCwKJElPi0m0ZU?= =?us-ascii?Q?BfagGZ4leRXubiHu0U/iPhOsR0bWNjaeX6144Gltf1LYEegvv+dOa+p6bdsC?= =?us-ascii?Q?/wYncQbCkjWB+dig2bSTbkGy0wsx6yeJ9nOJZjt8cuEYnk/A6DKt8fHxNKDE?= =?us-ascii?Q?O/6SziXSBBmrJRY53f6zTDCcILLWHtO3v/FTL8tPZwHYCTweD4wHpfiggXQd?= =?us-ascii?Q?W6nuE2sVo/C8YxZ6mqczy7w3kmHHc0rtsTlRXIydYMwO17wSNdU2k6bVk2fb?= =?us-asc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QrmVf97bJ1b?= =?us-ascii?Q?G5RfEIpkl8CpsVK7UwJgM+uW3uTfz4gI0jk2v2Haz+gwG/c7jQ1cTCQX/twr?= =?us-ascii?Q?DtEjONl6NAwwNpcuExwa6CdEVOlucbJ86dbydxIjH4ye8U7EKYMDBCjCageX?= =?us-ascii?Q?Ms0CdxQrDVj8lmfJdyo2TxFLrjvK3dnLo4bPfCAqF++7D2GZ6TF9kFYbyPjn?= =?us-ascii?Q?OIT2iaF8wp64hZ4rU1o8/0uXA9KW719QaSvjxRf17P4SvY4EyLtL9J6UY4eE?= =?us-ascii?Q?boK0bo08Obo2780bfgERMpHhEUspW37x3UzPAO+P7KxLLOecMnYU/derDtQx?= =?us-ascii?Q?muu7N/kXdw=3D=3D?= 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: 93d5b848-eb61-4520-13c0-08da227f67db X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2022 03:39:42.3698 (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: WPs2U6pG3rQUY3K0eExHCCIoF9lwsZSJ+/c2LMcK4A2JiYp1SZThi24/LCa519IGSrTYYD+WMhNXX/nP24/CJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2856 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi May I know if you have run EDKII CI for this patch?=20 > -----Original Message----- > From: Tan, Dun > Sent: Wednesday, April 20, 2022 11:35 AM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Wang, Jian J ; > Lu, Xiaoyu1 ; Jiang, Guomin > Subject: [PATCH] CryptoPkg: Fix the build failure in CryptoPkg >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3908 >=20 > Fix the build failure in CryptoPkg caused by this commit: > fab6285a73("CryptoPkg/CrtLibSupport: fix strcpy") > Remove the 'restrict' keyword which starts in VS2019. >=20 > Signed-off-by: Dun Tan > Cc: Jiewen Yao > Cc: Jian J Wang > Cc: Xiaoyu Lu > Cc: Guomin Jiang > --- > CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c | 2 +- > CryptoPkg/Library/Include/CrtLibSupport.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c > b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c > index 6fcbe5885e..68e21e8fb6 100644 > --- a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c > +++ b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c > @@ -267,7 +267,7 @@ strcspn ( >=20 > char * > strcpy ( > - char *restrict strDest, > + char *strDest, > const char *strSource > ) > { > diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h > b/CryptoPkg/Library/Include/CrtLibSupport.h > index bdc2654b6e..bce38eaa1a 100644 > --- a/CryptoPkg/Library/Include/CrtLibSupport.h > +++ b/CryptoPkg/Library/Include/CrtLibSupport.h > @@ -397,7 +397,7 @@ inet_pton ( >=20 > char * > strcpy ( > - char *restrict strDest, > + char *strDest, > const char *strSource > ); >=20 > -- > 2.31.1.windows.1